Annotation tool specifically built for training on Pascal VOC data. Built upon the framework of AnnToolKit.
NOTE: Annotations are saved each time a label is changed or whenever a box is created, deleted, moved, or resized. New annotations are saved with the same name as the image without the extension, with '_annotations.xml' added to the end.
- Set annotation (bounding box) point: left click
- Pan: right click
- Zoom: mouse wheel
- Change images: left key/right key (or 'a'/'d')
- Go to next/previous un-annotated image: using up key/down key (or 'w'/'s')
- Set annotation class: '1'-'0' on keyboard (limit of 10/can be edited using 'configurations/classes.txt')
- Select annotation: left click while hovering annotation
- Select previous annotation: 'q'
- Select next annotation: 'e'
- Toggle labels (on screen) on/off: 't'
- Remove selected annotation: backspace
- Remove all annotations for image: delete
To download, use the following lines of code:
git clone https://github.com/facebookresearch/detectron2.git
pip install -r requirements.txt
For quicker startup, default settings are saved within two config files in the 'configurations' folder: 'classes.txt and configs.txt'.
- In 'classes.txt', the default classes can be set, where the first line references key 1, the second references key 2, and so on, with the 10th referencing key
- In 'configs.txt', the current default configurations are the path of the directory containing the files, the database to reference in the .xml files produced, and the default label when the program starts up.
- Saving and loading in Pascal VOC format
- Configurations can be saved to file to remove changing settings at startup each time
- Keybindings for quick labeling using number keys - makes for less time per annotation
- Note: code is set for using keys 1-0; current implementation uses keys 1-5
- Lists important information - current file name, keybindings, and number of annotations - on screen
- Annotations can be easily resized
- Annotations can be easily moved
- Annotations can be cycled through using keyboard presses, or simply selected using left click, in order to change previous labels quickly
- Annotations restricted to being within image dimensions
- Bounding box colors can be set for each label class (in code)
- Class labels for each annotation can be toggled on/off for viewing