Keypoint detect¶
Parameters¶
Detection run¶
detection_run_id · string · required
Detection run to place keypoints on (e.g. det_01). A method that works per detection crops each of its detections (and reads their masks if it uses them); a whole-frame method uses its frames. Keypoints are stored per frame with no subject: keypoint track gives each pose to a tracked animal.
Method¶
model_id · string · required
The keypoint method, by registered id (dinov3_match). No default: which method fits is a fact about the animal and the camera, and a default is where a wrong one hides.
Size / variant¶
model_variant · string
The method's size variant; omit for its default (dinov3_match: vit_large). For a method on a shared backbone this is the backbone's size.
Example set¶
example_set_id · string
The example set the method learns from (ex_NN): the marked frames of the skeleton to place. Required by a method that needs examples; refused by one that does not.
Minimum pose confidence¶
min_pose_confidence · number · range 0–1
Keep a pose only if the method's confidence in the whole animal is at least this. Only for a method that reports one (a trained pose model); omit for 0.25. Lower keeps more faint or partly hidden animals and more false ones. Poses below it are not stored, so changing it means running again.
Decode¶
decode · string
How a frame's candidates become points. 'skeleton' chooses jointly: the midline as a tree with edge lengths learned from the examples, left/right pairs as two distinct places (the default when the skeleton has edges). 'per_point' takes each point's best candidate on its own.
Left/right rule¶
side_rule · string
How a left/right pair is kept apart under the skeleton decode. 'auto' decides per pair from the example clicks (the default when the skeleton has a pair): 'midline' puts each member on its own side of the midline (right from above), 'hard' keeps their relative order across the body (right from the side). 'soft' only penalises a swap; 'off' ignores sides (the default without pairs).
Crop size (px)¶
crop_px · integer · range 64–1792
Side of the square crop around each detection's box the method matches in, in pixels; a multiple of the backbone's patch size (16). Omit for 448. Every animal is resized to this crop, so a patch is a fixed fraction of body size whatever the rig.
Use every¶
every_n_frames · integer · range ≥ 1
Use every Nth frame of the video. Omit to use every frame the detection run holds. Counted in source frames, so it must be a multiple of what detection used.
Batch size¶
batch_size · integer · default 16 · range 1–256
Frames per forward pass. Lower it if the method runs out of GPU memory; it never changes a result.