forked from jibbius/raspberry_pi_photo_booth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camera-config.yaml
29 lines (23 loc) · 1.1 KB
/
camera-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
#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)
#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.
# Take photos at this resolution:
"PHOTO_W" : 3280 # 1920
"PHOTO_H" : 1968 # 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
# Resolution of the photo booth display:
"SCREEN_W" : 800
"SCREEN_H" : 480
# Camera setup
"CAMERA_ROTATION" : 0 # Rotation of the camera
"CAMERA_HFLIP" : False # When preparing for photos, the preview will be flipped horizontally.
# Primary folder to save images to (required):
"SAVE_RAW_IMAGES_FOLDER" : "photos"
# Test purposes only:
"TESTMODE_AUTOPRESS_BUTTON" : False # Should the button be automatically pressed? (only used for testing)