• Robboflow trained Model does not find predections on OAK-1

I have trained a model using Roboflow work space. The model works fine with web cam web interface.

When I try running the inference on OAK-1 from below code. I can see the stream but no predictions found. I would appreciate any inputs regarding this.

Before requesting support, please see: https://docs.luxonis.com/en/latest/pages/support/

  • erik replied to this.

    Hi Erik,thanks for your reply

    I confirm that I usedSDK for Roboflow, but it generated the following error

    This is the code I’m running

    from depthai_sdk import OakCamera

    with OakCamera() as oak:

    color = oak.create_camera('color')

    model_config = {

    'source': 'roboflow', # Specify that we are downloading the model from Roboflow

    'model':'trabajo-de-grado-final/2',

    'key':'aDBlDcA4YIxszVDvS6WH' # Fake API key, replace with your own!

    }

    nn = oak.create_nn(model_config, color)

    oak.visualize(nn, fps=True)

    oak.start(blocking=True)