Giter Site home page Giter Site logo

qengineering / tensorflow_lite_segmentation_rpi_32-bit Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 11.79 MB

TensorFlow Lite segmentation on Raspberry Pi 4 aka Unet at 4.2 FPS

Home Page: https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html

License: BSD 3-Clause "New" or "Revised" License

C++ 100.00%
tensorflow-lite tensorflow-examples raspberry-pi-4 deep-learning segmentation unet unet-image-segmentation unet-tensorflow unet-segmentation cpp

tensorflow_lite_segmentation_rpi_32-bit's Introduction

TensorFlow_Lite_Segmentation_RPi_32

output image

TensorFlow Lite Segmentation on a bare Raspberry Pi 32-bit OS.

License

A fast C++ implementation of TensorFlow Lite Unet on a bare Raspberry Pi 4.
Once overclocked to 1900 MHz, the app runs at 4.0 FPS!
Special made for a bare Raspberry Pi 4 see Q-engineering deep learning examples


Papers: https://arxiv.org/abs/1606.00915
Training set: VOC2017
Size: 257x257


Benchmark.

Frame rate Unet Lite : 4.0 FPS (RPi 4 @ 1900 MHz - 32 bits OS)
Frame rate Unet Lite : 7.2 FPS (RPi 4 @ 1850 MHz - 64 bits OS)


Dependencies.

To run the application, you have to:


Installing the app.

To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/TensorFlow_Lite_Segmentation_RPi_32/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:
cat.jpg.mp4
deeplabv3_257_mv_gpu.tflite
TestUnet.cpb
Unet.cpp


Running the app.

Run TestUnet.cpb with Code::Blocks. More info or
if you want to connect a camera to the app, follow the instructions at Hands-On.


paypal

tensorflow_lite_segmentation_rpi_32-bit's People

Contributors

qengineering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.