pip install -r requirements.txt
If tkinter is not installed: sudo apt-get install python3-tk
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
python app.py --img path/to/img/ --result output.json
-
Next/Previous image - Q, W
-
Create Rectangle - 2 LMB clicks
- Move point - Drag point using LMB
- Rotate rectangle - Drag point using RMB
- Remove rectangle - Wheel click on point
- Fit image to the screen - S
- Hide figures - A
- Export annotations - E
- Mark image as trash - T
- Copy annotations from previous image - C
- At the corner and in the terminal you see current image ID
- Image annotations saved after moving to next/previous image or exporting annotations