<?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: x549d</title>
    <description>The latest articles on DEV Community by x549d (@x549d).</description>
    <link>https://dev.to/x549d</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%2F4233237%2Fefc3e2a4-d369-4f29-b4a8-190bb44d8130.png</url>
      <title>DEV Community: x549d</title>
      <link>https://dev.to/x549d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/x549d"/>
    <language>en</language>
    <item>
      <title>Detect Objects in Video and Export Activity Records with Python</title>
      <dc:creator>x549d</dc:creator>
      <pubDate>Sun, 08 Nov 2026 07:12:17 +0000</pubDate>
      <link>https://dev.to/x549d/detect-objects-in-video-and-export-activity-records-with-python-3bh</link>
      <guid>https://dev.to/x549d/detect-objects-in-video-and-export-activity-records-with-python-3bh</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
    video-ai-saver is an open-source Python library and CLI that detects objects in video, selects regions for vision-language model analysis, and exports structured activity records.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;It supports video files, webcams and RTSP streams. The project is early alpha; real-world accuracy and cost savings remain to be validated.[video-ai-saver](https://github.com/x549d/video-ai-saver)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;New: local web workspace. Prefer a GUI over the command line? Run &lt;code&gt;python -m cascade_vision.web&lt;/code&gt; and open &lt;a href="http://127.0.0.1:8765" rel="noopener noreferrer"&gt;http://127.0.0.1:8765&lt;/a&gt;. Import a video and click Analyze: the workspace shows frame counts, motion filtering, API usage, and a filterable list of timestamped events. Click an event to inspect its bounding box or jump to that point in the original video, and download the run summary and event records from the same page. The interface defaults to real local detection with simulated descriptions and makes no paid API calls; use Run offline demo to explore it with synthetic footage. Step-by-step tutorial with screenshots: &lt;a href="https://github.com/x549d/video-ai-saver/blob/main/docs/WEB.en.md" rel="noopener noreferrer"&gt;docs/WEB.en.md&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;New: Codex plugin. Want Codex to review a video without sending it the whole file? Install the Video AI Saver plugin: it scans the video locally for visual changes and hands Codex a timestamped contact sheet plus a few JPEG frames, so Codex can find the moments worth reviewing. The screening step needs no API key and never uploads the original video. Install the plugin and try the example: docs/CODEX.en.md (&lt;a href="https://github.com/x549d/video-ai-saver/blob/main/docs/CODEX.en.md" rel="noopener noreferrer"&gt;https://github.com/x549d/video-ai-saver/blob/main/docs/CODEX.en.md&lt;/a&gt;).&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What Does It Do?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The pipeline combines OpenCV motion filtering, YOLO detection, ByteTrack tracking and background semantic analysis.&lt;/p&gt;

&lt;p&gt;Its output can help you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Locate selected observations in the original video.&lt;/li&gt;
&lt;li&gt;Filter records by object category or event label.&lt;/li&gt;
&lt;li&gt;Feed descriptions into your own database or dashboard.&lt;/li&gt;
&lt;li&gt;Compare sampling policies using recall, latency and API usage.
How to Try It
With Python 3.9 or newer:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  git clone https://github.com/x549d/video-ai-saver.git
  &lt;span class="nb"&gt;cd&lt;/span&gt; video-ai-saver
  python -m pip install -e .

  python -m cascade_vision.cli demo --mock-vlm \
    --event-labels person,backpack \
    --report-json reports/demo.json \
    --events-jsonl reports/events.jsonl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The demo generates synthetic frames and mock descriptions. After installation, it needs no footage, camera or API key and sends no paid API requests.

Real video detection requires the optional YOLO dependencies. Real semantic analysis requires a configured model API and may incur charges.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;How to Use the Results&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;demo.json summarizes processed frames, task outcomes, usage and timing.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;events.jsonl contains individual observations with time information, categories, activity descriptions and event labels.&lt;br&gt;
Use these records to build a review list, filter relevant observations or connect another application. Demo records contain simulated: true; they demonstrate the format, not recognition accuracy.&lt;/p&gt;

&lt;p&gt;I’d welcome feedback on installation and whether the output fits your video-analysis workflow.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>python</category>
    </item>
  </channel>
</rss>
