Skip to content

Record an object dataset#

This is the main workflow. At the end you have a BOP dataset with RGB and depth images from every camera, the object models, the calibration, and optionally ground-truth poses and masks.

You need: a published calibration for your cameras, a printed pose template with your objects, and the robot capture application launched and waiting on the KUKA controller.

Open Workflow → Record an object dataset. The step rail on the left shows where you are; you can click any step to review it.

1. Configure cameras and select calibration#

Step 1: cameras and calibration

  1. Start from a new run folder (top bar: open the Active acquisition run menu → Create new run folder, or Start with a new run folder on the workflow page).
  2. Tick Use for this recording for each camera. Check the alias, mounting, and image orientation for this run.
  3. Select a saved camera calibration. Only calibrations that match the selected cameras exactly (identity, resolution, mounting) are offered, newest first. Once saved, the top-bar Active calibration menu names the calibration this run uses on every page.
  4. Choose Frames per second. Only rates that every ticked camera supports at the chosen resolution are offered (RealSense D435 and OAK-D Pro: 6, 15 or 30 fps; ZED 2i: 15, 30 or 60 fps).
  5. Set the robot capture speed. Object datasets need at least 0.05 m/s, because slower motion makes the robot jitter.
  6. Save the setup.

You do not decide about ground truth here. Record first; step 6 lets you add it afterwards.

Note

Once the recording has been made, these settings are locked. To change cameras or calibration, start a new run folder.

2. Choose the pose template and placement#

Step 2: pose template

  1. Select the pose template that is physically printed and lying in the cell.
  2. Fill in Measured template position in the workcell: translation (X, Y, Z in mm) and rotation of the printed sheet relative to the template base frame. Ask your supervisor how this is measured in your lab.
  3. Confirm the placement. The Operator name is optional.

Place each object exactly on its printed outline.

3. Check readiness#

Step 3: readiness check

Click Check readiness. Every requirement must show a green check. Each red item has a link to the place where you can fix it. If you change the setup afterwards, run the check again.

4. Record the object dataset#

  1. Make sure the objects are on their outlines and the cell is clear.
  2. Click Review and start capture, check the run folder and speed in the dialog, tick the confirmation, and click Start recording.
  3. Supervise the robot until it finishes.

Step 4: recording finished

The raw recording (RGB, depth, timestamps, robot poses) is saved unchanged. Later processing never modifies or deletes it.

5. Process frames and create the base BOP export#

Step 5: processing

Click Process and export dataset. One background job runs four stages:

  1. Match camera frames to robot poses using their timestamps.
  2. Verify timestamp and match quality.
  3. Validate calibration and rectify the RGB-D frames.
  4. Copy models and write the base BOP dataset.

This takes a few minutes, depending on the number of frames. When it shows verified, the base dataset is complete.

6. Add optional BOP ground truth#

Step 6: ground truth

This step is optional: the base BOP dataset from step 5 is already complete. To add ground truth, choose a Ground-truth outcome (nothing is preselected):

Option You get Choose it when
Pose ground truth + scene_gt.json with object poses You need poses, or want depth evaluation
Pose ground truth + masks + object masks and visibility You want to run a pose estimator or compute BOP scores

Then click Generate pose GT or Generate pose + masks. Masks are rendered for every frame, so this can take a while. When it finishes, continue with pose estimation or evaluation.

To check that the objects line up with the images, open Inspect → Cell View or click Review dataset in Cell View.

Cell View

Capture a variant as a subrun#

To record the same objects and template again with a different material, lighting/environment, or another physical copy of the part, you do not need to repeat steps 1 and 2:

  1. In a captured dataset run, click New subrun from this run (step 4, step 6, or Run folders).
  2. Check what is reused: cameras, frame rate and speed, calibration, pose template, and the measured placement.
  3. Enter a Variant description, for example anodised aluminium, diffuse light, and accept or change the new folder name.
  4. Click Create subrun. The console switches to the new run at step 3.

The parent run is not changed. Each subrun has its own recording, processing, and BOP export. If the cameras, calibration, or template change, start a normal new run folder instead.

Common problems#

Problem What to do
No calibration is offered in step 1 No published calibration matches the selected cameras, resolution, or mounting. Check Calibrations, or calibrate
Readiness: camera blocked Turn off previews on Devices; look for a stuck job on Jobs
Readiness: "Setup changed after the last check" Click Check readiness again
Processing failed Open the job log on Jobs. The raw recording is safe; click Retry processing after fixing the cause
Objects in the overlay are offset The template placement (step 2) or object positions were wrong. Record again in a new run folder
Technical details

The run configuration (run_config.v4) uses timestamp_aligned synchronization: each camera records its own timestamps, which are matched to the robot pose stream afterwards without modifying raw data. Frames before and after the robot motion are kept as context and are not counted as synchronization failures. The export writes bop/bop_export_manifest.json (bop_export_manifest.v5). Ground truth adds scene_gt.json, and with masks also scene_gt_info.json, mask/, and mask_visib/.