-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-dist.py
More file actions
57 lines (49 loc) · 1.78 KB
/
Copy pathconfig-dist.py
File metadata and controls
57 lines (49 loc) · 1.78 KB
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
# GPIO Config
led_pin = 27 # LED
btn_pin = 17 # pin for the start button
shutdown_btn_pin = 18 # pin for the shutdown button
print_btn_pin = 12 # pin for the print button
print_led_pin = 13 # pin for the print LED
# Config settings to change behavior of photo booth
# width of the display monitor
monitor_w = 800
# height of the display monitor
monitor_h = 480
# path to save images
# Should end with a "/"
file_path = '/home/pi/photobooth/pics/'
# True will clear previously stored photos as the program launches. False
# will leave all previous photos.
clear_on_startup = False
# how long to debounce the button. Add more time if the button triggers
# too many times.
# Time in milliseconds
debounce = 1000
# True to make an animated gif. False to post 4 jpgs into one post.
# Need GraphicsMagick -- http://www.graphicsmagick.org/
make_gifs = False
# adjust for lighting issues. Normal is 100 or 200. Sort of dark is 400.
# Dark is 800 max.
# available options: 100, 200, 320, 400, 500, 640, 800
camera_iso = 800
# full frame of v1 camera is 2592x1944. Wide screen max is 2592,1555
# if you run into resource issues, try smaller, like 1920x1152.
# or increase memory
# Should preserve the aspect ratio 4/3
# http://picamera.readthedocs.io/en/release-1.12/fov.html#hardware-limits
camera_high_res_w = 1296 # width (max 2592)
camera_high_res_h = 972 # height (max 1944)
# enable color on camera preview
camera_color_preview = True
# camera orientation
camera_landscape = False
# Configure sudoers on your system, to can execute shutdown whitout password
# Add this line in file /etc/sudoers
# myUser ALL = (root) NOPASSWD: /sbin/halt
enable_shutdown_btn = False
# Printing configuration
enable_print_btn = False
# Maximum number of prints for the same image
max_print = 3
# Debug mode
debug_mode = False