- Developers
- Recordings
The recordings, frame by frame.
Everything the 20.20 unit's API streamed while it interpreted each of its videos, as files you can replay with any of the SDKs. Use them to build and test away from the line; the interpreter gives the same events from them as from the unit.
Files
| Source | Title | Length | Frames | World and cards | All layers | Interpreter |
|---|---|---|---|---|---|---|
| dry1 | Dry side · 1 | 30:07 | 9,057 | world 7.1 MB | full 131.4 MB | summary |
| dry2 | Dry side · 2 | 29:52 | 8,986 | world 6.1 MB | full 129.5 MB | summary |
| aug28 | Line A · 28 Aug | 1:01:52 | 18,560 | world 23.0 MB | full 353.7 MB | summary |
| jul30 | Line A · 30 Jul | 1:18:38 | 23,591 | world 26.9 MB | full 450.9 MB | summary |
The format
NDJSON, gzip-compressed. The first line is a header: the source's catalog entry, the build and model, the layers kept and what was removed. Every other line is either a frame exactly as the API sends it (Frame in the spec; layers the unit sent late are put back in place) or a side event of the stream: {"sse": "clock" | "worker" | "gap" | "reset", "data": …, "recv": …}.
from pdigger_factory_sdk import Replay
replay = Replay.open("https://factory.pdigger.com/developers/data/dry1.world.ndjson.gz")
for activity in replay.activities():
print(activity.describe())
Test against them
Each recording's summary is the reference interpreter's account of it: frames, moves, push bursts, events and how long each hand spent in each state. Every SDK reproduces it exactly. Download the files into one folder and point the SDKs' recording tests at it with PDIGGER_FACTORY_RECORDINGS.
mkdir recordings && cd recordings
curl -O https://factory.pdigger.com/developers/data/dry1.world.ndjson.gz
curl -O https://factory.pdigger.com/developers/data/dry1.summary.json
cd .. && PDIGGER_FACTORY_RECORDINGS=$PWD/recordings make integration
What is removed
The files keep what the interpreter needs and leave out what could identify a person: face keypoints (joints 0 to 4 and 69) are null, and the appearance masks and depth textures are removed. The header lists every removed field. No camera images are published.
- World and cards: the interpreter's layers, for events, activities, stones and hands.
- All layers: also the model packet, the overlay and the scene, for drawing and for the codec.
The demo's windows
The API demo plays these short windows with every layer and the render replies the unit gave for them; its live camera loops the aug28 window at 1.0×.
- aug28 · Line A · 28 Aug: 21:10 to 21:40, 150 frames, 750 render replies (frames, renders)
- jul30 · Line A · 30 Jul: 27:10 to 27:40, 150 frames, 750 render replies (frames, renders)
- dry1 · Dry side · 1: 1:15 to 2:15, 300 frames, 1500 render replies (frames, renders)
- dry2 · Dry side · 2: 9:40 to 10:00, 101 frames, 505 render replies (frames, renders)