Skip to content

MrAsimZahid/Video-Clips-Grabber-Annotation-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Video Clips Grabber

Python/OpenCV based Video Player with keyboard and mouse controls. Useful for Research purposes, when one wishes to monitor the video frame by frame.

Directory Structure:

BallData
|
|___MatchName
|   |
|   |___Type(In Air)
|   |   |
|   |   |___InstanceNumber(1)
|   |   |   |___1.mp4
|   |   |___2
|   |   |  |___2.mp4
|   | |   |
|   |___Type(In Air)
|   |   |
|   |   |___InstanceNumber(1)
|   |   |   |___1.mp4
|   |   |___2
|   |   |  |___2.mp4
|   .   .  
.   .   .



Contributions are welcome!

To run the program:

$ python clips_grabber.py video_file.mp4

W/w: "Play"
S/s: "Stay" (Pause) [I like keeping things rhyming!]
D/d: "Next" (Next frame)
A/a: "Prev" (Previous frame)
F/f: "Fast" (Increase playing speed)
Q/q: "Slow" (Decrease playing speed)
C/c: "Snap" (Screenshot feature)
J/j: "In Air" (label 1)
K/k: "rolling" (label 2)
T/t: "timestamp" (Get current timestamp)
N/n: "Clear Timestamp" (Clear timestamp)

VideoPlayer designed by @maximus009

Releases

No releases published

Packages

No packages published

Languages