Hi!

I am interested in implementing an API REST server on my OAK-D PRO device using Flask. I was wondering if it is possible to achieve this functionality.

Additionally, I would like to inquire if there are any examples or tips available that could be useful to achieve it.

Thank you very much for your assistance.

    Hi Irena
    The OAK-D Pro device itself runs on an embedded system (Myriad X VPU) which is not designed to host services such as a Flask server. Therefore, directly implementing a Flask REST API server on the OAK-D Pro is not possible.

    However, you can connect the OAK-D Pro to a host machine (like a Raspberry Pi or a standard PC) via USB, and then implement your Flask server on that host machine. The Flask server can interact with the OAK-D Pro using the DepthAI Python API to capture frames, run inference, and so on.

    Thoughts?
    Jaka

      7 days later