Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A realtime tagging tool for videos based on OpenCV

License

NotificationsYou must be signed in to change notification settings

ryanchao2012/cvtagging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A realtime tagging tool for videos based onOpenCV

demo

Config File

config.ini:

  • InputVideo: video source
  • LabelFile: 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.

Build

In prompt:$ cd src && make

Usage

  1. In prompt:$ ./e2tagging
  2. Start video playing by pressingp.
  3. Pressp to entertagging mode.
  4. Press[,] to switch label classes.
  5. Use mouse(lift-button) to create bounding box of the tag.
  6. Pressp to continue video playing.
  7. The tagging infos are automatically saved.

Key Mapping

  • 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

Dependencies

OpenCV,boost libraries

TODO

  • Add OpenGL support

About

A realtime tagging tool for videos based on OpenCV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp