This is a collection of tools for chemorobotic platform used in the Cronin Group.
Each functionality comes with an example files in the examples folder. To test the examples, first download and install the library:
python setup.py install with appropriate rights. The go to the examples directory and follow the examples.
video_recorder allows to record a video from a webcam into a file asynchronously. This mean you can keep doing things while the video is recorded.
v4l2 is a simple python library to make system call to v4l2-ctl.
v4l2-ctl is tool to read and set parameters of video device, such as focus for webcam, see website: https://www.mankier.com/1/v4l2-ctl
The v4l2-ctl tool is used to control video4linux devices, either video, vbi, radio or swradio, both input and output. It is able to control almost any aspect of such devices convering the full V4L2 API.
It is a command line tools for linux. On ubuntu, it can be installed using apt-get:
sudo apt-get install v4l-utils
Example commands are:
- list all commands: v4l2-ctl -d 1 -l
- set focus_auto commands: v4l2-ctl -d 1 -c focus_auto=0
This tool allow to start an experiment with always the same webcam config, this is particularly helpful when there is autofocus involved that should be disabled and set manually.
droplet_tracking is a serie of tool to analyse image and video of droplets