-
Notifications
You must be signed in to change notification settings - Fork 29
/
camera-config.example.yaml
40 lines (33 loc) · 1.58 KB
/
camera-config.example.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
#Photo Booth Config:
"CAMERA_BUTTON_PIN" : 21 # GPIO pin that is connected to 'take photo' button
"EXIT_BUTTON_PIN" : 13 # GPIO pin that is connected to 'exit' button (optional)
"TOTAL_PICS" : 4 # Number of pics to be taken
"PREP_DELAY" : 4 # Number of seconds as users prepare to have photo taken, before countdown commences
"COUNTDOWN" : 3 # Number of seconds to count down from
#GPIO Debounce Duration
# (This may help avoid "phantom presses" caused by electronic interference)
"DEBOUNCE_TIME" : 0.05 # Min duration (seconds) button is required to be "pressed in" for.
# Resolution of the photo booth display:
"SCREEN_W" : 800
"SCREEN_H" : 480
#Note:
# - Typical resolution of 5" screen: 800 x 480
# - Typical resolution of 7" screen: 1024 x 600
# Take photos at this resolution:
"PHOTO_W" : 1920
"PHOTO_H" : 1152
#Note:
# - The max resolution for PiCamera v2, is: 3280x2464 , assuming you are running the latest firmware.
# - To upgrade your firmware, please run:
# sudo apt-get dist-upgrade
# Camera setup
"CAMERA_ROTATION" : 270 # Rotation of the camera
"CAMERA_HFLIP" : True # When preparing for photos, the preview will be flipped horizontally.
# Primary folder to save images to (required):
"SAVE_RAW_IMAGES_FOLDER" : "photos"
# Additional locations where images will be saved to (optional):
# "COPY_IMAGES_TO" : ["photos-IN"]
# WARNING: THE ABOVE CAUSES AN ISSUE WITH AUTOSTART.
# TODO: FixMe
# Test purposes only:
"TESTMODE_AUTOPRESS_BUTTON" : False # Should the button be automatically pressed? (only used for testing)