I am trying to record a video using my OAK-D. This vide need to have the setero information as well. So I modified the encode example and used it to record the RGB, mono left and mono right camera feeds. The depthmap recording would not be as useful, as I might have other ways of doing the stereo calculations later on.
I have the three vides ready. But I when replay the three videso at the same time (using the OAD-D), it is very slow. This is understandable, this was not the processors main use, so it is slower. But I am now trying to see if I can use the mobilenet on the video feed (similar to the object tracker example - an example that crashes a lot BTW), The '.get()' function does not seem to work.
The code just hangs there, but the camera heats up. Am I doing something wrong to the processor? Is there a simple way to do this? (I remembr an example from a while ago that did it on images). Is this not a funstionslity that is possible? Should I post my code here?
Host: KUbuntu on VMWare professional 15+
Language: Python 3.6+
DepthAI: 188.8.131.52 (also tried with 184.108.40.206)
Any help would be appreciated.
I have changed out 'get' for 'tryget' and made the code get a frame only when it is available. But the problem still presists with the Stereo side of things. The error being:
with dai.Device(pipeline) as device:
RuntimeError: , LRT: 'StereoDepth(4) - StereoDepth | Invalid resolution: Width 0, Height 0'
I'm assuming there is still no frame ot be obtained, so it fails?