<?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: SREEJITH.K.K</title>
    <description>The latest articles on DEV Community by SREEJITH.K.K (@sreejith_kk038).</description>
    <link>https://dev.to/sreejith_kk038</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3880478%2Fcbdac94c-e60b-4968-9ca9-9f81ec9db941.png</url>
      <title>DEV Community: SREEJITH.K.K</title>
      <link>https://dev.to/sreejith_kk038</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sreejith_kk038"/>
    <language>en</language>
    <item>
      <title>I BUILT A " Multi-Lingual Voice AI " called " SEGA PRO"</title>
      <dc:creator>SREEJITH.K.K</dc:creator>
      <pubDate>Fri, 01 May 2026 13:29:59 +0000</pubDate>
      <link>https://dev.to/sreejith_kk038/i-built-a-multi-lingual-voice-ai--3e2i</link>
      <guid>https://dev.to/sreejith_kk038/i-built-a-multi-lingual-voice-ai--3e2i</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fnehcm90u31tdv6j0301k.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fnehcm90u31tdv6j0301k.png" alt=" " width="751" height="756"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the modern era of AI, we often assume that building a &lt;strong&gt;"Smart Assistant"&lt;/strong&gt; requires complex backend architecture, heavy LLM integrations, and expensive API keys. But what if you could build a context-aware, multi-lingual, voice-activated chatbot using purely frontend technologies?&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;SEGA Pro (Smart Election Guide Assistant)&lt;/strong&gt; — a zero-backend, privacy-first web application designed to guide citizens through the complex Indian electoral process using dynamic logic, native voice APIs, and Google Services.&lt;/p&gt;

&lt;p&gt;Here is how I built it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Zero Backend &amp;amp; Zero Keys&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The primary constraint of the hackathon was strict: No backend servers and no secret API keys.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This meant I couldn't rely on Node.js, Python, or standard OpenAI integrations. Everything had to happen securely inside the user's browser (Client-Side).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To achieve this, I engineered a highly optimized JavaScript State Machine. Instead of sending user inputs to a server to be parsed by an LLM, the state machine acts as the chatbot's "brain" locally. It dynamically tracks the user's journey—evaluating their age, first-time voter status, and ID availability—to branch into three distinct, real-world registration flows (Eligibility, Registration, and Voting).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Multi-Lingual Voice AI&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Accessibility is critical for an election tool. India has vast linguistic diversity, and typing is a barrier for many rural voters. I needed the bot to understand multiple languages natively.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Instead of paying for expensive cloud translation APIs, I leveraged the browser's native Web Speech API combined with a custom-styled Google Translate widget.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3.The Technical Magic:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I built a custom, glassmorphic dropdown that seamlessly triggers Google Translate, restricted to &lt;strong&gt;13 major Indian languages&lt;/strong&gt; to optimize loading speeds.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I bridged the UI language selection with the Web Speech API. If a user selects Tamil (ta-IN), the microphone instantly adapts to listen for Tamil.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I expanded the State Machine's Regex dictionary to recognize localized affirmations. The bot natively understands that &lt;strong&gt;"Yes", "हाँ", "ஆம்", and "అవును" all mean the same thing&lt;/strong&gt;, allowing users to complete the entire conversational flow without speaking a word of English.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How SEGA Pro Works&lt;/strong&gt; &lt;br&gt;
While there is no backend server, the application feels alive. Here is exactly how the demo guides a citizen through the voting process:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The Language Selection:&lt;/strong&gt; &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fs8vj6uu7v1y9bxdso1a6.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fs8vj6uu7v1y9bxdso1a6.png" alt=" " width="792" height="885"&gt;&lt;/a&gt;When a user opens the app, they can immediately use the custom dropdown at the top to select their preferred language (e.g., Hindi, Tamil, Bengali). The entire interface translates instantly. Behind the scenes, the JavaScript also updates the Web Speech API's listening dictionary to match this language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The Eligibility Check (Age):&lt;/strong&gt; &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fefltu1co3ujre5v72ec7.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fefltu1co3ujre5v72ec7.png" alt=" " width="703" height="890"&gt;&lt;/a&gt;The bot initiates the conversation by asking for the user's age. The user can either type their age or click the microphone to speak it (e.g., saying "अठारह" for 18).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logic branch:&lt;/strong&gt; &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fty83pntg2cl2u4s0yaa6.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fty83pntg2cl2u4s0yaa6.png" alt=" " width="662" height="908"&gt;&lt;/a&gt;If the user is under 18, the bot politely informs them they are ineligible and stops the flow. &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fmftlsl8u09qgkqpn5qrm.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fmftlsl8u09qgkqpn5qrm.png" alt=" " width="670" height="887"&gt;&lt;/a&gt;If they are 18 or older, the Journey Tracker at the top updates the "Eligibility" step to completed (Green).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The Experience Branching (First-Time vs. Existing):&lt;/strong&gt; &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fjahi1db67mid714qfdlo.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fjahi1db67mid714qfdlo.png" alt=" " width="670" height="887"&gt;&lt;/a&gt;The bot then asks if this is their first time voting. The user can simply speak "Yes" or "No" in their chosen Indian language.&lt;/p&gt;

&lt;p&gt;if &lt;strong&gt;Yes or NO&lt;/strong&gt; it ask if you currently have a &lt;strong&gt;valid Voter ID card&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;if &lt;strong&gt;Yes&lt;/strong&gt; then it gives them &lt;strong&gt;their Election Summary&lt;/strong&gt;,what to &lt;br&gt;
&lt;strong&gt;do  on election day&lt;/strong&gt;, gives them &lt;strong&gt;Personalized Recommendations&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
and a &lt;strong&gt;readiness score&lt;/strong&gt; andit guides them on how to &lt;strong&gt;locate their &lt;br&gt;
polling booth&lt;/strong&gt; and &lt;strong&gt;how evm works?&lt;/strong&gt; , can make &lt;strong&gt;quizzes&lt;/strong&gt; too  if&lt;br&gt;
asked &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;if &lt;strong&gt;No&lt;/strong&gt; then it gives them &lt;strong&gt;their Election Summary&lt;/strong&gt;, gives them &lt;br&gt;
&lt;strong&gt;Personalized Recommendations&lt;/strong&gt;,a &lt;strong&gt;readiness score&lt;/strong&gt; and&lt;br&gt;
&lt;strong&gt;registration steps&lt;/strong&gt; if needed for user and it guides them on how to&lt;br&gt;&lt;br&gt;
&lt;strong&gt;locate their polling booth&lt;/strong&gt; and** Documents needed &lt;strong&gt;, can make&lt;br&gt;
**quizzes&lt;/strong&gt; too  if asked.The bot guides them directly to the &lt;strong&gt;NVSP&lt;br&gt;
(National Voter's Service Portal)&lt;/strong&gt; with step-by-step instructions on &lt;br&gt;
filling out Form 6 and others forms if needed. It tells them how to &lt;br&gt;
download an e-EPIC card.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4. Quiz:(if taken)&lt;/strong&gt; As the user answers questions, the dynamic progress bar at the top of the screen fills up. Once the main flow is complete, the user can take a 3-question "Readiness Quiz" to test their knowledge and also we get a score too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. The Final Output:&lt;/strong&gt; Upon finishing the quiz, a dynamic Google Charts Gauge renders directly inside the chat window. It points to a final "Readiness Score" (out of 100), giving the user a highly visual, gamified summary of their election preparedness.&lt;br&gt;
EXAMPLE:&lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fhpcm1azzq64xc7ua0ogz.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fhpcm1azzq64xc7ua0ogz.png" alt=" " width="243" height="227"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.Google Services, 0 API Keys&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A major focus area of the evaluation was the meaningful integration of Google Services. I managed to integrate five distinct services while maintaining my "keyless" constraint:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Translate (Public Widget): creating a seamless native UI and for translation too.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Charts API: Upon completing the "Readiness Quiz," the bot dynamically renders a colorful Readiness Gauge bubble.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Analytics 4 (GA4): Implemented via a public Measurement ID for safe, keyless traffic tracking.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Fonts: Utilizing for clean, modern typography.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5.Premium UX &amp;amp; Performance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building a static app doesn't mean sacrificing aesthetics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design:&lt;/strong&gt; I implemented a modern &lt;strong&gt;"Glassmorphism"&lt;/strong&gt; UI with smooth Dark/Light mode toggle, and custom scrollbars.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Performance:&lt;/strong&gt; Because there is no backend latency, the bot's responses are instantaneous. The entire project size is well under 1MB, ensuring it loads perfectly even on slow 3G mobile networks.&lt;/p&gt;

&lt;p&gt;Building SEGA Pro proved that you don't always need massive infrastructure to build something smart, impactful, and highly accessible. By creatively combining modern browser APIs with optimized frontend logic, you can deliver "AI-like" experiences that are 100% secure, incredibly fast, and completely free to host.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check out the project here:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;🔗 Live Demo:&lt;/strong&gt; &lt;a href="https://sega-pro-955338303650.us-central1.run.app" rel="noopener noreferrer"&gt;https://sega-pro-955338303650.us-central1.run.app&lt;/a&gt; &lt;br&gt;
&lt;strong&gt;💻 GitHub Repo:&lt;/strong&gt; &lt;a href="https://github.com/Sreejith004/SEGA-PRO---PROMPT-WAR-.git" rel="noopener noreferrer"&gt;https://github.com/Sreejith004/SEGA-PRO---PROMPT-WAR-.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would love to hear your thoughts or feedback in the comments below!&lt;br&gt;
&lt;strong&gt;There may be changes in this project.&lt;/strong&gt; And this is done using antigravity.&lt;/p&gt;

</description>
      <category>promptwars</category>
      <category>googlecloud</category>
      <category>beginners</category>
      <category>antigravity</category>
    </item>
    <item>
      <title>I Built A " CrowdSense AI " : A Scalable, Context-Aware Platform for Smart Stadiums</title>
      <dc:creator>SREEJITH.K.K</dc:creator>
      <pubDate>Wed, 15 Apr 2026 14:57:53 +0000</pubDate>
      <link>https://dev.to/sreejith_kk038/i-built-a-crowdsense-ai-a-scalable-context-aware-platform-for-smart-stadiums-3631</link>
      <guid>https://dev.to/sreejith_kk038/i-built-a-crowdsense-ai-a-scalable-context-aware-platform-for-smart-stadiums-3631</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2F7e2mv9eg7z55ewnpzecc.png" 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.amazonaws.com%2Fuploads%2Farticles%2F7e2mv9eg7z55ewnpzecc.png" alt=" " width="800" height="801"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;CrowdSense AI&lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt; A Scalable, Context-Aware Platform for Smart Stadiums
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Modern sporting venues face a classic "&lt;strong&gt;High-Density&lt;/strong&gt;" problem: how do you manage 60,000+ people in a dynamic, high-stakes environment where every second counts? &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For the &lt;strong&gt;PromptWarsVirtual hackathon&lt;/strong&gt;, I developed "&lt;strong&gt;CrowdSense AI&lt;/strong&gt;" — a production-ready smart stadium management system designed to optimize the attendee journey through real-time crowd analytics and localized AI coordination using Antigravity.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Technical Vision:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;When designing CrowdSense AI, the goal was to build a system that was &lt;strong&gt;Stateless, Scalable, and Sub-second&lt;/strong&gt;. In a stadium with weak network coverage, latency is the enemy. I chose a stack that prioritizes performance:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Python-based &lt;a href="https://fastapi.tiangolo.com/" rel="noopener noreferrer"&gt;FastAPI&lt;/a&gt; for its asynchronous I/O capabilities and rapid JSON serialization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: A high-performance, mobile-first approach using &lt;strong&gt;Vanilla JS&lt;/strong&gt; and &lt;strong&gt;Modern CSS (Glassmorphism)&lt;/strong&gt;. By avoiding heavyweight frameworks, I achieved near-instant load times on mobile devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure&lt;/strong&gt;: Containerized using &lt;strong&gt;Docker&lt;/strong&gt; and orchestrated on &lt;strong&gt;Google Cloud Run&lt;/strong&gt; to ensure elastic scalability during peak event hours.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Core Engineering Pillars:&lt;/strong&gt;
&lt;/h2&gt;

&lt;h4&gt;
  
  
  1. Optimal Pathfinding via Dijkstra’s Algorithm
&lt;/h4&gt;

&lt;p&gt;Static navigation is insufficient for dynamic crowds. I implemented a custom routing engine based on &lt;strong&gt;Dijkstra's Algorithm&lt;/strong&gt; that weights "movement cost" based on real-time zone density. &lt;br&gt;
The system doesn't just calculate the shortest distance; it calculates the &lt;strong&gt;optimal time-to-destination&lt;/strong&gt;, automatically routing fans away from 90%+ capacity zones to prevent bottlenecks and ensure safety.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Multi-Language Intent Detection &amp;amp; Localization
&lt;/h4&gt;

&lt;p&gt;To support global tournaments, the platform features a rule-based NLP assistant capable of identifying user intent across 5+ languages (including Hindi, Tamil, Spanish, and French). &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Intent Mapping&lt;/strong&gt;: Uses optimized regular expressions for sub-millisecond classification of user needs (Food, Medical, Logistics).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Global Context&lt;/strong&gt;: The entire UI dynamically updates its state based on a unified &lt;code&gt;translations.json&lt;/code&gt; schema, ensuring a seamless experience for international fans.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  3. Frictionless Onboarding (The Ticket Context System)
&lt;/h4&gt;

&lt;p&gt;In a large-scale event, user friction during app setup leads to poor adoption. I architected a &lt;strong&gt;URL-Parameter Context System&lt;/strong&gt; that prepopulates the application state (Stadium, Match, Seat, Zone) via scannable QR codes on physical tickets. This ensures zero-entry onboarding and immediate user value.&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.amazonaws.com%2Fuploads%2Farticles%2Fxo8zjpjbeynhngsiwbke.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fxo8zjpjbeynhngsiwbke.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Working:&lt;/strong&gt; The dashboard pulls a live "Snapshot" from the backend every few seconds. The Heatmap is rendered using a Custom HTML5 Canvas engine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Logic:&lt;/strong&gt; It maps current density values (0.0 to 1.0) to specific HSL colors (Green to Red).&lt;br&gt;
&lt;strong&gt;The Result:&lt;/strong&gt; Fans get a visual "weather report" of the stadium crowd, and admins can identify "Hot Zones" immediately.&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.amazonaws.com%2Fuploads%2Farticles%2Fz8casxmqmwhp3n8wo2cp.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fz8casxmqmwhp3n8wo2cp.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Working:&lt;/strong&gt; This is the "brain" of the crowd management. It uses a Dijkstra-based pathfinding algorithm located in routing_service.py.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Logic:&lt;/strong&gt; It builds a "Graph" of the stadium's zones. Each zone has a "weight" based on its live crowd density.&lt;br&gt;
&lt;strong&gt;The Result:&lt;/strong&gt; If you want to go from A1 to the Exit, the app doesn't just show the shortest line—it calculates a path that weaves through less crowded zones, even if it's a longer walk, to save you time and avoid bottlenecks.&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.amazonaws.com%2Fuploads%2Farticles%2Fmsnq5r4r09rxa8ag83a9.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fmsnq5r4r09rxa8ag83a9.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is the heart of the "Efficiency" problem.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wait Time Estimation:&lt;/strong&gt; The backend queue_service.py calculates estimated wait times in real-time by multiplying the number of people in the queue by the stall's average processing speed.&lt;br&gt;
&lt;strong&gt;Order Lifecycle:&lt;/strong&gt; We implemented a full simulated order lifecycle:&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Pending ➔ Preparing ➔ Ready ➔ Collected.&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;Security &amp;amp; Refunds:&lt;/strong&gt; If an order is cancelled while it's still "Pending," the system automatically triggers a simulated Instant Refund to the fan's virtual wallet.&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.amazonaws.com%2Fuploads%2Farticles%2Fljuibra2407ergqryng6.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fljuibra2407ergqryng6.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Working:&lt;/strong&gt; The assistant uses a Rule-Based NLP processor.Instead of making expensive calls to an external LLM, it uses a high-performance Regex Intent Detector to identify what the fan needs (navigation, food, help, or emergency).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; It provides sub-second responses and works offline/local without any API costs.&lt;br&gt;
&lt;strong&gt;Context Aware:&lt;/strong&gt; It knows your current zone and language, so its "suggestions" are always relevant to where you are standing.&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.amazonaws.com%2Fuploads%2Farticles%2F9a14k2ti1m8rwp74nttg.png" 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.amazonaws.com%2Fuploads%2Farticles%2F9a14k2ti1m8rwp74nttg.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Working:&lt;/strong&gt; This section uses a Proximity Logic Engine (facilities_service.py).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Logic:&lt;/strong&gt; It sorts all medical rooms, information desks, and merchandise shops based on their distance from your current zone.&lt;br&gt;
&lt;strong&gt;The Result:&lt;/strong&gt; In an emergency, a fan doesn't have to search a list. The "Medical" button instantly shows the one right next to them and gives them a turn-by-turn route to get there and location of drinking water will be also available with route and nearby stall information too and nearby drinking water location is also be visible in that specific zone.&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.amazonaws.com%2Fuploads%2Farticles%2Fg46l2qpeo4p3m5xi59h1.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fg46l2qpeo4p3m5xi59h1.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
The app features a dynamic Vendor Engine that categorizes stalls into Food, Merchandise, and Entertainment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Localization:&lt;/strong&gt; Every menu item and price is part of the translation schema. When a fan switches to Spanish, even the "Burger" description and the currency symbol change.&lt;br&gt;
&lt;strong&gt;Discovery:&lt;/strong&gt; Stalls are sorted by their current zone, making it easy to find what is closest to your seat and only logged in users place order and non logged users can view stalls menu etc.,&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.amazonaws.com%2Fuploads%2Farticles%2Frds35rvd0umsnv28o8cs.png" 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.amazonaws.com%2Fuploads%2Farticles%2Frds35rvd0umsnv28o8cs.png" alt=" " width="545" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;100% support for Hindi, Tamil, Spanish, French, and Malayalam.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Even the database content (like Stall names and Help descriptions) is translated on-the-fly using a lookup helper.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;through login button we can login with mobile/email and new users can also register &lt;/p&gt;&lt;/li&gt;
&lt;/ul&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.amazonaws.com%2Fuploads%2Farticles%2Flpbitw27imopf0oap2y4.png" 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.amazonaws.com%2Fuploads%2Farticles%2Flpbitw27imopf0oap2y4.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
CrowdSense AI isn't built for just one stadium; it’s a global platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Logic:&lt;/strong&gt; I implemented a Multi-Venue Dataset (Chepauk, Wankhede, Narendra Modi).&lt;br&gt;
&lt;strong&gt;Dynamic Loading:&lt;/strong&gt; When a stadium is selected, the app fetches a completely different set of routes, stalls, and match schedules &lt;strong&gt;MOCK SCHEDULE&lt;/strong&gt; to personalize the experience.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;I built a 3-tier system to ensure every fan gets into the app as fast as possible:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;QR/Link (Priority 1):&lt;/strong&gt; The app parses URL parameters. Scanning a ticket QR code instantly sets the entire app state.&lt;br&gt;
&lt;strong&gt;Local Storage (Priority 2):&lt;/strong&gt; If you close the app and reopen it, it "remembers" your last stadium and language so you don't have to pick them again.&lt;br&gt;
Manual (Priority 3): If no data is found, a premium Stadium Selection overlay guides you to pick your venue.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Location awareness is built into every screen.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Logic:&lt;/strong&gt; Based on the userZone, the app provides Zone Hints translated into the local language (e.g., "📍 Near North Gate Entry").&lt;br&gt;
&lt;strong&gt;The Result:&lt;/strong&gt; This reduces "Navigation Anxiety" by constantly giving the user small, helpful landmarks relative to their current seat.&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.amazonaws.com%2Fuploads%2Farticles%2Fvg9hu7oxd5tqngdhukf1.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fvg9hu7oxd5tqngdhukf1.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
When a ticket is purchased, the ticketing platform generates a unique URL for that specific fan: &lt;a href="https://crowdsense-ai-955338303650.us-central1.run.app/?stadium=Chepauk&amp;amp;seat=A12" rel="noopener noreferrer"&gt;https://crowdsense-ai-955338303650.us-central1.run.app/?stadium=Chepauk&amp;amp;seat=A12&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Direct Navigation:&lt;/strong&gt; When the fan clicks the link in their SMS or Email, the app loads instantly with their specific match day context.&lt;br&gt;
&lt;strong&gt;Pre-Arrival Preparation:&lt;/strong&gt; Even before they reach the stadium, the fan can see the "Live Heatmap" of the gates and find the "Quietest Entrance" for their specific zone.&lt;br&gt;
&lt;strong&gt;One-Click Support:&lt;/strong&gt; Because the link includes their seat and zone, the fan can click "Help" the moment they arrive, and the AI Assistant will already know exactly where they are supposed to be.&lt;br&gt;
&lt;strong&gt;Match:&lt;/strong&gt; Lookups the live match schedule automatically based on the stadium.&lt;/p&gt;

&lt;p&gt;Through QR code we can only set the stadium ,the app is smart enough to automatically find the current match for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stadium Detection:&lt;/strong&gt;&lt;br&gt;
 The app sees the stadium ID (e.g., Wankhede).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schedule Lookup:&lt;/strong&gt;&lt;br&gt;
It looks at the MOCK SCHEDULE (which is like a live database of matches).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Automatic Match Setting:&lt;/strong&gt; &lt;br&gt;
It sees that Wankhede is currently hosting "IND vs NZ" and sets that as the active match instantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Static QR Codes:&lt;/strong&gt;&lt;br&gt;
The stadium can print permanent QR codes on the walls or at the gates &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dynamic Updates:&lt;/strong&gt;&lt;br&gt;
Even if the match changes every day (Monday: Match A, Tuesday: Match B), the same QR code will always work because the app checks the "Live Schedule" to see what's happening right now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After scan this is how it Opens:&lt;/strong&gt; &lt;br&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.amazonaws.com%2Fuploads%2Farticles%2Fm8kugz4chgbr4xim3b1g.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fm8kugz4chgbr4xim3b1g.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By utilizing a &lt;strong&gt;Mock Firestore singleton&lt;/strong&gt;, I maintained a serverless, zero-cost environment for the prototype while ensuring the codebase remains "Swappable" for production-grade Google Cloud Firestore integration. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Preview&lt;/strong&gt;: &lt;a href="https://crowdsense-ai-955338303650.us-central1.run.app" rel="noopener noreferrer"&gt;https://crowdsense-ai-955338303650.us-central1.run.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source Code&lt;/strong&gt;: &lt;a href="https://github.com/Sreejith004/CrowdSense-AI-prompt-wars-.git" rel="noopener noreferrer"&gt;https://github.com/Sreejith004/CrowdSense-AI-prompt-wars-.git&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;CrowdSense AI&lt;/strong&gt; demonstrates how cloud-native technologies can solve the logistical complexities of physical events, making stadiums safer and more enjoyable for everyone and &lt;strong&gt;Production-architected,Low-latency design prototype,Currently uses mock crowd data; real deployment would integrate IoT sensors or ticketing APIs and Improves crowd flow efficiency and reduces queue congestion in high-density venues.&lt;/strong&gt;                                                      &lt;/p&gt;

&lt;p&gt;Inspired by the AI-driven crowd management at the Chinnaswamy Stadium and the massive logistics at the Narendra Modi Stadium, I built CrowdSense AI to bring this world-class technology into a single, easy-to-use mobile platform for every fan.&lt;/p&gt;

&lt;p&gt;Thankyou for reading And this is done by me with the use of AI.&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;changes may occur in the project&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;

</description>
      <category>buildwithaipromptwarsvirtual</category>
    </item>
  </channel>
</rss>
