Urgent.News

What's breaking now, across thousands of outlets.

AI

๐Ÿš— I Built DriveSafe So My Friends Never Have to Scrub Through Hours of Dashcam Footage Again

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built DriveSafe is a privacy-first AI platform that turns hours of dashcam footage into an intelligent, searchable driving history. 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โ€ฆ

I Built DriveSafe So My Friends Never Have to Scrutinize Hours of Dashcam Footage Again

DriveSafe is a privacy-first AI platform that transforms hours of dashcam footage into an intelligent, search-friendly driving history. Regular dashcam users and their friends often need to locate specific moments in lengthy recordings, such as unexpected road crossings, close calls, or unusual driver actions. However, locating a single moment within hours of video can take several minutes of manual scrubbing. DriveSafe was developed to simplify this process.

Rather than scanning through the entire video, DriveSafe utilizes AI to automatically recognize important moments like pedestrians, cyclists, near-miss vehicle encounters, and sudden scene changes. The system then generates clips and an interactive timeline, enabling users to search historical drives using natural language.

DriveSafe leverages Google's Gemma 4 model, with Temporal handling the durable video-processing workflow. The system follows this pipeline: Dashcam Video โ†’ Temporal Workflow โ†’ Frame Extraction โ†’ Gemma Vision Analysis โ†’ Event Detection โ†’ Clip Generation โ†’ Embeddings โ†’ MongoDB โ†’ Searchable Timeline.

For privacy-conscious users, DriveSafe can process video footage entirely locally by employing open-weight Gemma models alongside Ollama for offline inference. In Local Edge Mode, video frames and telemetry remain on the user's machine, rather than being transmitted to external cloud servers. This open-technology approach also allows DriveSafe to integrate Gemma, Ollama, Temporal, FFmpeg, MongoDB, and Docker into a seamless end-to-end system.

The project can also be initiated locally using Docker, incorporating MongoDB and Ollama. DriveSafe has been recognized in several categories, including Best Use of MongoDB Atlas, Best Use of Temporal, Best Use of Google Gemma, and Best Overall Project. The platform merges AI-powered video understanding with a comprehensive end-to-end product experience, including one-click Docker deployment, interactive timeline visualization, clip generation, vector search, historical drive memory, and automated verification tests.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in AI

300-question workbook automatically generated by AI! API error at question 250, 75 minutes down the drain. How we implemented "resume where you left off" with a checkpoint mechanism.

ๆœ€่ฟ‘ใ€ใ‚ใ‚‹่ณ‡ๆ ผ่ฉฆ้จ“ใฎๅ‹‰ๅผทใ‚’ใ—ใฆใฆใ€ๅ…ฌๅผใฎๅ•้กŒ้›†ใ ใ‘ใ˜ใ‚ƒ่ถณใ‚Šใชใ„ใชใจๆ€ใฃใฆใŸใ€‚ใ˜ใ‚ƒใ‚ไฝœใ‚‹ใ‹ใ€ใจใ€‚GenAIใ‚’ไฝฟใˆใฐใ€้กž้กŒใชใ‚“ใฆใ„ใใ‚‰ใงใ‚‚ไฝœใ‚Œใ‚‹ๆ™‚ไปฃใ ใ—ใ€‚ ๆ—ฉ้€Ÿใ€่ฉฆ้จ“ใฎใ‚ทใƒฉใƒใ‚นใ‚’้ฃŸใ‚ใ›ใฆใ€็ซ ใ”ใจใซๅ•้กŒใจ่งฃ่ชฌใ‚’300ๅ•ๅˆ†็”Ÿๆˆใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’ๆ›ธใ„ใŸใ€‚ python generate_questions.pyโ€ฆ

More from Sunday 4 October โ†’