https://github.com/ryanchao2012/cvtagging
A realtime tagging tool for videos based on OpenCV
https://github.com/ryanchao2012/cvtagging
labeling opencv realtime tagging tracking video
Last synced: 4 months ago
JSON representation
A realtime tagging tool for videos based on OpenCV
- Host: GitHub
- URL: https://github.com/ryanchao2012/cvtagging
- Owner: ryanchao2012
- License: mit
- Created: 2017-07-25T17:37:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T04:14:47.000Z (about 8 years ago)
- Last Synced: 2025-03-02T08:44:41.829Z (7 months ago)
- Topics: labeling, opencv, realtime, tagging, tracking, video
- Language: C++
- Size: 93.3 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cvTagging
A realtime tagging tool for videos based on `OpenCV`
## 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 `.tag`), the output format is: `label-name` `` `frame-number` `` `x` `` `y` `` `width` `` `height` per line.## Build
In prompt: `$ cd src && make`## Usage
1. In prompt: `$ ./e2tagging`
2. Start video playing by pressing `p`.
3. Press `p` to enter `tagging mode`.
3. Press `[`, `]` to switch label classes.
4. Use mouse(lift-button) to create bounding box of the tag.
5. Press `p` to continue video playing.
6. 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