Software to Draw Bee Flight Paths I wrote the software tracks.py that identifies and draws the bee flight paths one weekend. It is a primitive and experimental command-line program that requires Python (version 2.7 or newer, but will need fixes for Python 3), the Python Image Library, and the Numpy Python module. It only operates on images, and cannot read video formats. To convert video to a sequence of images I use ffmpeg. All of these packages run on Mac, Windows and Linux.
Here is a command example:
ffmpeg -i beevideo.mp4 image-%04d.png
python tracks.py image-%04d.png --start 1 --end 300 --animate
ffmpeg -i track-%04d.png beetracks.mp4
The first command turns the video into individual image frames, the second command draws bee flight lines, and the third command assembles the images with flight lines back into a video. The result beetracks.mp4 is a video with traced lines added for bee flight paths. An image file called tracks.png is also written that shows all the flight paths superpo