├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # tensorflow-lite-raspberrypi 2 | 3 | ![tensorflow-lite-raspberrypi](https://i.ibb.co/T43zRmZ/tensorflow-lite-raspberrypi.png) 4 | 5 | Precompiled **TensorFlow Lite 2.19.0** binaries for **Raspberry Pi 3 & 4**. 6 | Read the following [blog post](https://lindevs.com/install-precompiled-tensorflow-lite-on-raspberry-pi) for additional information. 7 | 8 | ## Supported features 9 | 10 | * NEON optimization 11 | * VFPv4 optimization 12 | * XNNPACK delegate 13 | * Ruy matrix multiplication library 14 | * MMAP-based allocation 15 | * C and C++ APIs 16 | * Python 3 bindings 17 | 18 | ## Prerequisites 19 | 20 | ### Supported Boards 21 | 22 | * Raspberry Pi 3 Model A+ 23 | * Raspberry Pi 3 Model B+ 24 | * Raspberry Pi 4 Model B 25 | 26 | Tested on Raspberry Pi 4 Model B (8 GB). 27 | 28 | ### Supported OS 29 | 30 | * Raspberry Pi OS Bookworm 64-bit 31 | 32 | ## Install 33 | 34 | ```shell 35 | wget https://github.com/prepkg/tensorflow-lite-raspberrypi/releases/latest/download/tensorflow-lite_64.deb 36 | ``` 37 | 38 | ```shell 39 | sudo apt install -y ./tensorflow-lite_64.deb 40 | ``` 41 | 42 | ## Uninstall 43 | 44 | ```shell 45 | sudo apt purge --autoremove -y tensorflow-lite 46 | ``` 47 | 48 | ## Debian Package 49 | 50 | Debian package contains the following shared libraries: 51 | 52 | | Library | Description | 53 | |:----------------------------|:-----------------------------------------------------------------------| 54 | | libtensorflowlite_c.so | C API to access TensorFlow Lite interpreter and perform an inference | 55 | | libtensorflow-lite.so | C++ API to access TensorFlow Lite interpreter and perform an inference | 56 | 57 | ## Reference 58 | 59 | 1. [TensorFlow Lite repository](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite) 60 | --------------------------------------------------------------------------------