update to fix sound & xmas boarder
This commit is contained in:
parent
5ce75ba1ac
commit
442ea1482a
@ -289,7 +289,9 @@ with picamera.PiCamera() as camera:
|
||||
displayStatus('')
|
||||
|
||||
# Start the camera preview
|
||||
camera.hflip = True
|
||||
camera.hflip = False
|
||||
camera.vflip = False
|
||||
|
||||
camera.start_preview()
|
||||
|
||||
# Make the destination path for the photos
|
||||
@ -313,7 +315,7 @@ with picamera.PiCamera() as camera:
|
||||
camera.annotate_text = ''
|
||||
#camera.resolution = (2560, 1920)
|
||||
camera.resolution = (1280, 960)
|
||||
os.system('mpg321 CSC.mp3 &')
|
||||
os.system('omxplayer CSC.mp3 &')
|
||||
camera.capture ( imgPath + '/image' + str(pNum) + '.jpg')
|
||||
time.sleep(3)
|
||||
|
||||
|
BIN
blank_xmas_boarder.jpg
Normal file
BIN
blank_xmas_boarder.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 361 KiB |
Loading…
x
Reference in New Issue
Block a user