Sovereign 8s.is mirror of standardgalactic/tool-pose-annotation-gui
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-16 21:18:39 +00:00
src flipping y coordinate 2023-04-21 16:27:22 +01:00
.gitignore Initial commit 2023-03-14 11:31:57 +00:00
annotate.py update lablling display 2025-12-16 21:18:39 +00:00
demo.gif adding demo gif 2023-04-21 14:30:19 +01:00
LICENSE Initial commit 2023-03-14 11:31:57 +00:00
README.md update lablling display 2025-12-16 21:18:39 +00:00
requirements.txt updating labeling schema 2023-03-21 14:27:35 +00:00

Tool Pose Annotation GUI

Pose annotation GUI for laparoscopic surgical tools.

Usage

Clone this repo and install the dependancies...

git clone https://github.com/cai4cai/tool-pose-annotation-gui.git
cd tool-pose-annotation-gui
pip install -r requirements.txt

and then run the app...

python annotate.py --image-glob "images/*.png" --visualise-only

The images are found using the glob pattern provided with the --image-glob argument while the --visualise-only can be used to prevent accidently editing when reviewing annotations. The Left Arrow and Right Arrow keys scrolls through the images and the Scroll Wheel can be used to zoom out from the image to allow point placement outside the image. Left Click starts a new pose annotation or places a keypoint if one has begun. Right Click places an estimated point and then allows a point to be placed along the edge to this new estimated point. Middle Click ends the current pose annotation. Clicking an edge of an existing skeleton places a new visible/occluded transition point and updates the rest of the tags to fit. Finally Backspace can be used to delete the last image annotation. When you are finsihed annotating, the Esc key quits the application.