pi updates
BIN
.images/1415546761/combined.jpg
Normal file
After Width: | Height: | Size: 330 KiB |
BIN
.images/1415546761/image1.jpg.filepart
Normal file
After Width: | Height: | Size: 384 KiB |
BIN
.images/1415549369/combined.jpg
Normal file
After Width: | Height: | Size: 177 KiB |
BIN
.images/1415549369/image4.jpg
Normal file
After Width: | Height: | Size: 746 KiB |
BIN
.images/1415549659/combined.jpg
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
.images/1415549659/image1.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
.images/1415549659/image2.jpg
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
.images/1415549659/image3.jpg
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
.images/1415549659/image4.jpg
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
.images/1415549877/combined.jpg
Normal file
After Width: | Height: | Size: 305 KiB |
BIN
.images/1415549877/image1.jpg
Normal file
After Width: | Height: | Size: 736 KiB |
BIN
.images/1415549877/image2.jpg
Normal file
After Width: | Height: | Size: 735 KiB |
BIN
.images/1415549877/image3.jpg
Normal file
After Width: | Height: | Size: 735 KiB |
BIN
.images/1415549877/image4.jpg
Normal file
After Width: | Height: | Size: 724 KiB |
0
.images/index.php
Normal file → Executable file
0
.pip/pip.log
Normal file → Executable file
0
OrignalImages/1415458989/combined.jpg
Normal file → Executable file
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
0
OrignalImages/1415458989/image1.jpg
Normal file → Executable file
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
0
OrignalImages/1415458989/image2.jpg
Normal file → Executable file
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
0
OrignalImages/1415458989/image3.jpg
Normal file → Executable file
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 195 KiB |
0
OrignalImages/1415458989/image4.jpg
Normal file → Executable file
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
6
Photobooth.py
Normal file → Executable file
@ -56,7 +56,7 @@ basewidth = 177 # Used for merging the photos onto one
|
||||
printPhoto = False
|
||||
TweetPhoto = True
|
||||
Combine = True
|
||||
imgPath = '/home/pi/.images/tmp'
|
||||
imgPath = '/home/pi/BoothPi/.images/tmp'
|
||||
|
||||
# Light big light
|
||||
GPIO.setup(buttonled, GPIO.OUT) ## Setup GPIO Pin 7 to OUT
|
||||
@ -104,7 +104,7 @@ def slideshow():
|
||||
|
||||
checkEvents()
|
||||
|
||||
randomFile = random_file('/home/pi/.images')
|
||||
randomFile = random_file('/home/pi/BoothPi/.images')
|
||||
|
||||
displayImage(randomFile)
|
||||
|
||||
@ -332,7 +332,7 @@ with picamera.PiCamera() as camera:
|
||||
time.sleep(5)
|
||||
|
||||
# Move the temp files to a new dir based on the current timestamp so they can be retrieved later
|
||||
os.rename(imgPath, '/home/pi/.images/' + str(int(time.time())))
|
||||
os.rename(imgPath, '/home/pi/BoothPi/.images/' + str(int(time.time())))
|
||||
|
||||
GPIO.output(buttonled, 1) ## Turn on GPIO pin 7
|
||||
|
||||
|
2
autostart.sh
Normal file → Executable file
@ -3,6 +3,6 @@
|
||||
# navigate to home directory, then to this directory, then execute python script, then back home
|
||||
|
||||
cd /
|
||||
cd home/pi
|
||||
cd home/pi/BoothPi
|
||||
sudo python Photobooth.py
|
||||
cd /
|
0
blank.jpg
Normal file → Executable file
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
0
blank_boarder.jpg
Normal file → Executable file
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
0
blank_noboard.jpg
Normal file → Executable file
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
0
ocr_pi.png
Normal file → Executable file
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |