<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ouail Bendidi</title>
    <description>The latest articles on DEV Community by Ouail Bendidi (@obendidi).</description>
    <link>https://dev.to/obendidi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4268597%2F63d8b08a-75bd-4a6f-b960-870b033751bb.jpg</url>
      <title>DEV Community: Ouail Bendidi</title>
      <link>https://dev.to/obendidi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/obendidi"/>
    <language>en</language>
    <item>
      <title>Cloud video tracking APIs are shutting down. Here is how to run it locally.</title>
      <dc:creator>Ouail Bendidi</dc:creator>
      <pubDate>Fri, 27 Nov 2026 10:12:54 +0000</pubDate>
      <link>https://dev.to/obendidi/cloud-video-tracking-apis-are-shutting-down-here-is-how-to-run-it-locally-4gh8</link>
      <guid>https://dev.to/obendidi/cloud-video-tracking-apis-are-shutting-down-here-is-how-to-run-it-locally-4gh8</guid>
      <description>&lt;p&gt;If you have a camera watching a doorway, a retail aisle, or a crosswalk, tracking who moves where used to mean sending video to a cloud API. Lately, those services have been shutting down:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure retired Spatial Analysis in March 2025.&lt;/li&gt;
&lt;li&gt;AWS shut down Rekognition People Pathing in October 2025, and closed Streaming Video Analysis to new accounts in April 2026.&lt;/li&gt;
&lt;li&gt;Google deprecated Cloud Video Intelligence in September 2026, with full shutdown set for September 2027. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even before the shutdowns, uploading footage of real people to a cloud service just to count crossings or see how long someone waited in line was slow, expensive, and awkward for privacy.&lt;/p&gt;

&lt;p&gt;And by expensive: Google Cloud Video Intelligence is at $9 to $10.20 per hour of video, a single 24/7 camera costs about $7,300 a month.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tracking video on your own machine
&lt;/h2&gt;

&lt;p&gt;I built &lt;a href="https://github.com/obendidi/trackflow" rel="noopener noreferrer"&gt;Trackflow&lt;/a&gt; so you can run people and object tracking on a laptop or local server, without setting up a heavy surveillance stack or paying for a commercial license.&lt;/p&gt;

&lt;p&gt;To track a video file, you run one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvx trackflow-python run footage.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmzovw8nj8ulwl7o1y1wq.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmzovw8nj8ulwl7o1y1wq.webp" alt="Trackflow tracking pedestrians crossing an intersection with IDs, boxes, and trails" width="720" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The video stays on your machine. Models download once and stay cached offline, and Trackflow writes the output to a flat table you can open straight in DuckDB or Pandas. From the same tool, you can also draw counting lines across a doorway, blur faces in exported clips, or stream frames from a live camera in Python.&lt;/p&gt;

&lt;p&gt;If you are moving an existing pipeline off Google or AWS, the repo has side-by-side migration guides for &lt;a href="https://github.com/obendidi/trackflow/blob/main/docs/migrate-google-video-intelligence.md" rel="noopener noreferrer"&gt;Google Cloud Video Intelligence&lt;/a&gt; and &lt;a href="https://github.com/obendidi/trackflow/blob/main/docs/migrate-aws-rekognition.md" rel="noopener noreferrer"&gt;AWS Rekognition&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How well does it track?
&lt;/h2&gt;

&lt;p&gt;Drawing a box around a person in a single frame is simple. Keeping the same ID on that person when crowds cross paths, someone walks behind a pillar, or a camera pans across a field is where trackers break down.&lt;/p&gt;

&lt;p&gt;To see where Trackflow stands, I tested its built-in trackers against Roboflow's open-source trackers on 81 public validation videos (nearly 60,000 frames of crowded streets, fast sports clips, and dancers in matching outfits). Every tracker received the exact same detections from Trackflow's default model, so the comparison isolates the tracking algorithms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqusbocfuqgj1w2pfdjat.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqusbocfuqgj1w2pfdjat.png" alt="Trackflow vs. Roboflow trackers speed and quality Pareto frontier and per-benchmark academic SOTA context" width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Trackflow leads the accuracy side of the chart across all four datasets and runs close to 10 frames per second on a laptop (about 5.5 frames per second when you turn on appearance matching to keep IDs across longer gaps). The right side also includes academic leaderboard scores for honest context: research papers train a custom detector for each dataset and often fill gaps offline after the video ends, while Trackflow runs one general-purpose model live, frame by frame.&lt;/p&gt;

&lt;p&gt;The full breakdown, hardware details, and reproduction script are in the &lt;a href="https://github.com/obendidi/trackflow#trackers" rel="noopener noreferrer"&gt;Trackflow README&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Searching video in plain English and inspecting runs
&lt;/h2&gt;

&lt;p&gt;Having a table of track IDs is useful until you need to answer an ordinary question like "find the person in the white shirt" or check where a tracker lost someone.&lt;/p&gt;

&lt;p&gt;Trackflow lets you search a finished run offline with plain text, then export the matching time windows if you want to pass those moments to a heavier model later:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;trackflow search runs/run-1 &lt;span class="s2"&gt;"person in white shirt"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Depending on your hardware, you can pick from three search models. Tested on more than 23,000 labeled pedestrian crops, the default model prioritizes speed on a plain CPU, a lightweight middle option improves accuracy without needing PyTorch, and the largest option reaches the highest accuracy on a GPU or Apple Silicon.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmln60p7ihmfl84sjkezv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmln60p7ihmfl84sjkezv.png" alt="Natural-language track search quality vs. speed across 23,287 labeled pedestrian crops" width="800" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you want to look at a run visually, &lt;code&gt;trackflow inspect&lt;/code&gt; opens a local viewer in your browser. You can scrub through the video with boxes and trails, jump straight to moments where an ID was swapped or recovered, search people by description, project paths onto a top-down floorplan, and compare two trackers side by side.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frf5ohnip37ljtdg2bvkt.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frf5ohnip37ljtdg2bvkt.webp" alt="Trackflow Inspector showing live video playback, recovery jumps, two natural-language track searches, and ByteTrack vs BoT-SORT comparison" width="560" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it in your browser
&lt;/h2&gt;

&lt;p&gt;If you want to test tracking on a clip or your webcam before installing anything, open the browser demo at &lt;a href="https://obendidi.github.io/trackflow/" rel="noopener noreferrer"&gt;obendidi.github.io/trackflow&lt;/a&gt;. Everything runs locally inside your browser tab, and no video leaves your device.&lt;/p&gt;

&lt;p&gt;Trackflow and its default models are Apache-2.0. All the technical details, including the Python streaming API, model and license tables, DuckDB queries, and benchmark scripts, live in the &lt;a href="https://github.com/obendidi/trackflow" rel="noopener noreferrer"&gt;GitHub repo&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub and full docs: &lt;a href="https://github.com/obendidi/trackflow" rel="noopener noreferrer"&gt;obendidi/trackflow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Browser demo: &lt;a href="https://obendidi.github.io/trackflow/" rel="noopener noreferrer"&gt;obendidi.github.io/trackflow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Migration guides: &lt;a href="https://github.com/obendidi/trackflow/blob/main/docs/migrate-google-video-intelligence.md" rel="noopener noreferrer"&gt;Google Cloud Video Intelligence&lt;/a&gt; and &lt;a href="https://github.com/obendidi/trackflow/blob/main/docs/migrate-aws-rekognition.md" rel="noopener noreferrer"&gt;AWS Rekognition&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Install: &lt;code&gt;pip install trackflow-python&lt;/code&gt; or &lt;code&gt;uvx trackflow-python run video.mp4&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>computervision</category>
      <category>opensource</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
