TruehandsDocs
engine 0.4.0 API Back to site

DocsTruehands Data

Delivery format for Truehands Data

How first-person video collected by Truehands reaches a robotics lab: what is in a delivery, in which format, and how every delivered hour is shown to be audited.

What a delivery is#

Footage is collected first in Kyrgyzstan, then Kazakhstan, in homes and workplaces such as garment workshops, kitchens and repair shops. Contributors wear a phone on the head that records video and its motion-sensor log. Every hour is audited by Truehands Audit before it is delivered.

A delivery is a folder in the program-folder format the Truehands engine reads, so a lab can check what it received with the same open engine, or load it with the same code it uses for any other audited batch:

Text
delivery-<order>-<batch>/
  program.json                      the batch: task list, collection window, capture app
  manifest.csv                      one row per clip
  clips/<clip_id>.mp4               video
  imu/<clip_id>.csv                 motion-sensor log, one per clip
  attestations/<clip_id>.json       signed capture documents, once the capture app signs on the device
  devices.json                      enrolled device keys, with signed capture
  audit/audit.json                  the audit of every delivered clip
  audit/report.html                 the same audit as one self-contained page
  audit/usage.json                  audited hours, the engine version and the SHA-256 of audit.json
  consent/records.csv               consent and rights records, one row per record
  SHA256SUMS                        SHA-256 of every file above

Delivery is by transfer to the lab's storage (to agree: an S3 bucket in the lab's account, or another transfer).

Video#

PropertyValue
ContainerMP4, one video stream.
CodecH.264 or HEVC, as the phone records it.
Frame rateAs captured, not resampled. Each clip's declared rate is in audit.json (measure.fps_declared).
ResolutionAs captured, not scaled; portrait clips keep the phone's display rotation. Width and height are in audit.json (measure.width, measure.height).
Clip lengthSegments of a length set per order (to agree); never longer than 1 hour.
AudioTo agree: removed, or kept where the lab's consent terms cover it.
FacesFaces of bystanders are blurred.
Length measuredFrom the video stream: frame count over frame rate, never more than the stream's timestamps. Hours in a delivery are the sum of these lengths.

Blurring bystanders' faces re-encodes the video, so the delivered file's stream hash differs from the recording's. To agree: the audit runs on the recording as captured, and audit.json records that recording's stream hash and signature; SHA256SUMS covers the delivered files.

Motion-sensor log (IMU CSV)#

One CSV per clip, with a header row and one row per sample:

ColumnUnitMeaning
tsecondsTime from the clip's first video frame. Strictly increasing.
gx, gy, gzrad/sGyroscope: rotation rate around the phone's x, y and z axes.
ax, ay, azm/s²Accelerometer, as the phone reports it (to agree: with or without gravity).
CSV
t,gx,gy,gz,ax,ay,az
0.0028,-0.01545,-0.00373,-0.04101,-0.46687,-1.44370,-9.67138
0.0078,-0.02823,0.00639,-0.03515,-0.49919,-1.42575,-9.71806

The sample rate is the phone's (the engine accepts 20-2000 Hz) and the log covers the whole clip (the engine needs at least 50%). Axes follow the phone's own sensor frame (to agree: the convention per platform, and the phone's mounting on the head). The audit checks every log against the camera motion in the video; see the sensor check.

Manifest#

manifest.csv has the columns the engine reads, plus delivery columns (to agree):

ColumnMeaning
clip_idUnique within the order.
contributor_idA pseudonymous contributor id. No names; consent records link to it.
device_idThe recording phone.
claimed_taskOne of the order's tasks (in program.json).
submitted_atWhen the clip was submitted, ISO 8601 with a time zone.
fileclips/<clip_id>.mp4
imu_fileimu/<clip_id>.csv
attestation_fileattestations/<clip_id>.json, once the capture app signs on the device.
environmentTo agree: home or workplace, and its kind (kitchen, garment workshop, repair shop…).
countryWhere it was recorded.

The per-hour audit report#

Every delivered clip comes with its audit, so every delivered hour can be checked: not a copy of earlier footage, not a public dataset, not padded with idle time, loops or slowed playback. audit/audit.json is the engine's own output, the same file a local audit writes.

Which clips are delivered. Clips with the verdict accept. To agree: clips at partial, trimmed to their payable seconds, or left out. Clips at review are delivered only after a person has decided them; reject is never delivered.

Top level

FieldMeaning
programThe batch's program.json.
engineversion, measure_spec, canonical_spec, features_spec, and model_sha256: the SHA-256 of the CLIP weights used.
summaryTotals for the batch (below).
clipsOne entry per clip (below).
references, references_skippedThe public-dataset reference videos the clips were matched against.

Per clip

FieldMeaning
clip_id, contributor_id, device_id, claimed_task, submitted_at, fileFrom the manifest.
duration_sSeconds measured from the video stream.
statusaccept, partial, review or reject.
payable_sSeconds worth paying for: the full length when accepted.
billable_sSeconds the audit covered.
reasonsFindings, each with code, severity, detail and evidence. Empty for an accepted clip.
signalsEvery continuous measurement: copy coverage and distinctness against the closest earlier clip and the closest reference video, idle seconds, repeated seconds, the task rank, the sensor correlation, attested.
taskThe claimed task's rank and probability among the order's tasks, the top three, and how close the clip is to the other clips claiming the task.
idleIdle runs and the per-second motion trace.
imuThe gyro-against-video correlation, lag and both series.
facesFaces found on sampled frames, one every 2 s (at most 60 a clip), by the face model that blurs evidence frames: sampled_frames, frames_with_faces and max_faces (the most faces on one frame). null when the clip was not analysed or its faces could not be counted. It changes no verdict.
shared_device_withOther contributors who used the same device.
source_sha256SHA-256 of the file as recorded.
canonical_sha256SHA-256 of its video stream: the identity used to find copies.
measureHow the length was measured: seconds, packets, fps_declared, seconds_from_frames, seconds_from_timestamps, container_seconds, timing_mismatch, codec, width, height, and from the same probe rotation (the display rotation in degrees) and has_audio.
provisionaltrue for the engine's own verdict; a person or policy may have decided it since.

Summary: clips, contributors, submitted_s, billable_s, billable_hours, accepted_s, rejected_s, held_for_review_s, idle_removed_s, flagged_share, status_counts, reason_counts, the contributor graph (edges: shared footage and shared devices) and per-contributor totals (contributor_stats). Pay fields (pay_requested_usd, pay_blocked_usd, pay_held_usd) refer to contributor pay.

Scope of "unique". Each clip is compared with every earlier clip of the collection, as it is, mirrored, reversed and at 0.5-2× speed, and with a reference library of public datasets. To agree: the public datasets the lab wants covered, and comparison with earlier deliveries to the same lab. The benchmark says what the checks catch and what they miss.

audit/usage.json carries the SHA-256 of audit.json, which ties the delivered hours to this exact audit.

Consent and commercial rights are documented for every contributor and for every household or workplace where footage is recorded. consent/records.csv lists them, one row per record (to agree: the exact columns):

ColumnMeaning
record_idThe record.
kindcontributor, household or workplace.
contributor_idThe contributor it covers, or who recorded in that household or workplace.
scopeWhat was consented to: recording, the use of the footage to train robots and models, delivery to the lab, and the commercial rights granted.
signed_atWhen.
languageThe language of the form signed.
document_sha256SHA-256 of the signed document, kept by Truehands (to agree: whether copies are delivered, and how).

Bystanders are not asked for consent; their faces are blurred. To agree: how a contributor's withdrawal of consent is passed on after delivery.

Ordering pilot hours#

Pilot orders start at 100 hours, priced per hour to the lab's spec: environments, task mix, clip length and annotation. To reserve pilot hours or comment on this draft: founders@truehands.io.