• DepthAI
  • Camera stops providing providing data

I'm using the rgb_mobilenet_4K.py example on Windows using PyCharm with an OAK-D PoE camera. It starts fine but after about 30 seconds or so I don't get any new frames.

I ran in debug and I can see that when this happens the loop is still running it's just that the calls to tryGet() for the video, preview and detections all come back as None so no new data is acquired and displayed.

If I change the sensor resolution to 1080p I can get it to go for a few minutes if I'm lucky but then the same thing happens again. I don't know if this is a clue?

Would appreciate any guidance as to why this might be happening.

Many thanks!

Malcs changed the title to Camera stops providing providing data .

UPDATE

I tried the same example project but this time with the camera connected directly to the PC and manually specifying the IP address. Much better - project ran for 30 mins with no problems.

So the drop out I was experiencing before may possibly have something to do with network data rates? The main difference between the two connection methods is direct connection is much faster than going through my LAN.

  • erik replied to this.

    Hello Malcs , thanks for the report. Regarding the 30 mins with no problems, does it stop after that or did you manually stop the testing, as it was working fine for so long already? Asking the team regarding the problem..
    Thanks, Erik

    Just got feedback from the firmware team; we have been able to reproduce the bug and are looking into it. Thanks again for the report!

    4 days later

    Apologies for the late reply - that's great erik, hopefully they can get to the bottom of it.

    Regarding your question - it was still going after 30 mins. I think I could have run it for much longer and it would have been fine but obviously that's just my feeling, I didn't actually test for that long.

    Interesting, got it. Hopefully, it is stable in that situation.
    Thanks, Erik