pi updates

This commit is contained in:
Karl 2016-12-06 20:55:24 +00:00
parent 7a819537da
commit 434bbc99f1
30 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 KiB

0
.images/index.php Normal file → Executable file
View File

0
.pip/pip.log Normal file → Executable file
View File

0
.profile Normal file → Executable file
View File

0
CSC.mp3 Normal file → Executable file
View File

0
OrignalImages/1415458989/combined.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

0
OrignalImages/1415458989/image1.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

0
OrignalImages/1415458989/image2.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

0
OrignalImages/1415458989/image3.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

0
OrignalImages/1415458989/image4.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

6
Photobooth.py Normal file → Executable file
View 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
View 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
View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
blank_boarder.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

0
blank_noboard.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
ocr_pi.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

2
per.sh Normal file → Executable file
View File

@ -2,4 +2,4 @@
# launcher.sh
# navigate to home directory, then to this directory, then execute python script, then back home
sudo chmod 777 -R /home/pi/.images
sudo chmod 777 -R /home/pi/BoothPi/.images