Summery of EdjeElectronics https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/blob/master/Raspberry_Pi_Guide.md
Prepare Raspberry PI
- Download Raspbian Buster with desktop (without recommanded software)
- enable ssh on image
- Boot with new image
- login over ssh
- change password
- sudo apt-get update -y && sudo apt-get upgrade -y
- enable vnc
- reboot
Install Tensorflow
git clone https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi.gitmv TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi tflite1cd tflite1- Create an virtual enviroment
sudo pip3 install virtualenvpython3 -m venv tflite1-envsource tflite1-env/bin/activatebash get_pi_requirements.sh
Setting up models
- Using Google
- https://www.tensorflow.org/lite/models/object_detection/overview
ORwget https://storage.googleapis.com/download.tensorflow.org/models/tflite/coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.zip