projection_labeling_tool

Setup

pip install -r requirements.txt

If tkinter is not installed: sudo apt-get install python3-tk

Import data

If you have pre-annotated figures you need first to import them to the database

python import_annotations.py --ann data_to_import.json

You can use --overwrite flag if annotations for those images are already in database and you need to overwrite them

Annotate

python app.py --img path/to/img/ --result output.json

Usage

  1. Next/Previous image - Q, W

  2. Create Rectangle - 2 LMB clicks

Preview

  1. Move point - Drag point using LMB

Preview

  1. Rotate rectangle - Drag point using RMB

Preview

  1. Remove rectangle - Wheel click on point

Preview

  1. Fit image to the screen - S

Preview

  1. Hide figures - A

Preview

  1. Export annotations - E
  2. Mark image as trash - T
  3. Copy annotations from previous image - C
  4. At the corner and in the terminal you see current image ID
  5. Image annotations saved after moving to next/previous image or exporting annotations