2020年7月9日 星期四

[RPi] TFLite

辛辛苦苦安裝,最後一行搞定。全新不用安裝其他東西(也不用先裝 OpenCV)
$ pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl

再配上範例程式就可以測試了
https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/raspberry_pi


這幾篇參考
* https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html
* https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html
* https://www.tensorflow.org/lite/examples