Photo&Image

Connect to USB Cam


Command:

photo_now_usb *W *H *filename

*W *H = image width

*filename = myphoto [without extension]

image stored in folder :

/home/pi/Desktop/CBOT/DS/usb_cam/myphoto_date.jpg


PhotoCamera (Raspberry noIR Cam)

photo_now_noIR *W *H *flip *filename *data

*W *H = image width

*flip = H (horizontal image flip) V (vertical image flip )

*filename = myphoto [without extension]

image stored in folder :

/home/pi/Desktop/CBOT/DS/usb_cam/myphoto_date.jpg

*data = write day, month and year in filename

*data = date_on | date_off

Sgneep-Box-Script :

photo_now Example with USBCAM:

# ...
photo_now_usb 640x480 myphoto
# sleep 30
photo_now_usb 640x480 myphoto
# Result:
# two image stored in :
# /home/pi/desktop/CBOT/DS/usb_cam/myphoto_190209.jpg
# /home/pi/desktop/CBOT/DS/usb_cam/myphoto_190344.jpg

Example with noIRCam:

# ...
photo_now_noIR 640x480 null myphoto date_on
# sleep 30
photo_now_noIR 640x480 null myphoto date_on
# Result:
# two image stored in :
# /home/pi/desktop/CBOT/DS/usb_cam/myphoto_192209.jpg
# /home/pi/desktop/CBOT/DS/usb_cam/myphoto_192254.jpg
Powered by Sgneep.com