Skip to content

Commit

Permalink
Adding background measurement.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Jul 31, 2024
1 parent 01d6d5d commit d3cbedc
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 170 deletions.
14 changes: 9 additions & 5 deletions configs/collect_dataset.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# python scripts/collect_dataset_on_device.py -cn collect_dataset

input_dir: data/celeba_mini
#input_dir: /mnt/mirflickr/all
input_dir: /mnt/mirflickr/10

input_file_ext: jpg

# can pass existing folder to continue measurement
output_dir: null
output_file_ext: png

# files to measure
n_files: 15
n_files: 5
start_idx: 0

# timing
Expand All @@ -21,10 +23,10 @@ dummy: False # simply copy file to output folder for testing
# ideal image levels
max_level: 254
min_level: 200
max_tries: 6
max_tries: 2

masks: null # for multi-mask measurements
recon: null # parameters for reconstruction (for debugging purposes, not recommended to do during actual measurement as it will significantly increase the time)
recon: null #ADMM # parameters for reconstruction (for debugging purposes, not recommended to do during actual measurement as it will significantly increase the time)

# -- display parameters
display:
Expand All @@ -41,11 +43,13 @@ display:
landscape: False # whether to force landscape

capture:
measure_bg: 2 # measure bg every x images
bg_fp: "black_background"
skip: False # to test looping over displaying images
config_pause: 3
iso: 100
res: null
down: 4
down: 8
exposure: 0.02 # min exposure
awb_gains: [1.9, 1.2] # red, blue
# awb_gains: null
Expand Down
Loading

0 comments on commit d3cbedc

Please sign in to comment.