← all repositories
symisc/sod

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.

sod
Velocity · 7d
+0.6
★ / day
Trend
steady
star history

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.c amalgamated)
  • 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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.