Hello, how can I retrieve a full 4056x3040 resolution still image in unity using c#?

Preferably I'd need to do this while running a lower resolution object detection pipeline, would it still be possible then?

I'm using the OAK-D-Pro Autofocus variant.

Best regards and thanks for your answer!

Hi @piro
Yes it's possible to run object detection and get full res image but doing all the time is bit costly (because the full resolution 12MP transfer) - I guess the real use case is retrieve only full resolution when something specific is detected.

Below is and example using "full res detection" to help you get started.
luxonis/depthai-unitytree/full-res-object-detector
Feel free to play around and fine tune it to fit you needs.

If you have further questions regarding integration with unity, best to open an issue at luxonis/depthai-unity.

Thanks,
Jaka

10 days later

Hello Jaka

Thanks for your answer and also to your team for preparing a Unity example. Yes indeed the usecase is to use a 416*416 pipeline to keep load low and then, when a certain object is detected, grab a full resolution image (like "setCaptureStill(True)" in Python), but this is going to work for me.

In the future, it would be nice to have the possibility to retrieve image captures on demand in Unity C# as well if you ever get to it 🙂

Best regards and again thanks for the support

-piro