Following Visual Anomaly for OpenMV RT1062

I made a Visual Anomaly project Visual Anomaly - Dashboard - Edge Impulse with a deploy to TDA4VM and everything worked perfectly.

Now I want to deploy an OpenMV Cam RT1062 Library, but:

    1. The library zip includes an Image Classification Python script ei_image_classification.py
    1. Label file has one label: “no anomaly”
    1. The TFLite model returns outputs between 0 and 1

{“x”:160, “y”:60, “w”:20, “h”:20, “output”:0.8000001}
{“x”:180, “y”:100, “w”:40, “h”:40, “output”:0.8980392}
{“x”:120, “y”:180, “w”:40, “h”:40, “output”:0.9411765}
{“x”:0, “y”:80, “w”:20, “h”:20, “output”:0.8901961}

while the deploy to TDA4VM returns, as expected, the anomaly scores matrix:

[{“height”:19,“label”:“anomaly”,“value”:4.347522258758545,“width”:19,“x”:0,“y”:0},{“height”:19,“label”:“anomaly”,“value”:3.812622547149658,“width”:19,“x”:19,“y”:0},{“height”:19,“label”:“anomaly”,“value”:3.6791884899139404,“width”:19,“x”:38,“y”:0},{“height”:19,“label”:“anomaly”,“value”:3.572544574737549,“width”:19,“x”:57,“y”:0}, etc

Is there some way to deploy Visual Anomaly for OpenMV?

Thanks again

1 Like

Hi @Bandini

We are working on a fix ATM for the OpenMV firmware, it should be live by tomorrow. Can you try again tomorrow?

Best

Eoin

Sure. Thanks for the answer @Eoin