forked from DLR-RM/BlenderProc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
82 lines (82 loc) · 1.78 KB
/
config.yaml
File metadata and controls
82 lines (82 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Args: <cam_file> <obj_file> <output_dir>
{
"version": 3,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py",
"python-dateutil==2.1",
"numpy",
"Pillow",
"opencv-contrib-python",
"scipy"
]
},
"modules": [
{
"module": "main.Initializer",
"config": {
"global": {
"output_dir": "<args:2>",
"resolution_x": 1280,
"resolution_y": 720
}
}
},
{
"module": "loader.SuncgLoader",
"config": {
"path": "<args:1>"
}
},
{
"module": "camera.CameraLoader",
"config": {
"path": "<args:0>",
"file_format": "location rotation/value _ _ _ fov _ _",
"source_frame": ["X", "-Z", "Y"],
"default_cam_param": {
"rotation": {
"format": "forward_vec"
},
"fov_is_half": true,
"interocular_distance": 0.05,
"stereo_convergence_mode": "PARALLEL",
"convergence_distance": 0.00001,
"cam_K": [650.018, 0, 637.962, 0, 650.018, 355.984, 0, 0 ,1],
"resolution_x": 1280,
"resolution_y": 720
},
}
},
{
"module": "lighting.SuncgLighting",
"config": {}
},
{
"module": "renderer.SegMapRenderer",
"config": {
"use_alpha": true
}
},
{
"module": "renderer.RgbRenderer",
"config": {
"render_distance": true,
"render_normals": true,
"stereo": true,
"use_alpha": true,
}
},
{
"module": "writer.StereoGlobalMatchingWriter",
"config": {
"focal_length": 650.018,
"enable_disparity_filter": false
}
},
{
"module": "writer.Hdf5Writer",
}
]
}