roboflow/inference
Turn any computer or edge device into a command center for your computer vision projects.
roboflow/inference – Self‑hosted computer‑vision inference server
What it is
- A Python package (
inference) that runs a local (or Docker‑based) server turning any computer, edge device, or GPU machine into a full‑featured computer‑vision hub. - It lets you load your own fine‑tuned models or use a catalog of pre‑trained foundation models (e.g., Florence‑2, CLIP, SAM‑2).
- The core idea is Workflows: composable blocks that chain model inference, traditional CV steps (OCR, barcode reading, template matching), and custom Python code into reusable pipelines.
Key capabilities
- Model serving – host any model you’ve trained with Roboflow or pull public models from the catalog.
- Video‑stream processing – ingest RTSP, webcam, or other streams, with GPU‑accelerated batching, decoding, and multiprocessing.
- Workflow engine – drag‑and‑drop style blocks for detection, segmentation, tracking, counting, measuring, notifications, and more. You can also write your own Python blocks.
- API & SDK – a REST API (OpenAPI docs at
/docs) and a Python SDK (inference-sdk) for programmatic control, including starting/stopping video pipelines and consuming results. - Hybrid cloud/edge – run entirely on‑prem for free (no credit usage) or connect to Roboflow Cloud for private models, dataset upload, model monitoring, and managed deployments.
- Enterprise extensions – optional source‑available enterprise module for rugged Jetson‑based “Flowbox” devices, OPC/MQTT integration, and device management.
Quick start
pip install inference-cli
inference server start --dev # pulls the right Docker image and launches a Jupyter notebook at http://localhost:9001/notebook/start
The notebook walks you through loading a model, creating a workflow, and connecting a camera.
Typical use‑cases
- Retail checkout: detect items, compute totals, push results to a database.
- Smart parking: license‑plate detection, vehicle tracking, Telegram alerts.
- Quality‑control on a production line: combine object detection with OCR/barcode checks.
- Visual search or content moderation: run CLIP or SAM‑2 on live streams to find frames matching a text prompt.
Installation & platform support
- Distributed as a pip package; the server runs inside Docker (CPU or GPU images).
- Supports Linux, Windows, macOS, NVIDIA Jetson, Raspberry Pi, and generic cloud VMs.
- GPU acceleration works via NVIDIA Container Toolkit.
Licensing
- The core
inferencecode is Apache 2.0. - Individual models keep their original licenses (e.g., AGPL‑3.0 models must be used under that license).
- Enterprise‑only features are source‑available under a separate commercial license.
Where to learn more
- Full docs: https://inference.roboflow.com
- Workflow gallery with ready‑made pipelines: https://inference.roboflow.com/workflows/gallery
- Video tutorials on YouTube (self‑serve checkout, smart parking, etc.).
Bottom line Roboflow Inference is a production‑ready, self‑hostable platform for building, chaining, and deploying computer‑vision models at scale, with a strong focus on video streams and easy integration into existing systems.
Related
- Project
- Project
- Project
- Project
- Project