Skip to content

Instantly share code, notes, and snippets.

@lucasmediaflow
Last active December 20, 2021 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasmediaflow/bef15cb3343e427a388e47726167c642 to your computer and use it in GitHub Desktop.
Save lucasmediaflow/bef15cb3343e427a388e47726167c642 to your computer and use it in GitHub Desktop.
root@devraspi:/home/pi/camera# DEPTHAI_LEVEL=debug python3 test.py
[2021-12-21 08:57:26.627] [debug] Python bindings - version: 2.13.2.0.dev+92788aa52a091a097b719621ae293ce55d59a82f from 2021-12-20 02:46:02 +0100 build: 2021-12-20 08:09:36 +0000
[2021-12-21 08:57:26.627] [debug] Library information - version: 2.13.2, commit: 7b0e4f38bf6f09f4e6ff964641658c0fbd617ee9 from 2021-12-20 02:45:50 +0100, build: 2021-12-20 08:09:32 +0000
[2021-12-21 08:57:26.630] [debug] Initialize - finished
[2021-12-21 08:57:27.070] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.15.tar.xz' open: 5ms, archive read: 433ms
[2021-12-21 08:57:27.921] [debug] Device - OpenVINO version: 2021.4
[2021-12-21 08:57:29.293] [debug] Resources - Archive 'depthai-device-fwp-27bc51a1b85d1ce7354aca1e062d7fda1ecfe4fa.tar.xz' open: 5ms, archive read: 2660ms
[2021-12-21 08:57:30.825] [debug] Booting FW with Bootloader. Version 0.0.12, Time taken: 830ms
[2021-12-21 08:57:30.825] [debug] DeviceBootloader about to be closed...
[2021-12-21 08:57:30.826] [debug] XLinkResetRemoteTimeout returned: INVALID_ENUM_VALUE
[2021-12-21 08:57:30.826] [debug] XLinkResetRemote of linkId: (0)
[2021-12-21 08:57:31.551] [debug] DeviceBootloader closed, 725
[192.168.2.223] [232.932] [system] [warning] Calibration Data on device is empty
[192.168.2.223] [233.151] [system] [info] Memory Usage - DDR: 0.12 / 358.67 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 24.38 / 78.59 MiB, LeonRT Heap: 2.88 / 23.83 MiB
[192.168.2.223] [233.151] [system] [info] Temperatures - Average: 31.22 °C, CSS: 32.73 °C, MSS 30.80 °C, UPA: 31.04 °C, DSS: 30.32 °C
[192.168.2.223] [233.151] [system] [info] Cpu Usage - LeonOS 5.56%, LeonRT: 0.52%
[2021-12-21 08:57:36.077] [debug] Schema dump: {"connections":[{"node1Id":1,"node1Output":"bitstream","node2Id":2,"node2Input":"in"},{"node1Id":0,"node1Output":"isp","node2Id":3,"node2Input":"inputImage"},{"node1Id":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":[[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}}],[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","properties":{"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,"priority":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},"inputConfigSync":false,"interleaved":true,"ispScale":{"horizDenominator":0,"horizNumerator":0,"vertDenominator":0,"vertNumerator":0},"previewHeight":300,"previewKeepAspectRatio":true,"previewWidth":300,"resolution":1,"sensorCropX":-1.0,"sensorCropY":-1.0,"stillHeight":-1,"stillWidth":-1,"videoHeight":-1,"videoWidth":-1}}],[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":"ImageManip","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":true,"enableResize":true,"formatConfig":{"flipHorizontal":false,"flipVertical":false,"type":22},"resizeConfig":{"bgBlue":0,"bgGreen":0,"bgRed":0,"enableRotation":false,"enableWarp4pt":false,"enableWarpMatrix":false,"height":1080,"keepAspectRatio":true,"lockAspectRatioFill":false,"normalizedCoords":true,"rotationAngleDeg":0.0,"warpBorderReplicate":false,"warpFourPoints":[],"warpMatrix3x3":[],"width":1920},"reusePreviousImage":false,"skipCurrentImage":false},"inputConfigSync":false,"meshHeight":0,"meshUri":"","meshWidth":0,"numFramesPool":4,"outputFrameSize":3110400}}],[2,{"id":2,"ioInfo":{"in":{"blocking":true,"name":"in","queueSize":8,"type":3}},"name":"XLinkOut","properties":{"maxFpsLimit":-1.0,"metadataOnly":false,"streamName":"1080"}}]]}
[2021-12-21 08:57:36.077] [debug] Asset map dump: {"map":{}}
[192.168.2.223] [233.670] [system] [info] ImageManip internal buffer size '161280'B, shave buffer size '20480'B
[192.168.2.223] [233.670] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B
[192.168.2.223] [233.705] [system] [info] ColorCamera allocated resources: no shaves; cmx slices: [10-15]
[192.168.2.223] [233.705] [system] [info] ImageManip allocated resources: shaves: [15-15] no cmx slices.
1847.657516205 start recording
[192.168.2.223] [233.954] [VideoEncoder(1)] [info] Bitrate: auto-set to 8500000 bit/s
[2021-12-21 08:57:59.452] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[2021-12-21 08:57:59.452] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[2021-12-21 08:57:59.453] [debug] Device about to be closed...
Stack trace (most recent call last):
#1 Object "/lib/arm-linux-gnueabihf/libc.so.6", at 0xb6b3fcaf, in
#0 Object "/usr/local/lib/python3.9/site-packages/depthai.cpython-39-arm-linux-gnueabihf.so", at 0xb608a90d, in backward::SignalHandling::sig_handler(int, siginfo_t*, void*)
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)
root@devraspi:/home/pi/camera#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment