Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get depth buffer from the capture handle failed! #78

Open
derivativerobmc opened this issue Jun 19, 2024 · 1 comment
Open

Get depth buffer from the capture handle failed! #78

derivativerobmc opened this issue Jun 19, 2024 · 1 comment

Comments

@derivativerobmc
Copy link

I am getting occasional failures when trying to obtain both the color image and body index from a Femto Mega camera. When it gets in this mode it stops receiving any images and I have to restart the system.

This is happening with the latest 1.10.8 version of the Orbbec SDK and version 1.10.1 of the K4A wrapper. Our users have also reported this in the 1.9 SDKs and with the Femto Bolt camera.

Could this be an issue of having frame sync off? If it receives a color frame without a depth frame?

The log:

[06/19 17:16:23.664511][info][45012][Pipeline.cpp:188] Check and set config start!
[06/19 17:16:23.664668][info][45012][Pipeline.cpp:223] Check and set config done!
[06/19 17:16:23.667423][info][45012][Pipeline.cpp:288] Try to start streams!
[06/19 17:16:23.667582][info][45012][VideoSensor.cpp:646] start OB_SENSOR_DEPTH stream with profile: {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 1024, height: 1024, fps: 15}, Backend Format: OB_FORMAT_Y16
[06/19 17:16:23.678731][info][45012][VideoSensor.cpp:646] start OB_SENSOR_IR stream with profile: {type: OB_STREAM_IR, format: OB_FORMAT_Y16, width: 1024, height: 1024, fps: 15}, Backend Format: OB_FORMAT_Y16
[06/19 17:16:23.700245][info][45012][VideoSensor.cpp:646] start OB_SENSOR_COLOR stream with profile: {type: OB_STREAM_COLOR, format: OB_FORMAT_BGRA, width: 1920, height: 1080, fps: 15}, Backend Format: OB_FORMAT_BGRA
[06/19 17:16:23.728324][info][45012][Pipeline.cpp:301] Start streams done!
[06/19 17:16:23.728559][info][45012][Pipeline.cpp:277] Pipeline start done!
[2024-06-19 17:16:25.137] [error] [t=45012] [K4ABT] ..\src\TrackerHost\DepthFrameBlobK4A.cpp (13): Initialize(). Get depth buffer from the capture handle failed!
[2024-06-19 17:16:25.138] [error] [t=45012] [K4ABT] ..\src\TrackerHost\TrackerHost.cpp (274): EnqueueCapture(). Initialize DepthFrameBlob failed!
[06/19 17:16:25.184276][info][45012][Pipeline.cpp:411] Try to stop pipeline!
[06/19 17:16:25.184603][info][45012][Pipeline.cpp:383] Try to stop streams!
[06/19 17:16:26.383930][info][45012][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_COLOR
[06/19 17:16:26.384333][info][45012][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_COLOR
[06/19 17:16:26.816108][info][45012][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_IR
[06/19 17:16:26.816537][info][45012][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_IR
[06/19 17:16:27.368454][info][45012][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_DEPTH
[06/19 17:16:27.369365][info][45012][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_DEPTH
[06/19 17:16:27.372713][info][45012][Pipeline.cpp:402] Stop streams done!
[06/19 17:16:27.376044][info][45012][Pipeline.cpp:443] Stop pipeline done!
[06/19 17:16:27.377878][info][43136][Pipeline.cpp:411] Try to stop pipeline!
[06/19 17:16:27.378128][info][43136][Pipeline.cpp:383] Try to stop streams!
[06/19 17:16:27.378675][warning][43136][VideoSensor.cpp:680] Sensor(OB_SENSOR_COLOR) already stop.
[06/19 17:16:27.379054][info][43136][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_COLOR
[06/19 17:16:27.379584][warning][43136][VideoSensor.cpp:680] Sensor(OB_SENSOR_IR) already stop.
[06/19 17:16:27.380056][info][43136][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_IR
[06/19 17:16:27.380367][warning][43136][VideoSensor.cpp:680] Sensor(OB_SENSOR_DEPTH) already stop.
[06/19 17:16:27.380757][info][43136][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_DEPTH
[06/19 17:16:27.381123][info][43136][Pipeline.cpp:402] Stop streams done!
[06/19 17:16:27.382962][info][43136][Pipeline.cpp:443] Stop pipeline done!
[06/19 17:16:27.383096][info][43136][Pipeline.cpp:75] Pipeline destroyed! @0x18BD2917B00
[06/19 17:16:27.383443][info][43136][FemtoMegaUvcDevice.cpp:53] FemtoMega UVC device destroyed! PID: 0x0669, SN: CL2K83P000X
[06/19 17:16:27.384353][info][43136][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_IR
[06/19 17:16:27.384440][info][43136][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_COLOR
[06/19 17:16:27.384781][info][43136][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_DEPTH
[06/19 17:16:27.619211][info][43136][Context.cpp:84] Context destroyed

@zzuliys
Copy link
Collaborator

zzuliys commented Jun 28, 2024

You can set synchronized_images_only in k4a_device-configuration_t to ensure that all frame data is received simultaneously in one frameset. Otherwise, you will need to manually check it yourself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants