Hi,Sherlock987
Thank you for your detailed reply.
I think your inaccurate identification is probably due to the problem of the trained model. I have checked the model_data_len = 1309552 in your model file INT8_out-of-INT8, it is too big ,and I guess your model is not quantized. Please check the options in the following figure during the training of the model using eIQ.
XuZhang_0-1729652285327.png
According to your reply, I used frdmmcxn947_tflm_label_image demo to test the accuracy of static digital data, and I put the modified program in the attachment. The following changes were made:
1. Replace the model.
2. Modify the hexadecimal data of the stopwatch image to that of the digital image. You can use the py script to convert the image, the script is attached, you can use different data to test your model.
XuZhang_1-1729652713381.png
3. Change labels
Then, I use frdmmcxn947_mpp_camera_mobilenet_view_tflm demo to realize the recognition of numbers by the camera. The code is attached. You can replace the trained model for testing. In my testing process, inaccurate model identification also occurred, which was related to many factors, including the number of samples, parameters set in the training process and the results of model quantization.
XuZhang_2-1729652732947.png
Wish it helps you.
BR
Joey