Created
December 18, 2021 03:06
-
-
Save lucasmediaflow/0f1cfbcacdf6d43f2e18e5022c75df74 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
>>> from camera import * | |
[2021-12-18 12:15:24.770] [debug] Python bindings - version: 2.13.3.0 from 2021-12-01 03:26:17 +0200 build: 2021-12-01 03:07:01 +0000 | |
[2021-12-18 12:15:24.770] [debug] Library information - version: 2.13.3, commit: 0cc6284767ae21e8747d26562cb058d181e0ca34 from 2021-12-01 03:23:55 +0200, build: 2021-12-01 03:07:00 +0000 | |
[2021-12-18 12:15:24.772] [debug] Initialize - finished | |
[2021-12-18 12:15:25.336] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.15.tar.xz' open: 6ms, archive read: 559ms | |
Found 1 devices | |
[3461.421] finished setup 02-back | |
cams setup, starting them | |
[2021-12-18 12:15:26.950] [debug] Device - OpenVINO version: 2021.4 | |
[2021-12-18 12:15:27.765] [debug] Resources - Archive 'depthai-device-fwp-48fca4a443d841221c94c70d5c05e7e946168636.tar.xz' open: 6ms, archive read: 2988ms | |
[2021-12-18 12:15:29.224] [debug] Booting FW with Bootloader. Version 0.0.12, Time taken: 877ms | |
[2021-12-18 12:15:29.224] [debug] DeviceBootloader about to be closed... | |
[2021-12-18 12:15:29.224] [debug] XLinkResetRemote of linkId: (0) | |
[2021-12-18 12:15:29.952] [debug] DeviceBootloader closed, 727 | |
[192.168.2.223] [64.205] [system] [warning] Calibration Data on device is empty | |
[192.168.2.223] [64.428] [system] [info] Memory Usage - DDR: 0.12 / 358.55 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 24.32 / 78.59 MiB, LeonRT Heap: 2.88 / 23.84 MiB | |
[192.168.2.223] [64.428] [system] [info] Temperatures - Average: 32.25 °C, CSS: 32.97 °C, MSS 31.77 °C, UPA: 32.25 °C, DSS: 32.01 °C | |
[192.168.2.223] [64.428] [system] [info] Cpu Usage - LeonOS 6.08%, LeonRT: 0.52% | |
[2021-12-18 12:15:34.499] [debug] Schema dump: {"connections":[{"node1Id":4,"node1Output":"bitstream","node2Id":5,"node2Input":"in"},{"node1Id":7,"node1Output":"out","node2Id":0,"node2Input":"inputControl"},{"no | |
de1Id":0,"node1Output":"still","node2Id":4,"node2Input":"in"},{"node1Id":1,"node1Output":"bitstream","node2Id":2,"node2Input":"in"},{"node1Id":0,"node1Output":"isp","node2Id":3,"node2Input":"inputImage"},{"node1 | |
Id":3,"node1Output":"out","node2Id":1,"node2Input":"in"}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000 | |
.0,"pipelineName":null,"pipelineVersion":null,"xlinkChunkSize":-1},"nodes":[[5,{"id":5,"ioInfo":{"in":{"blocking":true,"name":"in","queueSize":8,"type":3}},"name":"XLinkOut","properties":{"maxFpsLimit":-1.0,"met | |
adataOnly":false,"streamName":"jpg"}}],[4,{"id":4,"ioInfo":{"bitstream":{"blocking":false,"name":"bitstream","queueSize":8,"type":0},"in":{"blocking":true,"name":"in","queueSize":1,"type":3}},"name":"VideoEncode | |
r","properties":{"bitrate":0,"frameRate":1.0,"keyframeFrequency":30,"lossless":false,"maxBitrate":0,"numBFrames":0,"numFramesPool":1,"profile":4,"quality":95,"rateCtrlMode":0}}],[6,{"id":6,"ioInfo":{"in":{"block | |
ing":true,"name":"in","queueSize":8,"type":3}},"name":"XLinkOut","properties":{"maxFpsLimit":-1.0,"metadataOnly":false,"streamName":"preview"}}],[7,{"id":7,"ioInfo":{"out":{"blocking":false,"name":"out","queueSi | |
ze":8,"type":0}},"name":"XLinkIn","properties":{"maxDataSize":500000,"numFrames":8,"streamName":"camControl"}}],[0,{"id":0,"ioInfo":{"inputConfig":{"blocking":false,"name":"inputConfig","queueSize":8,"type":3}," | |
inputControl":{"blocking":true,"name":"inputControl","queueSize":8,"type":3},"isp":{"blocking":false,"name":"isp","queueSize":8,"type":0},"preview":{"blocking":false,"name":"preview","queueSize":8,"type":0},"raw | |
":{"blocking":false,"name":"raw","queueSize":8,"type":0},"still":{"blocking":false,"name":"still","queueSize":8,"type":0},"video":{"blocking":false,"name":"video","queueSize":8,"type":0}},"name":"ColorCamera","p | |
roperties":{"boardSocket":-1,"colorOrder":0,"fp16":false,"fps":30.0,"imageOrientation":-1,"initialControl":{"aeLockMode":false,"aeRegion":{"height":0,"priority":0,"width":0,"x":0,"y":0},"afRegion":{"height":0,"p | |
riority":0,"width":0,"x":0,"y":0},"antiBandingMode":0,"autoFocusMode":3,"awbLockMode":false,"awbMode":0,"brightness":0,"chromaDenoise":0,"cmdMask":0,"contrast":0,"effectMode":0,"expCompensation":0,"expManual":{" | |
exposureTimeUs":0,"frameDurationUs":0,"sensitivityIso":0},"lensPosition":0,"lumaDenoise":0,"saturation":0,"sceneMode":0,"sharpness":0,"wbColorTemp":0},"inputConfigSync":false,"interleaved":false,"ispScale":{"hor | |
izDenominator":0,"horizNumerator":0,"vertDenominator":0,"vertNumerator":0},"previewHeight":360,"previewKeepAspectRatio":true,"previewWidth":640,"resolution":1,"sensorCropX":-1.0,"sensorCropY":-1.0,"stillHeight": | |
2160,"stillWidth":3840,"videoHeight":-1,"videoWidth":-1}}],[1,{"id":1,"ioInfo":{"bitstream":{"blocking":false,"name":"bitstream","queueSize":8,"type":0},"in":{"blocking":true,"name":"in","queueSize":4,"type":3}} | |
,"name":"VideoEncoder","properties":{"bitrate":0,"frameRate":30.0,"keyframeFrequency":30,"lossless":false,"maxBitrate":0,"numBFrames":0,"numFramesPool":0,"profile":2,"quality":80,"rateCtrlMode":0}}],[2,{"id":2," | |
ioInfo":{"in":{"blocking":true,"name":"in","queueSize":8,"type":3}},"name":"XLinkOut","properties":{"maxFpsLimit":-1.0,"metadataOnly":false,"streamName":"44-a9-2c-31-33-43"}}],[3,{"id":3,"ioInfo":{"inputConfig": | |
{"blocking":true,"name":"inputConfig","queueSize":8,"type":3},"inputImage":{"blocking":true,"name":"inputImage","queueSize":8,"type":3},"out":{"blocking":false,"name":"out","queueSize":8,"type":0}},"name":"Image | |
Manip","properties":{"initialConfig":{"cropConfig":{"cropRatio":1.0,"cropRect":{"xmax":0.0,"xmin":0.0,"ymax":0.0,"ymin":0.0},"cropRotatedRect":{"angle":0.0,"center":{"x":0.0,"y":0.0},"size":{"height":0.0,"width" | |
:0.0}},"enableCenterCropRectangle":false,"enableRotatedRect":false,"normalizedCoords":true,"widthHeightAspectRatio":1.0},"enableCrop":false,"enableFormat":false,"enableResize":true,"formatConfig":{"flipHorizonta | |
l":false,"type":7},"resizeConfig":{"bgBlue":0,"bgGreen":0,"bgRed":0,"enableRotation":false,"enableWarp4pt":false,"enableWarpMatrix":false,"height":1080,"keepAspectRatio":true,"lockAspectRatioFill":false,"normali | |
zedCoords":true,"rotationAngleDeg":0.0,"warpBorderReplicate":false,"warpFourPoints":[],"warpMatrix3x3":[],"width":1920},"reusePreviousImage":false,"skipCurrentImage":false},"inputConfigSync":false,"numFramesPool | |
":4,"outputFrameSize":1048576}}]]} | |
[2021-12-18 12:15:34.499] [debug] Asset map dump: {"map":{}} | |
[192.168.2.223] [65.055] [system] [info] ImageManip internal buffer size '203904'B, shave buffer size '23552'B | |
[192.168.2.223] [65.055] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B | |
[192.168.2.223] [65.090] [system] [info] ColorCamera allocated resources: no shaves; cmx slices: [10-15] | |
[192.168.2.223] [65.091] [system] [info] ImageManip allocated resources: shaves: [15-15] no cmx slices. | |
[3469.5764] connected to 02-back 192.168.2.223 44-a9-2c-31-33-43 | |
all cams ready | |
>>> connected to broker | |
subscribed to {'broker': 'localhost', 'port': 1883, 'subscribeTo': ['camera'], 'qos': 0} | |
[192.168.2.223] [65.251] [system] [critical] Fatal error. Please report to developers. Log: 'ImageManipHelper' '60' | |
[192.168.2.223] [65.429] [system] [info] Memory Usage - DDR: 170.83 / 358.55 MiB, CMX: 2.29 / 2.50 MiB, LeonOS Heap: 39.61 / 78.59 MiB, LeonRT Heap: 1.22 / 23.84 MiB | |
[192.168.2.223] [65.429] [system] [info] Temperatures - Average: 33.09 °C, CSS: 34.40 °C, MSS 32.97 °C, UPA: 32.97 °C, DSS: 32.01 °C | |
[192.168.2.223] [65.429] [system] [info] Cpu Usage - LeonOS 9.58%, LeonRT: 5.54% | |
[192.168.2.223] [66.430] [system] [info] Memory Usage - DDR: 170.83 / 358.55 MiB, CMX: 2.29 / 2.50 MiB, LeonOS Heap: 39.61 / 78.59 MiB, LeonRT Heap: 1.22 / 23.84 MiB | |
[192.168.2.223] [66.430] [system] [info] Temperatures - Average: 32.85 °C, CSS: 34.16 °C, MSS 32.49 °C, UPA: 32.73 °C, DSS: 32.01 °C | |
[192.168.2.223] [66.430] [system] [info] Cpu Usage - LeonOS 11.31%, LeonRT: 1.14% | |
[2021-12-18 12:15:55.278] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR) | |
[2021-12-18 12:15:55.280] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR) | |
[2021-12-18 12:15:55.282] [debug] Device about to be closed... | |
[2021-12-18 12:15:55.283] [debug] XLinkResetRemote of linkId: (0) | |
[2021-12-18 12:15:56.027] [debug] Device closed, 744 | |
[2021-12-18 12:15:56.028] [debug] DataInputQueue (camControl) closed | |
Exception in thread 192.168.2.223: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python3.7/threading.py", line 870, in run | |
self._target(*self._args, **self._kwargs) | |
File "/home/pi/camera/utils.py", line 276, in startOak | |
imgFrame = self.videoQ.tryGet() | |
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: '44-a9-2c-31-33-43' (X_LINK_ERROR)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment