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

Error in the edge mode #37

Closed
AleBasso80 opened this issue Apr 18, 2023 · 3 comments
Closed

Error in the edge mode #37

AleBasso80 opened this issue Apr 18, 2023 · 3 comments

Comments

@AleBasso80
Copy link

Hi,
first of all thank you for your great work!

I got a problem that I'm not able to explain. I'm working with an OAK-D-PRO FF.

If I use the edge mode specifying also the xyz flag everything is fine, but if I just launch python3 demo.py -e (without -xyz) I always get this error:

[18443010E1A6AB0F00] [3.6] [7.446] [system] [critical] Fatal error. Please report to developers. Log: 'ResourceLocker' '358'
Traceback (most recent call last):
File "/home/user/Development/body/depthai_blazepose/depthai_blazepose/demo.py", line 65, in
frame, body = tracker.next_frame()
File "/home/user/Development/body/depthai_blazepose/depthai_blazepose/BlazeposeDepthaiEdge.py", line 486, in next_frame
res = marshal.loads(self.q_manager_out.get().getData())
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'manager_out' (X_LINK_ERROR)'

Do you have any idea?

Thank you!

@geaxgx
Copy link
Owner

geaxgx commented Apr 23, 2023

Sorry for the late reply.
I am able to reproduce exactly the problem (in my case with an OAKD lite). It seems to be related to the latest depthai version (2.21.2.0). Recently I have not followed the updates on the depthai side so I am not aware of the changes brought by this version. I will ask to the Luxonis team. In the meantime, may I suggest you to downgrade to a previous version:
pip install depthai==2.20.2
Note that with the 2.20.2, you can still get the 'ResourceLocker' '358' error in rare occasions (when the face is very close to the camera).

@AleBasso80
Copy link
Author

Thank you very much for your kind feedback.

I'll try what you suggested.

I'm closing the issue, please let me know should you get any feedback from Luxonis.

Cheers!

@stormboy
Copy link

Has there been any progress on this issue, @geaxgx ?
I am getting the same, and on analysing the rotated rectangle going into the ImageManip config, have found no specific patterns that cause the crash. Just that the odds seem to be increased with greater angles (towards 45 degrees) and moving off the edge of the bounds of the video feed.

I see that someone at DepthAI have fobbed off a couple of reports of the same thing, saying to go back to the author of the code (you), but considering behaviour has clearly changed from one version of DepthAI to another, you would think that team would take it more seriously.

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

3 participants