<?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: kabilarasan</title>
    <description>The latest articles on DEV Community by kabilarasan (@kabilarasan_b).</description>
    <link>https://dev.to/kabilarasan_b</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%2F4147098%2Ffa46b0fc-c530-41ba-adfc-9d4e9c5beb38.png</url>
      <title>DEV Community: kabilarasan</title>
      <link>https://dev.to/kabilarasan_b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kabilarasan_b"/>
    <language>en</language>
    <item>
      <title>I built an open-source, local-first video polygon annotation app powered by Meta's Segment Anything 2 (SAM 2.1)</title>
      <dc:creator>kabilarasan</dc:creator>
      <pubDate>Mon, 28 Sep 2026 12:08:29 +0000</pubDate>
      <link>https://dev.to/kabilarasan_b/i-built-an-open-source-local-first-video-polygon-annotation-app-powered-by-metas-segment-anything-4mnf</link>
      <guid>https://dev.to/kabilarasan_b/i-built-an-open-source-local-first-video-polygon-annotation-app-powered-by-metas-segment-anything-4mnf</guid>
      <description>&lt;p&gt;Hi everyone! 👋&lt;/p&gt;

&lt;p&gt;I built SAM2 Video Polygon Annotator, an open-source, local-first desktop application designed to streamline the dataset preparation pipeline from raw video footage to production-ready computer vision datasets.&lt;/p&gt;

&lt;p&gt;Instead of drawing tedious point-by-point polygons, it leverages Meta's Segment Anything 2 (SAM 2 / SAM 2.1 Hiera) to generate clean, sub-pixel polygon masks in milliseconds using zero-shot positive/negative points or bounding boxes.&lt;/p&gt;

&lt;p&gt;🔗 GitHub Repository: &lt;a href="https://github.com/kabilme/SAM2.git" rel="noopener noreferrer"&gt;https://github.com/kabilme/SAM2.git&lt;/a&gt;&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%2F0h2iy0k9a3nheqp4dwh0.jpg" 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%2F0h2iy0k9a3nheqp4dwh0.jpg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🌟 Key Features:&lt;br&gt;
🔒 100% Local &amp;amp; Private: Runs completely on your workstation. No cloud uploads, no subscriptions.&lt;/p&gt;

&lt;p&gt;⚡ Zero-Shot Prompting: Click positive (+) points on objects, negative (-) points to exclude background bleed, or draw bounding boxes for instant contour segmentation.&lt;/p&gt;

&lt;p&gt;🎯 Object Tracking &amp;amp; Multi-Frame Propagation: Track and propagate object masks forward across video sequences in the background.&lt;/p&gt;

&lt;p&gt;✏️ Interactive Vertex Editor: Drag vertices, click polygon edges to insert points, or right-click to delete.&lt;/p&gt;

&lt;p&gt;🎬 Multi-Video Support &amp;amp; Frame Management: Ingest multiple videos, sample frames at custom rates, delete unwanted frames with automatic continuous re-indexing (1..N), and mark negative/null background frames to suppress false positives.&lt;/p&gt;

&lt;p&gt;📦 7 Universal Export Formats:&lt;/p&gt;

&lt;p&gt;YOLOv8 Instance Segmentation (normalized polygons + data.yaml)&lt;/p&gt;

&lt;p&gt;YOLOv8 Object Detection (normalized bounding boxes class_id cx cy w h + data.yaml)&lt;/p&gt;

&lt;p&gt;COCO 1.0 JSON (instances_*.json for Detectron2 / MMDetection / Hugging Face)&lt;/p&gt;

&lt;p&gt;Pascal VOC &amp;amp; Semantic Masks (XML  &amp;amp;  + 8-bit palette indexed PNG masks)&lt;/p&gt;

&lt;p&gt;LabelMe JSON (per-image .json format)&lt;/p&gt;

&lt;p&gt;MOT / MOTChallenge Tracking (gt.txt + seqinfo.ini + img1/ with persistent track IDs for ByteTrack/DeepSORT)&lt;/p&gt;

&lt;p&gt;Rendered Video Overlays (MP4 video with alpha-blended polygon fills, outlines, labels, and track badges)&lt;/p&gt;

&lt;p&gt;✅ Built-In Multi-Format Validator: Automatically inspects coordinate normalization $[0.0, 1.0]$, relational integrity, and topology before you train.&lt;/p&gt;

&lt;p&gt;🖥️ Cross-Platform &amp;amp; GPU/CPU: Built on PySide6, PyTorch, and OpenCV. Runs sub-30ms on NVIDIA GPUs, with full CPU fallback support.&lt;/p&gt;

&lt;p&gt;🔗 GitHub Repository: &lt;a href="https://github.com/kabilme/SAM2.git" rel="noopener noreferrer"&gt;https://github.com/kabilme/SAM2.git&lt;/a&gt;&lt;/p&gt;

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