Here is a link to some Python Raspberry Pi Scripts I made that allow you to take images, videos, and timelapses. The scripts are easier to use than the command line because it automatically numbers the videos/pictures. It also has space for you to make desired camera settings changes. Currently the timelapse script takes a bunch of pictures and saves them individually, but I plan on making a version that threads them together into a video. The first two scripts require OpenCV to be installed on the Raspberry Pi (RPi). While OpenCV is a large library that takes a while to install, the capabilities of it outweighs this hassle. It may seem slightly overkill just for taking pictures and videos on the RPi, it seemed the only way to get user keypress input. It also enables many other functions like the tracking of molecular organisms. Here are the functions of the scripts in this repo: recorder.py: python script to record videos and/or take pictures with the Raspberry Pi Foldscope can customize the filetype and filename for the pictures/videos can save multiple pictures/videos with the same basic filename e.g. video_1.avi, video_2.avi etc. video_player.py: python script to play back a previously recorded video can navigate frame-by-frame forward and backward can save multiple pictures of the frames of the video timelapse.py: python script for taking timelapse pictures take pictures for set intervals of time with indexed name DOES NOT require OpenCV https://github.com/bfrieds/Foldscope-Raspberry-Pi I’m glad I finally got around to posting this. It’s been a while since I last got to use these, so there may be issues. I also plan on making a little tutorial on how to install OpenCV for anyone who may have trouble. Hopefully this will be helpful. Good luck! -Brian
Sign in to commentNobody has commented yet... Share your thoughts with the author and start the discussion!