Web Video Labeler is a browser extension to step through videos and generate label annotations in formats ready for training.
- Draw and edit bounding box annotations on any
<video>
- Compatible with Chrome and Firefox
- Output annotations compatible Darknet (YOLO) and Pascal VOC XML
- Save locally or upload directly to AWS S3
- Object tracker follows labeled objects for semi-automated labeling
- Darknet output: combine multiple datasets
- Chrome: Download the latest
.crx
release from the Releases page. At the top right of Chrome, click → More tools → Extensions (or visit chrome://extensions), then drag and drop the downloaded.crx
package onto your browser. - Firefox: Download the latest
.xpi
release from the Releases page. Firefox will prompt you to install the extension.
npm install && npm run build
- Load the unpacked extension
- Chrome: Instructions on Chrome Developers (at the bit about navigating to
chrome://extensions
) - Firefox: Instructions on MDN
- Visit a web page with a video on it, such as on YouTube. A toolbar should appear at the bottom of your screen to manage the labeling process.
- Click LABEL to begin labeling the video.
- Draw and edit labels on the video using your mouse:
- When the frame is fully labeled, click NEXT to download the image and labels, and to skip the video forward.
- If object tracking is enabled, labels will attempt to follow their objects
- (Darknet output only) After all of the data is saved, run the downloaded script
prepare_darknet_training_data.py
to prepare the dataset with class IDs.
- Start/stop labeling
- Erase labels currently drawn on frame
- Undo saving last frame
- Step backward
- Step forward
- Open class manager, to remove or import lists of label classes
- Open settings menu
By default, labels will attempt to track the motion of whatever they are labeling (using dlib's correlation tracker). In most cases, this should be helpful (but not perfect), but it may cause performance issues or be inappropriate for your context. This feature can be disabled through the Settings menu.
Instead of saving to your local disk, image and annotation data can be saved directly to an AWS S3 bucket. This feature can be enabled through the Settings menu, and requires you to configure your AWS region, bucket, and access key ID and secret access key for authentication.