Skip to main content
BFaru.1
Associate II
March 22, 2023
Question

How do I send an input image through my PC to my STM32U585 Discovery kit to classify the image? I have made a tensorflow model and exported that model in tflite format to my microcontroller. Now how do i send an input image and where do I see the res

  • March 22, 2023
  • 2 replies
  • 1568 views

..

This topic has been closed for replies.

2 replies

fauvarque.daniel
ST Employee
March 22, 2023

Using X-Cube-AI and the validation on the target, you can pass a Numpy array with the input and expected output.

The validation on target will send the data, retrieve the result and give you cross matrix or accuracy numbers

Regards

BFaru.1
BFaru.1Author
Associate II
March 22, 2023

Should I pass a jpg image in "validation input" then click on "validate on target"?

MTu.2
Associate
April 12, 2023

No, STM32 does not support image format input, you need to convert the image to NumPy (.npy Document) test set first.
_legacyfs_online_stmicro_images_0693W00000bhu7SQAQ.png