AI Camera β€” Fan Edition: it hypes up your jersey like a stadium commentator πŸ†

μž‘μ„±μž

μΉ΄ν…Œκ³ λ¦¬:

← ν”Όλ“œλ‘œ
DEV Community · Demir Ajvazi · 2026-07-12 개발(SW)

Demir Ajvazi

DEV Weekend Challenge: Passion Edition Submission

This is a submission for Weekend Challenge: Passion Edition

AI Camera β€” Fan Edition πŸ†πŸ“·

What I Built

AI Camera is a phone-camera app that describes what it sees, out loud, in real time β€” powered by Google’s Gemini vision model. It started as an assistive tool for blind and low-vision users (general scene description, reading text aloud, describing an item for a marketplace listing, describing a person’s appearance). For this challenge, I added a fifth mode built specifically around passion:

πŸ† Fan Mode β€” point your phone at a jersey, scarf, flag, or any fan gear, and the app turns into a hyped-up stadium commentator, calling out colors, team details, and team spirit with real enthusiasm. With the World Cup happening right now, it felt like the right moment to build it.

πŸ“± Important: this is a mobile-first app. It’s built around your phone’s rear camera and needs to be held up and pointed at real things β€” please try it on a phone, not a desktop, for the intended experience.

Demo

πŸ”— Live app (open on your phone): https://demirajvazi10-max.github.io/ai-camera-fan-edition/

You’ll need a free Gemini API key from aistudio.google.com/app/apikey β€” paste it in when the app asks. It’s stored only in your browser and never leaves your device except to call Google’s API directly.

(I wasn’t able to put together a screen recording for this submission β€” camera-based apps are a bit awkward to record on a phone! Since the whole thing runs client-side with no backend, the live link above lets you try Fan Mode yourself on your own phone in about 30 seconds.)

Code

https://github.com/demirajvazi10-max/ai-camera-fan-edition

How I Built It

Passion shows up in different ways. Sometimes it’s the quiet kind β€” building something so a person who can’t see can still “see” the world around them. Sometimes it’s the loud kind β€” losing your mind over your team’s jersey during a World Cup year. I already had the first one built. Adding Fan Mode let the same engine carry both.

  • Vanilla HTML/CSS/JS β€” no framework, no build step, no backend
  • Camera access via getUserMedia, photo captured to a canvas and sent as base64 to the Gemini API (gemini-flash-latest) with a mode-specific prompt
  • Each mode is just a different prompt string β€” Fan Mode’s prompt asks Gemini to respond “like a hyped-up sports commentator hyping up the crowd”
  • Responses are read aloud via the browser’s Web Speech API (free, works offline once the page is loaded)
  • The whole thing is one static index.html, so it deploys straight to GitHub Pages with HTTPS β€” which matters, because phones require a secure context for camera access

Prize Categories

Best Use of Google AI β€” Gemini’s vision model is the core of the app; every one of the five modes depends on it to analyze the photo.

Notes for judges: please test on a phone if possible β€” that’s the intended experience (rear camera + held up to real objects). Fan Mode is the new addition for this challenge; the other four modes existed before as an accessibility tool.

μ›λ¬Έμ—μ„œ 계속 β†—

μ½”λ©˜νŠΈ

λ‹΅κΈ€ 남기기

이메일 μ£Όμ†ŒλŠ” κ³΅κ°œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. ν•„μˆ˜ ν•„λ“œλŠ” *둜 ν‘œμ‹œλ©λ‹ˆλ‹€