Skip to content

wvuvl/snappy_annotator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snappy_annotator

Annotation tool specifically built for training on Pascal VOC data. Built upon the framework of AnnToolKit.

Quickstart: Controls

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

Quickstart: Setup

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'.

  1. 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
  2. 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.

Current Features

  • 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

About

Annotation tool specifically built for training on Pascal VOC data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages