Created
February 2, 2020 15:10
-
-
Save itsderek23/a5569f5b7c3fec97a404ef7f447d70cb 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
python3 calibrate.py -p 0 -i delete | |
args: {'polygons': [0], 'count': 1, 'square_size_cm': 2.5, 'image_op': 'delete', 'mode': ['capture', 'process']} | |
depthai: before xlink init; | |
Device Found name 1.2-ma2480 | |
about to boot device with "cmd_file": ./depthai_depth.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! | |
Read: 26 | |
Attempting to open stream config_h2d | |
Successfully opened stream config_h2d with ID #0! | |
Writing 26 bytes to config_h2d | |
!!! XLink write successful: config_h2d (26) | |
Closing stream config_h2d: ... | |
Closing stream config_h2d: DONE. | |
depthai: done sending config file: ./resources/config.json | |
depthai: before homography write; | |
Read: 36 | |
Attempting to open stream homography | |
Successfully opened stream homography with ID #1! | |
Writing 36 bytes to homography | |
!!! XLink write successful: homography (36) | |
Closing stream homography: ... | |
Closing stream homography: DONE. | |
depthai: done sending calibration file ./resources/default.calib | |
Starting thread for stream: left | |
Opening stream for read: left | |
Attempting to open stream left | |
Starting thread for stream: right | |
Opening stream for read: right | |
Starting thread for stream: depth | |
Opening stream for read: depth | |
depthai: INIT OK! | |
Successfully opened stream left with ID #2! | |
Started thread for stream: left | |
Attempting to open stream right | |
Successfully opened stream right with ID #3! | |
Started thread for stream: right | |
Attempting to open stream depth | |
Successfully opened stream depth with ID #4! | |
Started thread for stream: depth | |
Will take 1 total images, 1 per each polygon. | |
py: Saved image as: left_p0_0.png | |
py: Saved image as: right_p0_0.png | |
py: Starting calibration based on captured images | |
Attempting to read images for left camera from dir: dataset/left/ | |
Attempting to read images for right camera from dir: dataset/right/ | |
Finding chessboard corners for dataset/left/left_p0_0.png and dataset/right/right_p0_0.png... | |
[ERROR] - Corners not detected. Took 13 seconds. | |
0 of 1 images being used for calibration | |
[ERROR] Missing valid image sets for 13 polygons. Re-run calibration with the | |
'-p 0 1 2 3 4 5 6 7 8 9 10 11 12' argument to re-capture images for these polygons. | |
Stopping threads: ... | |
Closing stream depth: ... | |
Closing stream right: ... | |
Closing stream left: ... | |
Closing stream depth: DONE. | |
Thread for depth finished. | |
Closing stream right: DONE. | |
Thread for right finished. | |
Closing stream left: DONE. | |
Thread for left finished. | |
Stopping threads: DONE. | |
Closing all observer streams: ... | |
Closing all observer streams: DONE. | |
Reseting device: 0. | |
I: [ 0] [EventRead00Thr] eventReader:213 eventReader thread stopped: reset | |
I: [ 0] [Scheduler00Thr] dispatcherReset:478 Resetting... | |
I: [ 0] [Scheduler00Thr] dispatcherReset:497 Pending event is XLINK_RESET_REQ, size is 0, Mark it served | |
I: [ 0] [Scheduler00Thr] closeDeviceFdAndResetScheduler:448 Dispatcher Cleaning... | |
Reseting: DONE. | |
I: [ 0] [Scheduler00Thr] closeDeviceFdAndResetScheduler:463 Cleaning Successfully | |
I: [ 0] [Scheduler00Thr] eventSchedulerRun:684 Scheduler thread stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment