Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created February 12, 2020 22:17
Show Gist options
  • Save itsderek23/42f83e98850ef5c9415ce1877e812b70 to your computer and use it in GitHub Desktop.
Save itsderek23/42f83e98850ef5c9415ce1877e812b70 to your computer and use it in GitHub Desktop.
python3 test.py
Using Custom Calibration File: depthai.calib
depthai.__version__ == 0.0.9a
depthai.__dev_version__ == c1082d5a67f724398b0617485076f0e34da1054f
depthai: before xlink init;
Device Found name 1.2-ma2480
about to boot device with "cmd_file": ./depthai.cmd
Device was booted with "cmd_file"
XLink initialized.
Successfully initialized Xlink!
I: [ 0] [Scheduler00Thr] eventReader:203 eventReader thread started
I: [ 0] [Scheduler00Thr] eventSchedulerRun:573 Scheduler thread started
Successfully connected to Device!
Loading config file
Attempting to open stream config_d2h
Successfully opened stream config_d2h with ID #0!
Closing stream config_d2h: ...
Closing stream config_d2h: DONE.
WARNING: Version (dev) does not match (e3fcdc46c6cf888d6dfd06a253b27482ba18b615 & c1082d5a67f724398b0617485076f0e34da1054f)
Available streams: ['previewout', 'metaout', 'left', 'right', 'disparity', 'depth_sipp']
CNN configurations read: ./resources/nn/object_detection_4shave/object_detection.json
Read: 36
config_h2d json:
{"_board":{"_homography_right_to_left":[1.0018019676208496,-0.0016685361042618752,-12.69032096862793,-0.004308837000280619,0.9969668388366699,19.132816314697266,9.777517107067979e-07,-1.0174683666264173e-05,1.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"metaout"},{"name":"previewout"},{"name":"meta_d2h"}]},"board":{"left_fov_deg":69.0,"left_to_rgb_distance_m":0.0,"left_to_right_distance_m":0.03500000014901161,"swap-left-and-right-cameras":false},"depth":{"padding_factor":0.30000001192092896}}
Attempting to open stream config_h2d
Successfully opened stream config_h2d with ID #1!
Writing 1000 bytes to config_h2d
!!! XLink write successful: config_h2d (1000)
Closing stream config_h2d: ...
Closing stream config_h2d: DONE.
Read: 14514560
Attempting to open stream inBlob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment