Wiki

This version (07 Jul 2022 20:46) was approved by Harshvardhan Bhatia.The Previously approved version (07 Jul 2022 20:45) 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 (7 - qmp, 10 - mp)
  • --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-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

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.
  • Run the following command (Mode 10, 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

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

The .json file for the EVAL-ADTF3175D-NXZ module is tof-viewer_config.json

resources/eval/user-guides/eval-adsd3100-nxz-gui/datacollect_cli.txt · Last modified: 07 Jul 2022 20:46 by Harshvardhan Bhatia