gregordinary/tflite-rocket — explained in plain English
Analysis updated 2026-05-18
Run object detection models faster on an RK3588 board's NPU instead of only the CPU.
Add NPU-accelerated detection to Frigate, a home security camera system.
Process multiple camera streams at once on embedded hardware without a proprietary toolkit.
Load an unmodified TensorFlow Lite model through a delegate plugin at runtime.
| gregordinary/tflite-rocket | bong-water-water-bong/npu-gpu-cpu | cloudcompare/normals_hough | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | C++ | C++ | C++ |
| Last pushed | — | — | 2018-02-23 |
| Maintenance | — | — | Dormant |
| Setup difficulty | hard | hard | moderate |
| Complexity | 5/5 | 5/5 | 3/5 |
| Audience | developer | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires an RK3588 board with a specific mainline Linux driver, a separately built driver library, and a TensorFlow Lite model to test.
tflite-rocket lets certain small computer boards run AI object detection faster by using a special chip built into them, instead of relying only on the main processor. It specifically targets Rockchip RK3588 boards, which have a built-in NPU, a chip designed to speed up AI calculations. Normally, using that chip requires Rockchip's own proprietary software toolkit. This project lets you use the NPU through the open mainline Linux driver instead, without needing that proprietary toolkit. It works as a plugin, called a delegate, for TensorFlow Lite, a popular framework for running AI models on small devices. When an app using TensorFlow Lite loads this plugin, the plugin looks at the AI model it is asked to run and sends the parts it understands, mainly the image-processing steps used in object detection, to the NPU chip, while sending any parts it does not support to the regular processor instead. The README states this works with an unmodified AI model file, so an app does not need to be rewritten to take advantage of it, though some apps need a small adapter file to load the plugin correctly. The README walks through adding this support to Frigate, a popular home security camera system that watches for objects like people or vehicles in camera footage. According to the README's own benchmark numbers, using the NPU chip does not make a single detection much faster on its own, but it meaningfully increases how many camera streams can be processed at the same time, which is the situation Frigate is usually used in. The README reports the accuracy on the NPU is nearly identical to running the same detection on the regular processor. The README discloses that this project was built primarily by an AI coding assistant, with a person setting goals and providing access to the hardware, and describes it as a side project without guarantees of quality or ongoing updates. Building it requires an RK3588 board running a specific Linux driver, a sibling driver library built first, and a TensorFlow Lite model file to test against, so it is aimed at people already comfortable with embedded Linux and C++ builds.
A TensorFlow Lite plugin that speeds up object detection on Rockchip RK3588 boards by using their built-in NPU chip.
Mainly C++. The stack also includes C++, TensorFlow Lite, Rockchip RK3588.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.