-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.yaml
32 lines (26 loc) · 1.07 KB
/
config.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
dir:
input: samples/
output: null # If not specified, outputs files to same dir as input.
file_ext:
input: .rgb.png # The files you want to apply distortion to
info: .info.json # Contains camera intrinsics
linear_interpolation: False # Enable Linear for RGB images. Else use nearest-neighbor for masks, normals and depth.
crop_and_resize_output: True # Disable to get original distorted image. Else output will be of same resolution as input.
workers: 0 # How many processes to use to convert files. 0 for all cores in machine.
distortion_parameters:
# Ref: https://docs.opencv.org/4.4.0/db/d58/group__calib3d__fisheye.html
# These are the distortion parameters of a fisheye camera model as defined in the fisheye module of OpenCV 4.4.0
k1: 0.17149
k2: -0.27191
k3: 0.25787
k4: -0.08054
crop_type: corner
# Hydra specific params.
hydra:
output_subdir: null # Disable saving of config files.
run:
dir: . # Set working dir to current directory
defaults:
# Disable log files
- hydra/job_logging: default
- hydra/hydra_logging: disabled