An open API service indexing awesome lists of open source software.

https://github.com/qengineering/tensorflow_lite_ssd_rpi_32-bits

TensorFlow Lite SSD on a bare Raspberry Pi 4 at 17 FPS
https://github.com/qengineering/tensorflow_lite_ssd_rpi_32-bits

armv7 armv8 bare-raspberry-pi cpp deep-learning frame-rate high-fps jamesbond lite raspberry-pi-4 ssd-mobilenet tensorflow-examples tensorflow-lite testtensorflow-lite

Last synced: 3 months ago
JSON representation

TensorFlow Lite SSD on a bare Raspberry Pi 4 at 17 FPS

Awesome Lists containing this project

README

          

# TensorFlow_Lite_SSD_RPi_32-bits
![output image]( https://qengineering.eu/images/James_17.jpg )

## TensorFlow Lite SSD running at 17 FPS on bare Raspberry Pi 4

A fast C++ implementation of TensorFlow Lite on a bare Raspberry Pi 4.
Once overclocked to 2000 MHz, the app runs an amazing 17 FPS!
Without any hardware accelerator, just you and your Pi.

https://arxiv.org/abs/1611.10012

Training set: COCO

Size: 300x300

Frame rate V1 Lite : 17 FPS (RPi 4 @ 2000 MHz - 32 bits OS)

Frame rate V1 Lite : 24 FPS (RPi 4 @ 1925 MHz - 64 bits OS) see https://github.com/Qengineering/TensorFlow_Lite_SSD_RPi_64-bits



Special made for a bare Raspberry Pi see: https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html



To extract and run the network in Code::Blocks

$ mkdir *MyDir*

$ cd *MyDir*

$ wget https://github.com/Qengineering/TensorFlow_Lite_SSD_RPi_32-bits/archive/refs/heads/master.zip

$ unzip -j master.zip

Remove master.zip and README.md as they are no longer needed.

$ rm master.zip

$ rm README.md


Your *MyDir* folder must now look like this:

James.mp4

COCO_labels.txt

detect.tflite

TestTensorFlow_Lite.cpb

MobileNetV1.cpp



Run TestTensorFlow_Lite.cpb with Code::Blocks. More info or

if you want to connect a camera to the app, follow the instructions at [Hands-On](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html#HandsOn).

See the movie at: https://youtu.be/uspw6KztkeQ

------------

[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPZTM5BB3FCYL)