TinyCamML / Boron-and-OpenMV

This repo is continued progress between Boron and OpenMV as a self contained device that can successfully monitoring flooding on roadways.
MIT License
0 stars 0 forks source link

new model, using new data from field deployment #37

Closed ebgoldstein closed 2 months ago

ebgoldstein commented 2 months ago

new model is in this repository: https://github.com/TinyCamML/OMVmodel

(so this repository does not get clogged with ML model experiments)

ebgoldstein commented 2 months ago

I can now confirm that the new model works on the OpenMV. @efarq , if you want to use the new model, i put it in the firmware/ folder

New model can be incorporated in two steps:

  1. Copy the new model to the OpenMV.

  2. Change the OpenMV code:

https://github.com/TinyCamML/Boron-and-OpenMV/blob/288770fa9753a56629b3a7ac2529ff414278665d/Firmware/OpenMV/PublishOpenMV.py#L10-L11

to: net = tf.load('MNv2Flood_cat_Sept2024.tflite', load_to_fb=True)