How to Run RF-DETR on Any ONVIF Camera with Roboflow Cloud Streaming Roboflow published a guide for running its RF-DETR object-detection model on existing ONVIF-compliant IP cameras through Roboflow Cloud Streaming, which runs inference on Roboflow-managed GPUs while a lightweight Video Connector on local hardware discovers cameras and reads their media profiles. The connector uses outbound connections only and performs no inference, so users avoid buying GPU hardware or opening router ports. The guide walks through building a Roboflow Workflow that counts people and vehicles and returns the counts as JSON, and notes that ONVIF Profile S is being deprecated with the last conformance submissions on March 31, 2027, while Profile Q was deprecated as of April 1, 2022. Many shops, offices, and construction sites already have IP cameras installed, and many of them support ONVIF, a standard that lets cameras and software from different manufacturers work together. To run RF-DETR on an ONVIF camera, you need a way to read its live video stream and run inference without adding dedicated compute hardware at each site. With Roboflow Cloud Streaming, you can run computer vision models on your existing cameras using Roboflow-managed GPUs. A lightweight Video Connector opens in a new tab runs on a computer you already own near your cameras, discovers ONVIF cameras, and reads their media profiles. The connector uses outbound connections only and runs no inference, so you don't need to buy GPU hardware or open ports on your router. In this guide, you'll learn what ONVIF is and how a camera shares its RTSP stream. Then you'll set up the Video Connector, build a Roboflow Workflow that uses Roboflow's RF-DETR opens in a new tab to count people and vehicles, test and deploy it, and read the counts as JSON in your own application. What is ONVIF? A single building often has cameras from different brands. Video software still needs one common way to find each camera, read its settings and open its video. ONVIF provides that common way. ONVIF defines how IP-based security products such as network cameras talk to video software. It provides standardized interfaces for effective interoperability of IP-based physical security products and services. In simple terms, it is a shared language that cameras and video software from different brands both speak. Software that talks to an ONVIF camera is called an ONVIF client, and the conversation runs on web services opens in a new tab . The client finds cameras with WS-Discovery opens in a new tab messages sent over UDP. It then sends SOAP messages over HTTP or HTTPS to read a camera's media profiles and ask for its stream address. ONVIF does not carry the video itself. Instead, it tells software where the stream is. RTSP then starts and controls the video session, while RTP carries the video frames. A device can conform to more than one profile. For example, a camera with local storage can conform to both Profile T and Profile G. Here are the ONVIF profiles opens in a new tab and what each one covers: Profile What it covers Status Profile S Live video streaming and PTZ control Deprecation in process; last conformance submissions March 31, 2027 Profile T Video streaming with H.264 and H.265, imaging settings, motion and tampering alarms, and metadata streaming Current Profile G Recording and storage on the device or over the network Current Profile M Analytics metadata and events, such as object counting, face, and license plate recognition Current Profile A Access control configuration: access rules, credentials, and schedules Current Profile C Access control: site information, door access, events, and alarms Current Profile D Access control peripherals such as card and biometric readers, keypads, locks, and sensors Current Profile V Cloud video surveillance: live streaming, cloud recording, and event notifications Release candidate Profile Q Out-of-the-box setup Deprecated as of April 1, 2022 How does an ONVIF camera share its RTSP stream? An ONVIF camera does not push video to anyone on its own. An ONVIF client first has to find the camera and ask which streams it offers. A typical client does this in five simple steps. Find the camera: The client sends a WS-Discovery opens in a new tab Probe message to the local network over UDP. Each ONVIF camera in discoverable mode, which is the default opens in a new tab , answers a matching probe with a ProbeMatches message. Its XAddrs field lists one or more addresses of the camera's device service. A client that already knows the camera's address can skip this step. Ask for its services: A GetServices request to the device service returns the address of every other service on the camera, including the media service. List the media profiles: A GetProfiles request returns the camera's media profiles. A media profile maps a video and/or audio source to a video and/or an audio encoder, PTZ and analytics configurations opens in a new tab . One camera often has several, such as a high-resolution main stream and a smaller sub stream. A media profile is not the same as Profile S or Profile T. Those ONVIF profiles describe the features a conformant product supports, while a media profile is one stream setup on one camera. Ask for the stream address: A GetStreamUri request with a profile token asks for "a URI that can be used to initiate a live media stream". The camera answers with an address such as rtsp://