One C file, no dependencies, and it detects faces on a toaster
SOD is a computer-vision library that shrinks deep learning down to single-file C for embedded hardware.

What it does
SOD is a C library that runs CNNs, RNNs, and decision trees for object detection, face recognition, license-plate extraction, and more. The entire library ships as one amalgamated sod.c file with zero dependencies, targeting CPUs and IoT devices that can’t afford a GPU.
The interesting bit The project includes its own architecture called RealNets, plus pre-trained models you can download. It also claims to interpolate with OpenCV, which suggests you can drop it into an existing pipeline without rewriting everything.
Key highlights
- Single-file C deployment (
sod.camalgamated) - Pre-trained models for 20-class and 80-class object detection
- RealNets architecture with CPU-capable training
- RNN support for text generation (Shakespeare, Python code, etc.)
- Dual-licensed, last release 1.1.9 in July 2023
Caveats
- Last release was July 2023; “actively developed” is claimed but not verifiable from this README alone
- “State-of-the-art” is the project’s own wording, not independently benchmarked here
- Real-world performance numbers (FPS, memory, accuracy) are not provided in the README
Verdict Worth a look if you’re shipping computer vision to a microcontroller or need a drop-in C alternative to heavier frameworks. Skip it if you need GPU acceleration or a project with recent commit activity you can verify.