#203 · Primary category: Computer Vision
clip.cpp
CLIP inference in plain C/C++ with no extra dependencies
Project last updated:08/24/26
GitHub Stars
568
Forks
52
Contributors
10
License
MIT
Why we included this project
Running CLIP embeddings usually means pulling in PyTorch and a few hundred megabytes of dependencies, which is a non-starter on small devices. clip.cpp takes a different route: it's a plain C/C++ implementation on top of ggml that loads OpenAI and LAION CLIP models converted to GGUF, and its 4-bit quantization brings a model down to about 85 MB. That makes it a realistic choice for edge hardware, embedded systems, and serverless functions where cold starts and memory limits rule out heavyweight frameworks. The repo includes working examples for semantic image search and zero-shot labeling, plus a Python binding that only needs the standard library, so you can test the same pipeline in a lighter environment. If you're building image retrieval or multimodal encoders on constrained infrastructure, this gives you a direct path from model conversion to a running binary.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)