This tool is a lightweight, no-AI version of the annotation pipeline.
It supports:
extract: open a video (or image folder), split/export frames, and initialize dataset files.review: open a GUI to edit keypoints (frame navigation, add/delete/move points, category/point-id selection, save).
For input <name>, outputs are written to:
outputs/<name>/images/*outputs/<name>/center_points_masks_annotations.jsonoutputs/<name>/keypoints.json
The JSON structure is kept compatible with auto_annotation_pipeline.
python -u simple_annotation_kpt/main.py extract \
--input /path/to/video_or_image_folder \
--output outputs \
--frame-step 1python -u simple_annotation_kpt/main.py review outputs/<name>Q: quitA/D: previous / next frameS: savekeypoints.json1-5: set categoryZ/X/C/V: set point id to1/2/3/4Left click: select point and drag to moveCtrl + Left click: add point using current category and point idRight click: delete nearest point
Please follow these rules when annotating:
- Tool tip: use
Category 2 - Point 1. - Tool root/base: use
Category 2 - Point 2. - Racket: use
Category 1. - For the racket, label the four points from the top-left corner in counterclockwise order as
0, 1, 2, 3. - The model may swap pairs
0/1and2/3, so occasional swapped annotations are acceptable. - Cells: use
Category 3 - Point 1, and multiple points are allowed.

