beelabhmc / ant_tracker

Track ant movement in a lab setting using ML
http://hmcbee.blogspot.com/
1 stars 1 forks source link

get first frame #2

Closed aryarm closed 5 years ago

aryarm commented 5 years ago

Can we give getFirstFrame.py a point in the video instead of having it get the first frame by default?

aryarm commented 5 years ago

best method: write a bash script that will call ffmpeg and use the parameter -ss to specify the second at which to get the frame and -vframes to specify the number of frames (source) this will likely be more robust to video formatting issues than getFirstFrame.py, since ffmpeg can handle almost any video format