Open Sixzero opened 2 years ago
As for now, I guess the issue was because I used read too often. Probably its limited by the camera FPS?
We could get what causes the limit, and maybe state it in the error code.
If its not worth the pain, then I am closing the issue. :)
I can reproduce this.
It does seem like a bug. IMO reading in a loop like this is a reasonable thing to do
Any ideas on what might be causing this, and is this platform specific(is it a issue on linux too or not)? I face it on windows despite sleep times of 2 sec
The code:
Throws the error:
The issue is interesting in that sense
read
does run 10-20 times before in always just returns this error.I tried to dig into the issue, but I didn't really know how I could debug the
sws_scale
function. Thank you in advance.