3D Hand Pose
By default, each user can submit up to 10 jobs concurrently. This limit applies across all API tokens on your account for model inference, video annotation and standalone 3D Hand Pose. Each accepted video in a batch uses one slot, including while it waits to run. Contact us for higher concurrency or faster processing.
Use your existing Datumwell API token at https://datumwell.io/api/v1. Single and batch jobs cost $3 per video hour. Each video can be up to 10 minutes and 600 MB.
Upload first-person footage of a single camera wearer’s hands to get 21 2D and 3D keypoints for each detected hand. 3D coordinates are camera-frame estimates using default intrinsics. Timestamps, source frame IDs, and hand track IDs are preserved within each video job.
Run your first video
Replace ./video.mp4 with your local video path. The script uses Python 3’s standard library and reads ROBOROUTER_TOKEN or prompts for it. It saves each page of keypoints as one line in hand-pose.jsonl.
curl -fsS https://datumwell.io/downloads/hand-pose.py -o hand-pose.py &&
RR_API="${RR_API:-https://datumwell.io/api/v1}" python3 hand-pose.py ./video.mp4 > hand-pose.jsonlUpload and process a video
- Save a UUID as the video job ID. Call POST /hand-pose/jobs/{id}/upload-session with filename, size_bytes, the full-file SHA-256 as sha256, and scope: egocentric_single_wearer.
- Split the file at the returned part_size_bytes. For each entry in upload.parts, PUT exactly size_bytes bytes for that numbered part using its URL and headers. Send the API token only to the API origin. After all parts arrive, call POST /hand-pose/jobs/{id}/upload-complete with generation.
- For a single video, call POST /hand-pose/jobs/{id}/process. Poll GET /hand-pose/jobs/{id}. The job can briefly show uploading after submission. Keep polling. On a 429 or 503 capacity refusal, wait for Retry-After and retry the same job UUID. For other 503 responses or timeouts, check the original job first.
A part starts at byte (number − 1) × part_size_bytes. After an interruption or URL expiry, call upload-session with the original UUID and metadata. Use received_parts to upload any missing parts.
Batch submission
Submit 1–10 confirmed upload UUIDs per request. The batch starts accepted videos. Save the idempotency key and body, and reuse both if the response is lost.
RR_API="${RR_API:-https://datumwell.io/api/v1}" &&
curl --fail-with-body -siS "$RR_API/hand-pose/batches" \
-H "Authorization: Bearer $ROBOROUTER_TOKEN" \
-H "Idempotency-Key: $SAVED_BATCH_UUID" \
-H 'Content-Type: application/json' \
--data-binary "{\"items\":[{\"job_id\":\"$FIRST_JOB_UUID\"},{\"job_id\":\"$SECOND_JOB_UUID\"}]}"Check each video’s admission and poll the batch summary or an accepted item’s status_url. Honor Retry-After when present. For a new submission of unaccepted videos, keep their original job UUIDs and use a fresh idempotency key. Submit to /hand-pose/batches/{batch_id}/items if a batch exists, or /hand-pose/batches if batch_id is null.
Read results and settlement
v3 returns one entry per displayed video frame. Use frame_id and timestamp (seconds) to align the hand keypoints with the video, including variable-frame-rate recordings. A frame with no available hand keypoints has an empty hands array. Each batch item has its own timeline.
Long and short videos use the same upload flow. When a job completes, start at GET /hand-pose/jobs/{id}/result?offset=0 and follow next_offset until null. The server measures the original video duration and charges the corresponding credits. Confirmed failures release reserved credits.