This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
digit.yaml
58 lines (50 loc) · 1.67 KB
/
digit.yaml
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
# This is an example config file. Make sure to change gel and path specific variables depending on your measurements.
# Hydra-related configs
defaults:
- _self_
- override hydra/hydra_logging: disabled
- override hydra/job_logging: disabled
hydra:
output_subdir: null
run:
dir: .
# DIGIT config
sensor:
serial_num: "D00001"
resolution: "QVGA" # QVGA, VGA
fps : 30 # Max is 60
T_cam_offset: [ [ 2.22e-16, 2.22e-16, -1.00e+00, 0.00e+00 ],
[ -1.00e+00, 0.00e+00, -2.22e-16, 0.00e+00 ],
[ 0.00e+00, 1.00e+00, 2.22e-16, 1.50e-02 ],
[ 0.00e+00, 0.00e+00, 0.00e+00, 1.00e+00 ] ]
P: [ [ 2.30940108e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00 ],
[ 0.00000000e+00, 1.73205081e+00, 0.00000000e+00, 0.00000000e+00 ],
[ 0.00000000e+00, 0.00000000e+00, -1.04081633e+00, -2.04081633e-03 ],
[ 0.00000000e+00, 0.00000000e+00, -1.00000000e+00, 0.00000000e+00 ] ]
z_near: 0.001
z_far: 0.05
gel_width: 0.01835 # gel width (y-axis) in meters //original: 0.02
gel_height: 0.02460 # gel height (x-axis) in meters //original: 0.03
gel_thickness: 0.0046 # gel thickness in meters
gel_min_depth: 0.01954 # gel min depth in meters (max deformation)
mm_to_pixel: 17.15 # 1 mm = 17.15 pixels
ball_diameter: 6.0 # in mm
max_depth: 0.02076 # gel max depth in meters (min deformation)
# Depth configs
prefix: ""
random_seed: 0
save_csv: False
visualize:
normals: True
points3d: True
ellipse: True
dataloader:
batch_size: 1
shuffle: False
num_workers: 8
annot_flag: True
annot_file: "annotate.csv"
dataset:
dataset_type: 'imgs'
save_dataset: True
save_depth: True