A realtime tagging tool for videos based on OpenCV
config.ini
:
InputVideo
: video sourceLabelFile
: classes to label (one class per line)OutputDir
: where(directory) to store the info of tags(filename will be<video-filename>.tag
), the output format is:label-name
<tab>
frame-number
<tab>
x
<tab>
y
<tab>
width
<tab>
height
per line.
In prompt: $ cd src && make
- In prompt:
$ ./e2tagging
- Start video playing by pressing
p
. - Press
p
to entertagging mode
. - Press
[
,]
to switch label classes. - Use mouse(lift-button) to create bounding box of the tag.
- Press
p
to continue video playing. - The tagging infos are automatically saved.
p
: toggle tagging/playing mode. In tagging mode, use mouse(left-button) to define the bounding box of the tag.,
,.
: switch between tags which are created.x
: delete tag which is selected.[
,]
: switch between labels(show at top-right corner).z
: print debug messages.w
,a
,s
,d
: move the bounding box up/left/down/right-ward of the selected tag.-
,+
: enlarge/shrink the bounding box of the selected tag.q
,ESC
: quit
OpenCV
, boost
libraries
- Add OpenGL support