I have OpenMV Cam H7
I have two questions regarding TFLite on openmv:-
-
I built a model using Keras and quantized it using tflite, it has an accuracy of 96% after quantization.
it takes grayscale images of size 28x28 pixels as an input, how to provide this input to the neural network in openMV. I want the image to scale properly to 28x28. -
If I build a model which works on grayscale images with values between 0 and 1 rather than 0-255, how to give this as an input in OpenMV, as OpenMV takes grayscale images but I want them to have a value between 0 and 1. is there a way to multiply each pixel by 1/255?
Thanks