Wiki

This version (07 Jun 2023 20:33) was approved by Harshvardhan Bhatia.The Previously approved version (06 Jun 2023 17:42) is available.Diff

Data Collect Command Line Interface (CLI)

Description

The Data Collect CLI can collect raw data from the depth module in .bin format. This be run through the Depth Compute CLI to convert to Depth, IR/AB(Active brightness), and XYZ frames

Flag descriptions:

  • --f : output data folder
  • --n : number of frames captured
  • --m : mode (Check correct mode numbers for your kit here: mode_table)
  • --wt : warmup time (seconds)
  • --ccb : stores ccb (Calibration parameters) file stored on NVM of imager module. Required for Depth Compute
  • --h : Call help string for all options

More information can be found in readme

EVAL-ADTF3175D-NXZ Example

Since the ADTF3175D eval kit works via ethernet over usb, the user must specify the static ip of the camera module

  • Open Command Prompt from start menu and move to bin folder in GUI install location.
  • Please check the serial number of your kit to run the correct command
    • Run the following command if your serial number starts with DV11 or CR: (lr-native (mp), 1 frame capture, get ccb):
      • data_collect.exe --f “data_output” --m 10 --n 1 --ccb ../crXXX.ccb --ip 10.42.0.1 tof-viewer_config.json
    • Run the following command if your serial number is similar to this 026am53200mb0ncca4 : (lr-native, 1 frame capture, get ccb) :
      • data_collect.exe --f “data_output” --m 1 --n 1 --ccb ../crXXX.ccb --ip 10.42.0.1 tof_crosby_adsd3500_new_modes_config.json

The get ccb flag is only required for the first capture. Once the ccb of your module is stored, it can be reused while running tofi_depth_compute.exe

EVAL-ADSD3100-NXZ and EVAL-ADTF3175-NXZ Example

Capture 1 mp frame

  • Open Command Prompt from start menu and move to bin folder in GUI install location.
  • Run the following command : (Mode 10 - MP, 1 frame capture, get ccb)
    • data_collect.exe --f “../data_output” --m 10 --n 1 --ccb ../crXXX.ccb tof-viewer-config-adtf3175.json
The .json file selected must correspond to your module:
  • EVAL-ADTF3175-NXZ : tof-viewer-config-adtf3175
  • EVAL-ADSD3100-NXZ : tof-viewer-config-adsd3100

  • Raw data is stored as bin files in user defined folder
resources/eval/user-guides/eval-adsd3100-nxz-gui/datacollect_cli.txt · Last modified: 07 Jun 2023 20:33 by Harshvardhan Bhatia