CMSIS NN Lib example arm_nnexample_cifar10 for Cortex-M4 and Cortex-M7.
-
Generare l'eseguibile per il microcontrollore e caricarlo:
$ make
$ make flash
-
Eseguire il programma python per interagire con MCU
$ cd script
$ python cifar10.py -h
(per vedere l'usage info)$ python cifar10.py -d /dev/ttyACM0 -i frog1.jpg
(attendere i risultati)
Dipendenze python: pyserial opencv-python