Quickly annotate videos with bounding boxes for use in training object detectors and trackers. Keyboard commands for ease of navigation.
- Make sure
video-annotationis your root folder in MATLAB, and add all subfolders to path. - Videos go in
data/videos - Bounding boxes will be saved in
data/positive_examples
Use convert_to_MAT.m to convert your video file to a matfile. Make sure to configure the correct paths
The main file is KeyboardAnnotationSimple.m, which contains usage instructions.
g: move forward a frame in the videof: move backward a frame in the videoq: quitt: Track: If the current frame has a bounding box, This command will track the bounding box for the next k frames. If there is no bounding box in the current frame, then this command erases all the subsequent frames contiguous to the current one. You can change k by typing:1: changes k to 102: changes k to 203: changes k to 304: changes k to 405: changes k to 506: changes k to 607: changes k to 708: changes k to 809: changes k to 90
a: Annotate: Clicking onto the image counts as erasing the bounding box.