Viewing a single comment thread. View all comments

michelin_chalupa t1_iuekl9p wrote

The simple way would be to just annotate those impact frames. A more sophisticated way might involve tracking the ball, and annotating those frames where it’s estimated velocity is low (which will of course be noisy, depending on the angle of the camera wrt it’s trajectory).

If it were me, I’d just hunker down for an afternoon and manually annotate those impact frames.

2

ChaosAdm OP t1_iuekxi4 wrote

So... I am supposed to screenshot 20 frames before every impact frame manually? o_o

2

nins_ t1_iuen1e3 wrote

The manual annotation would involve you noting down the timestamps in a csv. Then you write a short script (I would do it with OpenCV) to read the video files, get 20 frames prior to each timestamp, save them as images into whatever directory structure you need.

Edit: MoviePy package will probably be easier than OpenCV for you.

5

ChaosAdm OP t1_iueptr6 wrote

Perfect! Thank you. I will try to do this tomorrow =)

2