<?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: MAHIR</title>
    <description>The latest articles on DEV Community by MAHIR (@mahir_neema).</description>
    <link>https://dev.to/mahir_neema</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%2F4162285%2F5a5d60d1-8c9b-4e23-8a57-7e501db1a1e5.png</url>
      <title>DEV Community: MAHIR</title>
      <link>https://dev.to/mahir_neema</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahir_neema"/>
    <language>en</language>
    <item>
      <title>🚗 I Built DriveSafe So My Friends Never Have to Scrub Through Hours of Dashcam Footage Again</title>
      <dc:creator>MAHIR</dc:creator>
      <pubDate>Sun, 04 Oct 2026 23:32:10 +0000</pubDate>
      <link>https://dev.to/mahir_neema/drivesafe-35mh</link>
      <guid>https://dev.to/mahir_neema/drivesafe-35mh</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DriveSafe&lt;/strong&gt; is a privacy-first AI platform that turns hours of dashcam footage into an intelligent, searchable driving history.&lt;/p&gt;

&lt;p&gt;A few of my friends drive regularly and use dashcams. Quite often, someone might cross the road unexpectedly, a close call might happen, or another driver might do something unusual, and they need to find that exact moment in the dashcam footage.&lt;/p&gt;

&lt;p&gt;The problem is that finding one specific moment in hours of video can take several minutes of manually scrubbing through the recording.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;DriveSafe&lt;/strong&gt; to make this simple. Instead of searching through the entire video, AI identifies important moments automatically and helps you quickly find the exact part of the drive you are looking for.&lt;/p&gt;

&lt;p&gt;DriveSafe automatically identifies potentially important moments such as &lt;strong&gt;pedestrians, cyclists, close vehicle encounters, and sudden scene changes&lt;/strong&gt;, creates clips and an interactive timeline, and lets you search historical drives using natural language.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🚗 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://drivesafe-gs66.onrender.com/" rel="noopener noreferrer"&gt;https://drivesafe-gs66.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🎥 &lt;strong&gt;Video Demo:&lt;/strong&gt; &lt;a href="https://drive.google.com/file/d/1eD3sBaNlxmHwgaiHW-d83Q-_5YtZhKxQ/view?usp=sharing" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1eD3sBaNlxmHwgaiHW-d83Q-_5YtZhKxQ/view?usp=sharing&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;💻 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Mahir-Neema/drivesafe" rel="noopener noreferrer"&gt;https://github.com/Mahir-Neema/drivesafe&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;DriveSafe is built around &lt;strong&gt;Google Gemma 4&lt;/strong&gt;, with &lt;strong&gt;Temporal&lt;/strong&gt; handling the durable video-processing workflow.&lt;/p&gt;

&lt;p&gt;The pipeline is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dashcam Video → Temporal Workflow → Frame Extraction → Gemma Vision Analysis → Event Detection → Clip Generation → Embeddings → MongoDB → Searchable Timeline&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I use &lt;strong&gt;Gemma 4 26B&lt;/strong&gt; for cloud-based analysis and &lt;strong&gt;Gemma through Ollama&lt;/strong&gt; for local, offline inference. Events are embedded using &lt;code&gt;nomic-embed-text&lt;/code&gt; and stored in MongoDB for vector search across historical drives.&lt;/p&gt;

&lt;p&gt;The project can also be started locally with Docker, including MongoDB and Ollama.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Dashcam footage can contain highly personal information, so privacy was a major consideration.&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;open-weight Gemma models with Ollama&lt;/strong&gt;, DriveSafe can process footage completely locally. In Local Edge Mode, video frames and telemetry remain on the user's machine instead of being sent to external cloud servers.&lt;/p&gt;

&lt;p&gt;Open technologies also made it possible to combine &lt;strong&gt;Gemma, Ollama, Temporal, FFmpeg, MongoDB, and Docker&lt;/strong&gt; into one end-to-end system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🏆 Best Use of MongoDB Atlas
&lt;/h3&gt;

&lt;p&gt;Implements &lt;strong&gt;Atlas Vector Search&lt;/strong&gt; over &lt;strong&gt;768-dimensional embeddings&lt;/strong&gt; to create long-term historical dashcam memory and enable natural-language retrieval across previous drives.&lt;/p&gt;

&lt;h3&gt;
  
  
  ⏱️ Best Use of Temporal
&lt;/h3&gt;

&lt;p&gt;Orchestrates a resilient, durable &lt;strong&gt;&lt;code&gt;VideoAnalysisWorkflow&lt;/code&gt;&lt;/strong&gt; with real-time progress queries, automated retries, heartbeats, and decoupled activity workers.&lt;/p&gt;

&lt;h3&gt;
  
  
  🧠 Best Use of Google Gemma
&lt;/h3&gt;

&lt;p&gt;Uses &lt;strong&gt;Gemma 4 vision models&lt;/strong&gt; in a dual-inference setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cloud:&lt;/strong&gt; Gemma 4 26B for deeper video scene understanding&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Edge:&lt;/strong&gt; Gemma through Ollama for private, offline processing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🏆 Best Overall Project
&lt;/h3&gt;

&lt;p&gt;DriveSafe combines AI-powered video understanding with a complete end-to-end product experience, including &lt;strong&gt;1-click Docker deployment, interactive timeline visualization, FFmpeg clip generation, vector search, historical drive memory, and automated verification tests&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
