Test image classfication using Tensorflow Lite. Make sure Tensorflow Lite interpreter is installed.
This is the official example from Tensorflow Lite
Download the model and place it in the data subfolder
cd python
curl -O https://storage.googleapis.com/download.tensorflow.org/models/tflite/mobilenet_v1_1.0_224_quant_and_labels.zip
unzip mobilenet_v1_1.0_224_quant_and_labels.zip -d data
rm mobilenet_v1_1.0_224_quant_and_labels.zip
To run a test (You must have CSI camera installed)
python3 image_classification.py
Put a photo to the camera.
You need to connect to a monitor via HMDI in order to see the camera preview screen, if you are using VNC, you can go to 'VNC Server - Options' > Troubleshooting, check the 'Enable direct capture model'