Skip to content

Capture images or video from a webcam connected to a Raspberry Pi that receives commands from an Android Phone over BlueTooth

Notifications You must be signed in to change notification settings

kimmcintyre/dashcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

dashcam

Synopsis

  • Capture images or video from a webcam connected to a Raspberry Pi that receives commands from an Android Phone over BlueTooth
  • Can be used to create timelapses or record car trips

Commands

capture : Captures a single image

repeat [seconds] : Captures an image over a period defined in seconds. Default is 15 seconds.

setTime [seconds] : Sets the duration for a recurring image capture

stop : Stops recurring image capture

record : Starts a video recording

end : Ends a video recording

exit : Terminates dashcam

help : Returns this help message

Requirements

  • Python 3
  • Raspberry Pi 3 (Tested on Model B V1.2)
  • openCV's cv2 module
  • pybluez's bluetooth module
  • Serial bluetooth Terminal App (On Google Play)

Additional Notes:

  • On Raspberry Pi, add the following line to the root user's crontab:
@reboot sleep 60 && usr/bin/python3 /home/pi/Documents/Projects/dashcam/dashcam.py >> ~/cron.log 2>&1

About

Capture images or video from a webcam connected to a Raspberry Pi that receives commands from an Android Phone over BlueTooth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages