Created
February 14, 2021 16:03
-
-
Save LaurentBerger/71c4df503b6b391d5bcee49caa1287c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Windows [version 10.0.19041.804] | |
(c) 2020 Microsoft Corporation. Tous droits réservés. | |
C:\Users\Laurent>G:\Lib\depthai\run_tests.py | |
No calibration file. Using Calibration Defaults. | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
←[92mCompiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines ←[0m | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['meta_d2h', 'metaout'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"meta_d2h"},{"name":"metaout"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1650 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Host stream start:meta_d2h | |
Opening stream for read: meta_d2h | |
Attempting to open stream meta_d2h | |
Successfully opened stream meta_d2h with ID #2! | |
Starting thread for stream: meta_d2h | |
Host stream start:metaout | |
Opening stream for read: metaout | |
Attempting to open stream metaout | |
Started thread for stream: meta_d2h | |
Successfully opened stream metaout with ID #3! | |
Starting thread for stream: metaout | |
depthai: INIT OK! | |
Started thread for stream: metaout | |
meta_d2h Temp CSS: 33.45 MSS: 31.77 UPA: 32.25 DSS: 32.25 | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
←[31mF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
←[0m | |
←[31mF: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
←[0m | |
←[35mE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
←[0m | |
←[35mE: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1←[0m | |
←[35mE: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1←[0m | |
←[35mE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
←[0m | |
←[35mE: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3←[0m | |
←[35mE: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3←[0m | |
←[35mE: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime))←[0m | |
Device get data failed: 7 | |
Closing stream meta_d2h: ... | |
←[35mE: [global] [ 0] [] XLinkReadData:156 WinCondition failed: (addEventWithPerf(&event, &opTime))U←[0m | |
sDevice get data failed: 7 | |
Closing stream metaout: ... | |
bClosing stream meta_d2h: DONE. | |
_WriThread for meta_d2h finished. | |
tePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
←[35mE: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
←[0m | |
←[35mE: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed←[0m | |
WClosing stream metaout: DONE. | |
inUThread for metaout finished. | |
sb_WStopping threads: DONE 0.075s. | |
Closing all observer streams: ... | |
rClosing stream host_capture: ... | |
itePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
←[35mE: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
←[0m | |
←[35mE: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed←[0m | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
←[35mE: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
←[0m | |
←[35mE: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed←[0m | |
Reseting: DONE. | |
py: DONE. | |
Test meta_d2h,metaout: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['previewout'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"previewout"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1633 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #2! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(0, 0), max_size(0, 0) | |
Host stream start:previewout | |
Opening stream for read: previewout | |
Attempting to open stream previewout | |
Successfully opened stream previewout with ID #1! | |
Starting thread for stream: previewout | |
depthai: INIT OK! | |
Started thread for stream: previewout | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream previewout: ... | |
Closing stream previewout: DONE. | |
WThread for previewout finished. | |
inUsStopping threads: DONE 0.054s. | |
bClosing all observer streams: ... | |
_WClosing stream host_capture: ... | |
ritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test previewout: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['left'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"left"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1627 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Host stream start:left | |
Opening stream for read: left | |
Attempting to open stream left | |
Successfully opened stream left with ID #2! | |
Starting thread for stream: left | |
depthai: INIT OK! | |
Started thread for stream: left | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream left: ... | |
Closing stream left: DONE. | |
WThread for left finished. | |
inStopping threads: DONE 0.065s. | |
UClosing all observer streams: ... | |
sClosing stream host_capture: ... | |
b_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test left: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['right'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"right"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1628 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Host stream start:right | |
Opening stream for read: right | |
Attempting to open stream right | |
Successfully opened stream right with ID #2! | |
Starting thread for stream: right | |
depthai: INIT OK! | |
Started thread for stream: right | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
Closing stream right: ... | |
WF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 iDuplicate id detected. | |
nU | |
sbE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 _Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
W | |
rClosing stream right: DONE. | |
itThread for right finished. | |
eE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
P | |
ipeStopping threads: DONE 0.018s. | |
: Closing all observer streams: ... | |
SyClosing stream host_capture: ... | |
sE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 teAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
m | |
eE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 rrAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
3E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 1Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
WinUsb_WritePipe failed with error:=31 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test right: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['depth'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"data_type":"uint16","name":"depth"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1649 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Host stream start:depth | |
Opening stream for read: depth | |
Attempting to open stream depth | |
Successfully opened stream depth with ID #2! | |
Starting thread for stream: depth | |
depthai: INIT OK! | |
Started thread for stream: depth | |
=== New data in observer stream host_capture, size: 1 | |
Writing 1 bytes to host_capture | |
!!! XLink write successful: host_capture (1) | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream depth: ... | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 WiAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
n | |
UClosing stream depth: DONE. | |
sThread for depth finished. | |
b_Stopping threads: DONE 0.063s. | |
WritePipe: SystClosing all observer streams: ... | |
emClosing stream host_capture: ... | |
err 433 | |
WinUsb_WritePipe failed with error:=433 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test depth: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
WARNING: Depth calculation with disparity/disparity_color streams is not supported! Disabling calc_dist_to_bb | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['disparity'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"disparity"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":false,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1633 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Host stream start:disparity | |
Opening stream for read: disparity | |
Attempting to open stream disparity | |
Successfully opened stream disparity with ID #2! | |
Starting thread for stream: disparity | |
depthai: INIT OK! | |
Started thread for stream: disparity | |
=== New data in observer stream host_capture, size: 1 | |
Writing 1 bytes to host_capture | |
!!! XLink write successful: host_capture (1) | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream disparity: ... | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 WiAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
n | |
UClosing stream disparity: DONE. | |
sbThread for disparity finished. | |
_WStopping threads: DONE 0.038s. | |
riClosing all observer streams: ... | |
tClosing stream host_capture: ... | |
ePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test disparity: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
WARNING: Depth calculation with disparity/disparity_color streams is not supported! Disabling calc_dist_to_bb | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['disparity_color'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"disparity"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477056,"blob1_size":0,"calc_dist_to_bb":false,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1633 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477056 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477056 bytes to inBlob | |
!!! XLink write successful: inBlob (14477056) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(159, 39), max_size(321, 321) | |
Opening stream for read: disparity | |
Attempting to open stream disparity | |
Successfully opened stream disparity with ID #2! | |
Starting thread for stream: disparity | |
depthai: INIT OK! | |
Started thread for stream: disparity | |
=== New data in observer stream host_capture, size: 1 | |
Writing 1 bytes to host_capture | |
!!! XLink write successful: host_capture (1) | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream disparity: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 WDuplicate id detected. | |
i | |
nE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 UAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
sb_Closing stream disparity: DONE. | |
WrThread for disparity finished. | |
iE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 tAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
eP | |
iStopping threads: DONE 0.029s. | |
peClosing all observer streams: ... | |
:Closing stream host_capture: ... | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 SAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
y | |
stE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 eAssertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
m | |
err 31 | |
WinUsb_WritePipe failed with error:=31 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test disparity_color: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 12 shaves, 12 cmx_slices and 1 NN_engines | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['object_tracker'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.json | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"object_tracker"}]},"ai":{"NCEs":1,"NN_config":{"NN_family":"mobilenet","confidence_threshold":0.5,"output_format":"detection"},"blob0_size":14477504,"blob1_size":0,"calc_dist_to_bb":true,"camera_input":"rgb","cmx_slices":12,"keep_aspect_ratio":true,"num_stages":1,"shaves":12},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1637 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 14477504 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 14477504 bytes to inBlob | |
!!! XLink write successful: inBlob (14477504) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/mobilenet-ssd/mobilenet-ssd.blob.sh12cmx12NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 300, Width : 300] | |
Output layer : | |
Name: detection_out | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 100, Width : 7] | |
CNN to depth bounding-box mapping: start(0, 0), max_size(0, 0) | |
Host stream start:object_tracker | |
Opening stream for read: object_tracker | |
Attempting to open stream object_tracker | |
Successfully opened stream object_tracker with ID #2! | |
Starting thread for stream: object_tracker | |
depthai: INIT OK! | |
Started thread for stream: object_tracker | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream object_tracker: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 WDuplicate id detected. | |
in | |
UF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 sDuplicate id detected. | |
b | |
_F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 WDuplicate id detected. | |
r | |
iF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 tDuplicate id detected. | |
e | |
PiF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 pDuplicate id detected. | |
e: | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
S | |
ysF: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 tDuplicate id detected. | |
eE: [global] [ 0] [EventRead00Thr] handleIncomingEvent:552 m eAssertion Failed: stream | |
r | |
rClosing stream object_tracker: DONE. | |
Thread for object_tracker finished. | |
Stopping threads: DONE 0.078s. | |
4Closing all observer streams: ... | |
33 | |
Closing stream host_capture: ... | |
WinUsb_WritePipe failed with error:=433 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
Closing stream host_capture: DONE. | |
WiClosing all observer streams: DONE. | |
nUReseting device: 0. | |
sb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_WRITE_RESP | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_WRITE_RESP | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test object_tracker: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
NN config not found in: G:\Lib\depthai\resources\nn/age-gender-recognition-retail-0013/age-gender-recognition-retail-0013.json. Defaulting to "raw" output format! | |
Labels not found in json! | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['previewout', 'metaout'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/age-gender-recognition-retail-0013/age-gender-recognition-retail-0013.json | |
No NN config provided, defaulting to "raw" output format! | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"previewout"},{"name":"metaout"}]},"ai":{"NCEs":1,"NN_config":{"output_format":"raw"},"blob0_size":4305920,"blob1_size":0,"calc_dist_to_bb":false,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1595 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 4305920 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 4305920 bytes to inBlob | |
!!! XLink write successful: inBlob (4305920) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/age-gender-recognition-retail-0013/age-gender-recognition-retail-0013.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: data | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 62, Width : 62] | |
Output layer : | |
Name: age_conv3 | |
Index: 0 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 1, Width : 1] | |
Output layer : | |
Name: prob | |
Index: 1 | |
Element type: float16 | |
Element size: 2 bytes | |
Offset: 64 bytes | |
Dimensions: [Batch : 1, Channel : 2, Height : 1, Width : 1] | |
CNN to depth bounding-box mapping: start(0, 0), max_size(0, 0) | |
Host stream start:metaout | |
Opening stream for read: metaout | |
Attempting to open stream metaout | |
Successfully opened stream metaout with ID #2! | |
Starting thread for stream: metaout | |
Host stream start:previewout | |
Opening stream for read: previewout | |
Attempting to open stream previewout | |
Started thread for stream: metaout | |
Successfully opened stream previewout with ID #3! | |
Starting thread for stream: previewout | |
depthai: INIT OK! | |
Started thread for stream: previewout | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:552 Assertion Failed: stream | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream previewout: ... | |
E: [global] [ 0] [] XLinkReadData:156 WinUsbCondition failed: (addEventWithPerf(&event, &opTime))_Wri | |
tDevice get data failed: 7 | |
ePClosing stream metaout: ... | |
iClosing stream previewout: DONE. | |
pThread for previewout finished. | |
e: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream metaout: DONE. | |
WiThread for metaout finished. | |
nUStopping threads: DONE 0.090s. | |
sb_Closing all observer streams: ... | |
WClosing stream host_capture: ... | |
ritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test age-gender-recognition-retail-0013: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
Compiled mode found: compiled for 14 shaves, 14 cmx_slices and 1 NN_engines | |
NN config not found in: G:\Lib\depthai\resources\nn/deeplabv3p_person/deeplabv3p_person.json. Defaulting to "raw" output format! | |
Labels not found in json! | |
XLink initialized. | |
Sending internal device firmware | |
Successfully connected to device. | |
Usb speed : Unknown | |
Mx serial id : UNKNOWN | |
Loading config file | |
Attempting to open stream config_d2h | |
watchdog started | |
Successfully opened stream config_d2h with ID #0! | |
Closing stream config_d2h: ... | |
Closing stream config_d2h: DONE. | |
EEPROM data: valid (v5) | |
Board name : BW1098OBC | |
Board rev : R0M0E0 | |
HFOV L/R : 71.86 deg | |
HFOV RGB : 68.7938 deg | |
L-R distance : 7.5 cm | |
L-RGB distance : 3.75 cm | |
L/R swapped : yes | |
L/R crop region: center | |
Rectification Rotation R1 (left): | |
0.999901, 0.013651, 0.003541, | |
-0.013659, 0.999904, 0.002194, | |
-0.003511, -0.002242, 0.999991, | |
Rectification Rotation R2 (right): | |
0.999924, 0.010090, -0.007110, | |
-0.010106, 0.999947, -0.002183, | |
0.007088, 0.002254, 0.999972, | |
Calibration intrinsic matrix M1 (left): | |
857.623474, 0.000000, 637.030212, | |
0.000000, 857.683960, 400.578156, | |
0.000000, 0.000000, 1.000000, | |
Calibration intrinsic matrix M2 (right): | |
853.747253, 0.000000, 632.737488, | |
0.000000, 854.451904, 406.895447, | |
0.000000, 0.000000, 1.000000, | |
Calibration rotation matrix R: | |
0.999938, 0.003529, 0.010606, | |
-0.003577, 0.999984, 0.004484, | |
-0.010590, -0.004522, 0.999934, | |
Calibration translation matrix T: | |
-7.471529, | |
-0.075393, | |
0.053126, | |
Calibration Distortion Coeff d1 (Left): | |
-5.070735, 16.378517, 0.000508, 0.000201, -16.684166, -5.127187, 16.604412, | |
-16.901791, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
Calibration Distortion Coeff d2 (Right): | |
-6.064571, 21.264236, 0.000087, 0.000046, -22.025511, -6.108682, 21.418699, | |
-22.162090, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, | |
['previewout', 'metaout'] | |
Available streams: ['meta_d2h', 'left', 'right', 'disparity', 'depth', 'metaout', 'previewout', 'jpegout', 'video', 'object_tracker', 'rectified_left', 'rectified_right', 'color'] | |
G:\Lib\depthai\resources\nn/deeplabv3p_person/deeplabv3p_person.json | |
No NN config provided, defaulting to "raw" output format! | |
depthai: Using calibration from stored in EEPROM | |
config_h2d json: | |
{"_board":{"calib_data":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"mesh_left":[0.0],"mesh_right":[0.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"previewout"},{"name":"metaout"}]},"ai":{"NCEs":1,"NN_config":{"output_format":"raw"},"blob0_size":7304192,"blob1_size":0,"calc_dist_to_bb":false,"camera_input":"rgb","cmx_slices":14,"keep_aspect_ratio":true,"num_stages":1,"shaves":14},"app":{"enable_reconfig":true,"sync_sequence_numbers":false,"sync_video_meta_streams":false,"usb_chunk_KiB":64},"board":{"clear-eeprom":false,"left_fov_deg":71.86000061035156,"left_to_rgb_distance_m":0.03750000149011612,"left_to_right_distance_m":0.07500000298023224,"name":"","override-eeprom":false,"revision":"","rgb_fov_deg":68.7938003540039,"stereo_center_crop":false,"store-to-eeprom":false,"swap-left-and-right-cameras":true},"camera":{"mono":{"fps":30.0,"resolution_h":400,"resolution_w":640},"rgb":{"fps":30.0,"resolution_h":1080,"resolution_w":1920}},"depth":{"depth_limit_mm":10000,"lr_check":false,"median_kernel_size":7,"padding_factor":0.30000001192092896,"warp_rectify":{"edge_fill_color":0,"mirror_frame":true,"use_mesh":false}},"ot":{"confidence_threshold":0.5,"max_tracklets":20}} | |
size of input string json_config_obj to config_h2d is ->1595 | |
size of json_config_obj that is expected to be sent to config_h2d is ->1048576 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #1! | |
Writing 1048576 bytes to config_h2d | |
!!! XLink write successful: config_h2d (1048576) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
Creating observer stream host_capture: ... | |
Attempting to open stream host_capture | |
Successfully opened stream host_capture with ID #0! | |
Creating observer stream host_capture: DONE. | |
Read: 7304192 | |
Attempting to open stream inBlob | |
Successfully opened stream inBlob with ID #1! | |
Writing 7304192 bytes to inBlob | |
!!! XLink write successful: inBlob (7304192) | |
Closing stream inBlob: ... | |
Closing stream inBlob: DONE. | |
depthai: done sending Blob file G:\Lib\depthai\resources\nn/deeplabv3p_person/deeplabv3p_person.blob.sh14cmx14NCE1 | |
Attempting to open stream outBlob | |
Successfully opened stream outBlob with ID #1! | |
Closing stream outBlob: ... | |
Closing stream outBlob: DONE. | |
Input layer : | |
Name: Input | |
Index: 0 | |
Element type: uint8 | |
Element size: 1byte | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 3, Height : 256, Width : 256] | |
Output layer : | |
Name: Output/Transpose☻ | |
Index: 0 | |
Element type: int32 | |
Element size: 4 bytes | |
Offset: 0 byte | |
Dimensions: [Batch : 1, Channel : 1, Height : 256, Width : 256] | |
CNN to depth bounding-box mapping: start(0, 0), max_size(0, 0) | |
Host stream start:metaout | |
Opening stream for read: metaout | |
Attempting to open stream metaout | |
Successfully opened stream metaout with ID #2! | |
Starting thread for stream: metaout | |
Host stream start:previewout | |
Started thread for stream: metaout | |
Opening stream for read: previewout | |
Attempting to open stream previewout | |
Successfully opened stream previewout with ID #3! | |
Starting thread for stream: previewout | |
depthai: INIT OK! | |
Started thread for stream: previewout | |
=== New data in observer stream host_capture, size: 4 | |
Writing 4 bytes to host_capture | |
!!! XLink write successful: host_capture (4) | |
Stopping threads: ... | |
F: [global] [ 0] [EventRead00Thr] dispatcherEventReceive:91 Duplicate id detected. | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
F: [xLink] [ 0] [Scheduler00Thr] dispatcherResponseServe:768 no request for this response: XLINK_WRITE_RESP 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [] addEvent:264 Condition failed: event->header.flags.bitField.ack != 1 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [] addEventWithPerf:276 addEvent(event) method call failed with an error: 3 | |
E: [global] [ 0] [EventRead00Thr] handleIncomingEvent:543 Assertion Failed: event->header.type >= XLINK_WRITE_REQ && event->header.type != XLINK_REQUEST_LAST && event->header.type < XLINK_RESP_LAST | |
E: [global] [ 0] [] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime)) | |
Device get data failed: 7 | |
Closing stream metaout: ... | |
E: [global] [ 0] [] XLinkReadData:156 WinUsb_WritePipe: System errCondition failed: (addEventWithPerf(&event, &opTime)) 2 | |
2 | |
Device get data failed: 7 | |
Closing stream previewout: ... | |
WinUsb_WritePipe failed with error:=22 | |
Closing stream metaout: DONE. | |
Thread for metaout finished. | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
WiClosing stream previewout: DONE. | |
nThread for previewout finished. | |
UStopping threads: DONE 0.098s. | |
Closing all observer streams: ... | |
sClosing stream host_capture: ... | |
b_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_CLOSE_STREAM_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Closing stream host_capture: DONE. | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
WinUsb_WritePipe: System err 22 | |
WinUsb_WritePipe failed with error:=22 | |
E: [global] [ 0] [Scheduler00Thr] dispatcherEventSend:53 Write failed (header) (err -2) | event XLINK_RESET_REQ | |
E: [xLink] [ 0] [Scheduler00Thr] sendEvents:1027 Event sending failed | |
Reseting: DONE. | |
py: DONE. | |
Test deeplabv3p_person: Passed! | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
usage: test_executor.py [-h] [-co CONFIG_OVERWRITE] [-brd BOARD] [-sh [1-14]] [-cmx [1-14]] [-nce [1-2]] [-mct {auto,local,cloud}] [-rgbr {1080,2160,3040}] [-rgbf RGB_FPS] [-cs COLOR_SCALE] [-monor {400,720,800}] [-monof MONO_FPS] | |
[-dct [0-255]] [-med {0,3,5,7}] [-lrc] [-e] [--clear-eeprom] [-o] [-dev DEVICE_ID] [-debug [DEV_DEBUG]] [-fusb2] | |
[-cnn {age-gender-recognition-retail-0013,deeplabv3p_person,face-detection-adas-0001,face-detection-retail-0004,human-pose-estimation-0001,mobilenet-ssd,mobileNetV2-PoseEstimation,pedestrian-detection-adas-0002,person-detection-retail-0013,person-vehicle-bike-detection-crossroad-1016,tiny-yolo-v3,vehicle-detection-adas-0002,vehicle-license-plate-detection-barrier-0106,yolo-v3}] | |
[-cnn2 {landmarks-regression-retail-0009,facial-landmarks-35-adas-0002,emotions-recognition-retail-0003}] [-cam {rgb,left,right,left_right,rectified_left,rectified_right,rectified_left_right}] [-dd] [-bb] [-ff] | |
[-sync] [-seq] [-u USB_CHUNK_KIB] [-fw FIRMWARE] [-vv] [-s STREAMS [STREAMS ...]] [-v VIDEO] [-pcl] [-mesh] [-mirror_rectified {true,false}] | |
test_executor.py: error: argument -cnn/--cnn_model: invalid choice: 'emotions-recognition-retail-0003' (choose from 'age-gender-recognition-retail-0013', 'deeplabv3p_person', 'face-detection-adas-0001', 'face-detection-retail-0004', 'human-pose-estimation-0001', 'mobilenet-ssd', 'mobileNetV2-PoseEstimation', 'pedestrian-detection-adas-0002', 'person-detection-retail-0013', 'person-vehicle-bike-detection-crossroad-1016', 'tiny-yolo-v3', 'vehicle-detection-adas-0002', 'vehicle-license-plate-detection-barrier-0106', 'yolo-v3') | |
Test emotions-recognition-retail-0003: Failed! | |
Test emotions-recognition-retail-0003: Rerun... | |
No calibration file. Using Calibration Defaults. | |
Using depthai module from: C:\Users\Laurent\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd | |
Depthai version installed: 0.4.1.1 | |
usage: test_executor.py [-h] [-co CONFIG_OVERWRITE] [-brd BOARD] [-sh [1-14]] [-cmx [1-14]] [-nce [1-2]] [-mct {auto,local,cloud}] [-rgbr {1080,2160,3040}] [-rgbf RGB_FPS] [-cs COLOR_SCALE] [-monor {400,720,800}] [-monof MONO_FPS] | |
[-dct [0-255]] [-med {0,3,5,7}] [-lrc] [-e] [--clear-eeprom] [-o] [-dev DEVICE_ID] [-debug [DEV_DEBUG]] [-fusb2] | |
[-cnn {age-gender-recognition-retail-0013,deeplabv3p_person,face-detection-adas-0001,face-detection-retail-0004,human-pose-estimation-0001,mobilenet-ssd,mobileNetV2-PoseEstimation,pedestrian-detection-adas-0002,person-detection-retail-0013,person-vehicle-bike-detection-crossroad-1016,tiny-yolo-v3,vehicle-detection-adas-0002,vehicle-license-plate-detection-barrier-0106,yolo-v3}] | |
[-cnn2 {landmarks-regression-retail-0009,facial-landmarks-35-adas-0002,emotions-recognition-retail-0003}] [-cam {rgb,left,right,left_right,rectified_left,rectified_right,rectified_left_right}] [-dd] [-bb] [-ff] | |
[-sync] [-seq] [-u USB_CHUNK_KIB] [-fw FIRMWARE] [-vv] [-s STREAMS [STREAMS ...]] [-v VIDEO] [-pcl] [-mesh] [-mirror_rectified {true,false}] | |
test_executor.py: error: argument -cnn/--cnn_model: invalid choice: 'emotions-recognition-retail-0003' (choose from 'age-gender-recognition-retail-0013', 'deeplabv3p_person', 'face-detection-adas-0001', 'face-detection-retail-0004', 'human-pose-estimation-0001', 'mobilenet-ssd', 'mobileNetV2-PoseEstimation', 'pedestrian-detection-adas-0002', 'person-detection-retail-0013', 'person-vehicle-bike-detection-crossroad-1016', 'tiny-yolo-v3', 'vehicle-detection-adas-0002', 'vehicle-license-plate-detection-barrier-0106', 'yolo-v3') | |
Test emotions-recognition-retail-0003: Failed! | |
Traceback (most recent call last): | |
File "G:\Lib\depthai\tests\tests_runner.py", line 67, in <module> | |
runner.test_cnn(cnn) | |
File "G:\Lib\depthai\tests\tests_runner.py", line 46, in test_cnn | |
self.test(cnn, cmd) | |
File "G:\Lib\depthai\tests\tests_runner.py", line 35, in test | |
self.test(name, cmd, run_nr=run_nr + 1) | |
File "G:\Lib\depthai\tests\tests_runner.py", line 37, in test | |
raise RuntimeError("Test failed: " + cmd) | |
RuntimeError: Test failed: "F:\Program Files\Python\python.exe" G:\Lib\depthai\tests\test_executor.py -s previewout metaout -cnn emotions-recognition-retail-0003 | |
C:\Users\Laurent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment