jaiminLee

- Mar 28, 2023
- Joined Feb 6, 2023
- 0 best answers
- Edited
Hi. Everyone.
Now. I test running my code.
During 27hourse 999292 frames have safety.
But I saw this message.
My code has no memory leaks and crashes.
There was a slight slowdown.
What should I do in an exception?[18443010318C631200] [1.9] [99935.523] [Script(17)] [warning] [999292]Py Script: preview
[18443010318C631200] [1.9] [99940.619] [system] [critical] Fatal error. Please report to developers. Log: 'ResourceLocker' '358'
terminate called after throwing an instance of 'std::runtime_error'
what(): Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'recognition' (X_LINK_ERROR)'erik
Ok. It is good.
I did like this.
auto preview = device.getOutputQueue("preview", 1, false);
auto tracklets = device.getOutputQueue("tracklets", 1, false);
auto xoutBoundingBoxDepthMappingQueue = device.getOutputQueue("boundingBoxDepthMapping", 1, false);
auto depthQueue = device.getOutputQueue("depth", 1, false);
auto faceResultOutQueue = device.getOutputQueue("faceResultOut", 1, false);
auto faceRecOutQueue = device.getOutputQueue("recognition", 1, false);
So. I can't see any more delay.
Thank you so much.- Edited
I don't know how to fix it.
I did gather color frames and I processed face estimation.
However, it gradually takes longer to find the face position.
The number of (color frame and face detect frame) getSequenceNum() is the same.
You can see attached my picture. When I shake my head I can see that phenomenon.
Facial recognition follows behind. It has to process the recent frame.
I need your advice.