RoboSkillHub
Catalog / Skills
skill

tracking-identical-parts-by-id

Keeps a stable id for each of many look-alike parts (dominoes, same-colour bricks, jigsaw pieces, cubes) across overhead frames while the arm covers and uncovers them - ByteTrack (Kalman box prediction, two-stage IoU matching that also uses low-score boxes) over a detector's boxes, one frame per call with the tracker state carried by the graph; reports parts that went out of sight and new ids born where a lost part was (a likely id switch). CPU only. Use when a graph must know which of several identical parts is which over time (checkpointing, backtracking, disturbance checks) and a per-frame detector alone renumbers them.

Kind
Skill · perceive: finds and measures things in the scene
Robots
any robot
Tasks
sorting pick-place domino jigsaw lego
Takes
prompts string
Gives
n_tracked int, n_lost int, n_detections int, reason string
Calls
grounding-dino, owlv2
Robot tools
robot.get_observation
License
MIT
Source
source on GitHub · SKILL.md · upstream code · https://arxiv.org/abs/2110.06864 · v0.1.0

Exits

What the skill reports when it ends; a policy branches on these.

tracks_updated Every track that was in view is matched (or new parts started tracks); `tracks` lists id, box, label, state (tracked / lost) and frames lost for every live part.
track_lost At least one tracked part had no box this frame (covered by the arm, picked, or missed by the detector); its id stays in `tracks` as lost at its last box for track_buffer frames and `lost_ids` names it.
id_switch_suspected A new track started within switch_radius (2.5) part sizes of where a lost part of the same label and size was last seen - probably that part, moved while covered; `suspected_switches` pairs new_id with lost_id. Decide which (re-identify, or accept the new id).
no_frame The camera had no RGB or the detector raised; nothing was tracked and `state` is returned unchanged.

Scripts

track_parts

Use it

Take this bundle (and the tools it calls) into a registry for your task, then point your policy generator at it:

git clone https://github.com/runtime-si/RoboSkillHub
cd RoboSkillHub && uv sync
uv run --no-sync roboskillhub search "keeps a stable id for each of many look-alike parts…" --why
uv run --no-sync roboskillhub view --bundles tracking-identical-parts-by-id --out my_registry

See Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.