ChaosAdm OP t1_iuekxi4 wrote
Reply to comment by michelin_chalupa in [D] How do I get certain number of frames before every point-of-impact in a tennis game video? by ChaosAdm
So... I am supposed to screenshot 20 frames before every impact frame manually? o_o
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.
ChaosAdm OP t1_iueptr6 wrote
Perfect! Thank you. I will try to do this tomorrow =)
Viewing a single comment thread. View all comments