Overview
How capture and calibration divide the work, when the SDK guides them, and which entry to use.
Overview
The SDK separates three startup modes: CalibrationMode.AUTO orchestrates calibration, MANUAL lets the application call capture and calibration APIs, and NONE skips calibration. No-argument glove.start() remains automatic; a manual workflow starts the target device before creating a capture session.
Capture and Calibration are two consecutive stages with different purposes:
- Capture collects the SDK's fixed eight gestures, with 30 raw frames per gesture. All eight must complete before a reusable capture is saved; the included Skeleton provides the same plan and compatible algorithms can reuse the complete capture pool.
- Calibration uses that capture to compute, save, and apply a separate result for each selected algorithm package and target. Retargeting algorithms that require calibration produce valid target joint output only after this stage.
- Each algorithm package uses the motions it needs from the capture. Changing packages does not repeat physical capture when the wearer, source, hand side, glove, and wearing position are unchanged, although each algorithm still computes its own result; no separate calibration algorithm needs to be selected.
The default flow needs no orchestration of your own: the SDK checks whether the current wearer has a compatible result and, when it does not, organizes the required steps, shows the motion prompts and runs through guided capture interaction inside the normal start() → run_forever() → stop() lifecycle. "Automatic" means the flow is orchestrated by the SDK, not that the process is unattended: the wearer still has to complete the motions and confirm when asked.
Choose the behavior for each need below:
| Requirement | Behavior to use |
|---|---|
| First run or no compatible result for the current wearer | The SDK guides capture and calibration as needed, then continues retargeting |
| Compatible capture and calibration results exist for the current wearer | Automatically reused by default, without repeated capture or computation |
| Keep existing raw frames and only recompute calibration | Set CalibrationConfig(force=True) |
| Ignore reusable raw frames and perform a full recapture | Set CaptureConfig(force=True); the two-stage flow uses start_capture(force=True) |
| A GUI, ROS2, or remote program displays the prompts and buttons of the automatic flow | Use external interaction and map confirm(), retry(), cancel(); hand capture stages cannot use skip() |
| The application splits capture and target calibration into two business stages | See Starting capture manually, then continue to calibration |
| Check gesture posture quality independently | Create a standalone CaptureQualitySession and pass 30-frame hand pose windows without changing existing capture calls |
If an existing capture or calibration record is incomplete, corrupted, or incompatible, the SDK guides capture again; previously saved calibration results that remain valid are unaffected.