SDKJava (Android) SDK

Overview

Android Java SDK: Capture & calibration overview

Current version · 2.0.0

Overview

Capture and calibration are two consecutive stages: complete capture as required by the algorithm, then start calibration with the completed capture session. Skeleton or retargeting output depends on both stages.

Choose a mode

NeedSetting
Let the SDK orchestrate capture and calibrationCalibrationMode.AUTO + CaptureInteractionMode.AUTO_TERMINAL
Let the app display capture prompts and buttonsCaptureInteractionMode.EXTERNAL
Control capture and calibration as separate stagesdevice.start(CalibrationMode.MANUAL) + explicit CaptureSession / CalibrationSession
Skip calibrationCalibrationMode.NONE
Check gesture posture quality independentlyStandalone CaptureQualitySession, without changing existing capture or calibration calls

Flow

  1. Select the target and build AlgorithmsConfig, passing CaptureConfig / CalibrationConfig as needed.
  2. Start the device and runtime.
  3. Show or respond to capture prompts according to the selected mode, then complete capture.
  4. Start calibration with the completed CaptureSession and wait for results.
  5. Check CalibrationReadiness or output state before reading skeleton / retargeting data.

Capture

Capture prompts are controlled by CaptureConfig. When the app displays prompts, pass new CaptureConfig(CaptureInteractionMode.EXTERNAL, false, operatorId) in AlgorithmsConfig; subscribe to device.captureProgress() for the current stage and submit only operations allowed by allowedOperations. See Capture.

Calibration

After capture completes, call device.startCalibration(...) with the same CaptureSession and wait for waitForResults() on a worker thread. On failure, show the current job error, correct the pose, input or delivery, and retry. See Calibration.

Configuration

AlgorithmsConfig(calibration, capture) takes both CalibrationConfig and CaptureConfig; null uses the matching defaults. The automatic workflow is driven by the start policy; use CalibrationMode.MANUAL and explicit sessions when the app needs separate control.