Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

inference

> DevOps
Open source

Turn any computer or edge device into a command center for your computer vision projects.

2.4K stars0 likes1 views
WebsiteGitHub

About

Turn any computer or edge device into a command center for your computer vision projects.

Make Any Camera an AI Camera

Inference turns any computer or edge device into a command center for your computer vision projects.

  • ️ Self-host your own fine-tuned models
  • Access the latest and greatest foundation models (like Florence-2, CLIP, and SAM2)
  • Use Workflows to track, count, time, measure, and visualize
  • ️ Combine ML with traditional CV methods (like OCR, Barcode Reading, QR, and template matching)
  • Monitor, record, and analyze predictions
  • Manage cameras and video streams
  • Send notifications when events happen
  • Connect with external systems and APIs
  • Extend with your own code and models
  • Deploy production systems at scale

See Example Workflows for common use-cases like detecting small objects with SAHI, multi-model consensus, active learning, reading license plates, blurring faces, background removal, and more.

Time In Zone Workflow Example

quickstart

Install Docker (and NVIDIA Container Toolkit for GPU acceleration if you have a CUDA-enabled GPU). Then run

bash
pip install inference-cli && inference server start --dev

This will pull the proper image for your machine and start it in development mode.

In development mode, a Jupyter notebook server with a quickstart guide runs on http://localhost:9001/notebook/start. Dive in there for a whirlwind tour of your new Inference Server's functionality!

Now you're ready to connect your camera streams and start building & deploying Workflows in the UI or interacting with your new server via its API.

️ build with Workflows

A key component of Inference is Workflows, composable blocks of common functionality that give models a common interface to make chaining and experimentation easy.

With Workflows, you can:

  • Detect, classify, and segment objects in images using state-of-the-art models.
  • Use Large Multimodal Models (LMMs) to make determinations at any stage in a workflow.
  • Seamlessly swap out models for a given task.
  • Chain models together.
  • Track, count, time, measure, and visualize objects.
  • Add business logic and extend functionality to work with your external systems.

Workflows allow you to extend simple model predictions to build computer vision micro-services that fit into a larger application or fully self-contained visual agents that run on a video stream.

Learn more, read the Workflows docs, or start building.

<td width="300" valign="top">
  <a href="https://youtu.be/aPxlImNxj5A">
    
  </a>
</td>

<td valign="middle">
  <strong>
    <a href="https://youtu.be/aPxlImNxj5A">Tutorial: Build an AI-Powered Self-Serve Checkout</a>
  </strong><br />
  <strong>Created: 2 Feb 2025</strong><br /><br />
  Make a computer vision app that identifies different pieces of hardware, calculates
  the total cost, and records the results to a database.
</td>
<td width="300" valign="top">
  <a href="https://youtu.be/tZa-QgFn7jg">
    
  </a>
</td>

<td valign="middle">
  <strong>
    <a href="https://youtu.be/tZa-QgFn7jg">Tutorial: Build a Smart Parking System</a>
  </strong><br />
  <strong>Created: 27 Nov 2024</strong><br /><br />
  Build a smart parking lot management system using Roboflow Workflows!
  This tutorial covers license plate detection with YOLOv8, object tracking
  with ByteTrack, and real-time notifications with a Telegram bot.
</td>
  </a>
</td>
<td valign="middle">
  <strong>
    <a href="https://youtu.be/r3Ke7ZEh2Qo">
      Tutorial: Intro to Workflows
    </a>
  </strong><br />
  <strong>Created: 6 Jan 2025</strong><br /><br />
  Learn how to build and deploy Workflows for common use-cases like detecting
  vehicles, filtering detections, visualizing results, and calculating dwell
  time on a live video stream.
</td>

connecting via api

Once you've installed Inference, your machine is a fully-featured CV center. You can use its API to run models and workflows on images and video streams. By default, the server is running locally on localhost:9001.

To interface with your server via Python, use our SDK:

bash
pip install inference-sdk

Then run an example model comparison Workflow like this:

python
from inference_sdk import InferenceHTTPClient

client = InferenceHTTPClient(
    api_url="http://localhost:9001", # use local inference server
    # api_key="<YOUR API KEY>" # optional to access your private data and models
)

result = client.run_workflow(
    workspace_name="roboflow-docs",
    workflow_id="model-comparison",
    images={
        "image": "https://media.roboflow.com/workflows/examples/bleachers.jpg"
    },
    parameters={
        "model1": "yolov8n-640",
        "model2": "yolov11n-640"
    }
)

print(result)

In other languages, use the server's REST API; you can access the API docs for your server at /docs (OpenAPI format) or /redoc (Redoc Format).

Check out the inference_sdk docs to see what else you can do with your new server.

connect to video streams

The inference server is a video processing beast. You can set it up to run Workflows on RTSP streams, webcam devices, and more. It will handle hardware acceleration, multiprocessing, video decoding and GPU batching to get the most out of your hardware.

This example workflow will watch a stream for frames that CLIP thinks match an inputted text prompt.

…

Pipeline outputs can be consumed via API for downstream processing or the Workflow can be configured to call external services with Notification blocks (like Email or Twilio) or the Webhook block. For more info on video pipeline management, see the Video Processing overview.

If you have a Roboflow account & have linked an API key, you can also remotely monitor and manage your running streams via the Roboflow UI.

connect to the cloud

Without an API Key, you can access a wide range of pre-trained and foundational models and run public Workflows.

Pass an optional Roboflow API Key to the inference_sdk or API to access additional features enhanced by Roboflow's Cloud platform. When running with an API Key, usage is metered according to Roboflow's pricing tiers.

Open Access With API Key (Metered)
Pre-Trained Models ✅ ✅
Foundation Models ✅ ✅
Video Stream Management ✅ ✅
Dynamic Python Blocks ✅ ✅
Public Workflows ✅ ✅
Private Workflows ✅
Fine-Tuned Models ✅
Universe Models ✅
Active Learning ✅
Serverless Hosted API ✅
Dedicated Deployments ✅
Commercial Model Licensing Paid
Device Management Enterprise
Model Monitoring Enterprise

️ hosted compute

If you don't want to manage your own infrastructure for self-hosting, Roboflow offers a hosted Inference Server via one-click Dedicated Deployments (CPU and GPU machines) billed hourly, or simple models and Workflows via our serverless Hosted API billed per API-call.

We offer a generous free-tier to get started.

️ run on-prem or self-hosted

Inference is designed to run on a wide range of hardware from beefy cloud servers to tiny edge devices. This lets you easily develop against your local machine or our cloud infrastructure and then seamlessly switch to another device for production deployment.

inference server start attempts to automatically choose the optimal container to optimize performance on your machine (including with GPU acceleration via NVIDIA CUDA when available). Special installation notes and performance tips by device are listed below:

  • Linux
  • Windows
  • Mac
  • NVIDIA Jetson
  • Raspberry Pi
  • Your Own Cloud
  • Other Devices

⭐️ New: Enterprise Hardware

For manufacturing and logistics use-cases Roboflow now offers the NVIDIA Jetson-based Flowbox, a ruggedized CV center pre-configured with Inference and optimized for running in secure networks. It has integrated support for machine vision cameras like Basler and Lucid over GigE, supports interfacing with PLCs and HMIs via OPC or MQTT, enables enterprise device management through a DMZ, and comes with the support of our team of computer vision

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonagentsclassificationcomputer-visiondeployment

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理