Choosing the Right Tool
When to use the Inference server, the inference package, the Inference SDK, and the Inference CLI.
Inference is the open source computer vision deployment framework behind Roboflow's hosted APIs. It ships as four pieces that work together. For self-hosting, run the server and talk to it with the SDK. For managed live-camera processing, start with Cloud Streaming instead of installing a runtime.
A Docker container that exposes models and Workflows over an HTTP API.
You want one deployment that many clients, languages, or video streams can call.
The Python library that loads and runs models in your own process.
Your Python app runs on the same machine as the model and does not need an HTTP interface.
A Python HTTP client for the server.
Call compatible methods on a local server, the Serverless Cloud API, or a Dedicated Deployment. Changing api_url does not create a Cloud Streaming deployment.
A command-line tool for managing servers and running models and Workflows.
Install and manage a server, run one-off predictions, or benchmark a deployment.
For the architecture of a running server (how requests, video streams, and Workflows flow through it), see Inference Architecture. To install and run the server on your own hardware, start with Self-Hosted Deployment.
Example notebooks
Runnable notebooks that solve a specific problem with Inference:
Use CLIP to classify videos - identify the similarity of frames in a video to arbitrary text prompts.
Stream video with self-hosted WebRTC: process a webcam, RTSP stream, or video file on your own Inference Server. For managed live cameras, use the Cloud Streaming quickstart.
RGB anomaly detection - verify that the color in a segmentation mask is correct.
The Roboflow Notebooks repository has many more training and deployment examples.
Community and source code
Inference on GitHub - source code, issues, and feature requests. See CONTRIBUTING.md to contribute.
Roboflow Forum - get help from and connect with a community of computer vision developers.
Roboflow Blog - tutorials, model releases, and computer vision news.
Supervision - reusable utilities for annotating, filtering, and tracking predictions.
Last updated
Was this helpful?