Inspiration
Urban parking inefficiency wastes 30% of city traffic from search behavior costing drivers $345 annually while cities lose millions in revenue and accessibility compliance remains inadequate. The convergence of IoT sensors, computer vision and large language models presented an opportunity to solve parking search through real-time prediction and natural interaction. Research from DeepMind on multi-agent systems and reinforcement learning provided architectural patterns applicable to spatial optimization problems.
Users initiate searches through three interfaces: voice commands processed by ElevenLabs and Gemini 2.5 Flash, mobile apps using REST APIs, or web portals with interactive maps. Voice interface accepts natural language queries like "find handicapped parking near stadium under $10" processing speech-to-text in 150-250ms, executing geospatial BigQuery queries in 120ms and synthesizing responses in 250-400ms. Mobile apps display real-time availability on Google Maps 3D tiles with color-coded markers showing green for available, red for occupied and orange for reserved with tap interactions opening detail panels showing costs, restrictions and navigation options. Vehicle type selection filters results by dimensional constraints where users specify compact car, sedan, SUV, pickup truck, box truck, RV, or semi truck triggering validation against maximum height and length requirements. Reservation workflow presents one-tap Google Pay button processing payment in 380ms then automatically creating calendar events in 250ms, logging expenses in Sheets in 200ms and filing receipts in Drive in 320ms. Real-time updates arrive via WebSocket connections at 5-second intervals reflecting occupancy changes from sensor streams. Compliance validation occurs transparently where system checks CurbLR regulations against selected spots displaying warnings for time restrictions, permit requirements, or vehicle type limitations before reservation confirmation.
What it does
The system predicts parking availability across 114,000 California spots using machine learning models achieving 89-92% accuracy with real-time sensor data processed at 12,500 messages per second. Users query through voice interface receiving responses in 900ms or mobile apps with geospatial search executing BigQuery spatial joins across coordinates. Multi-agent orchestration coordinates availability forecasting, compliance validation against CurbLR regulations and route optimization completing workflows in 525ms. Integration with Google Workspace automates reservations creating calendar events, logging expenses in Sheets and filing receipts in Drive.
Features:
- Real-Time Occupancy Prediction: XGBoost models predict availability with 89% accuracy using traffic patterns, weather data and temporal features for proactive parking guidance
- Computer Vision Detection: YOLOv11 processes CCTV feeds identifying empty and occupied spots at 40-67 FPS with 92-98% precision for autonomous lot monitoring
- Voice-Activated Search: ElevenLabs and Gemini 2.5 Flash enable natural language queries processing requests in 900ms for hands-free driving safety
- Multi-Agent Orchestration: Four Vertex AI agents coordinate geospatial search, compliance validation, availability forecasting and response synthesis in 525ms workflows
- Vehicle Type Filtering: Supports seven vehicle categories from compact cars to semi trucks validating dimensional constraints and clearance requirements
- Handicapped Access Management: Verifies four permit types across 17,100 accessible spots enforcing width, ramp and signage requirements
- Dynamic Pricing: Adjusts rates based on predicted demand and historical patterns optimizing revenue while smoothing utilization
- Google Workspace Integration: Automates calendar events, expense logging in Sheets and receipt filing in Drive completing workflows in 1,650ms
- 3D Curb-Level Navigation: Google Maps photorealistic tiles provide 0.3m precision with 97% curb detection for accurate final approach
- Compliance Validation: CurbLR integration enforces 2,000 regulation segments checking time restrictions, vehicle types and duration limits
- Semantic Search: 768-dimensional embeddings enable natural language location queries matching against parking descriptions
- Stream Processing: Apache Flink SQL executes spatial joins and aggregations on 12,500 messages per second with 165ms latency
- Hallucination Detection: Datadog monitoring compares AI suggestions against restricted zones responding in 150ms with 2% false positives
- Prompt Injection Blocking: BERT classifier identifies five attack patterns achieving 96% accuracy protecting against security exploits
- RLHF Optimization: Collects user feedback training reward models with PPO improving accuracy from 89% to 92%
- BigQuery Analytics: Processes 8M rows per query generating temporal patterns, customer segments and revenue analysis
- Data Lake Management: Four-tier storage with retention from 90 days to 7 years optimizing costs across STANDARD, NEARLINE and COLDLINE classes
- Telemetry Monitoring: Tracks GPS, IMU, battery and odometry at 10Hz for vehicle performance analysis
- Mission Planning: Waypoint navigation with geodesic routing avoiding eight no-park zone types
- One-Tap Reservations: Google Pay integration processes payments in 380ms with PCI DSS tokenization
- Micro-services Architecture: Eight Cloud Run services autoscale 0-200 instances supporting 10,000 RPS with 99.95% availability
- Video Feed Management: Monitors five camera streams at 1080p-4K resolution tracking quality metrics and latency
- Incident Tracking: Logs ten incident types with four severity levels calculating risk scores and safety recommendations
- PID Control Analysis: Evaluates autonomous vehicle stability across pitch, roll and yaw axes with performance metrics
- Service Health Monitoring: Tracks eight cloud services with uptime percentiles and health scores by criticality level
- Media Asset Management: Organizes photos, videos, thermal scans, orthomosaics and 3D models with quality scoring
- Strategic KPI Dashboard: Monitors eight business metrics with goal tracking and forecast projections
- AR Parking Overlay: Real-time augmented reality visualization of 114,000 California spots at 60 FPS
- Destination Analysis: Maps availability across eight major California venues with distance and price optimization
- Driving and Parking Logs: Historical session tracking with playback and route efficiency analysis
- Graph Neural Network: Spatial prediction using adjacency matrices and 3-feature node embeddings achieving R-squared 0.75-0.85
How we built it
The system employs Confluent Kafka for ingesting IoT magnetometer and CCTV streams at 12,500 messages per second processed through Apache Flink SQL spatial joins executing in 165ms. Machine learning pipeline trains XGBoost classifiers on 125,000+ records using 14-dimensional feature vectors achieving 89% occupancy prediction accuracy deployed on Vertex AI with 75ms P50 inference latency. Computer vision implements YOLOv11 processing video feeds at 40-67 FPS detecting eight object classes with 92-98% precision. Voice interface integrates ElevenLabs Turbo v2 with Gemini 2.5 Flash handling speech-to-text, natural language understanding and text-to-speech in 900ms total pipeline. Four Vertex AI agents orchestrate workflows where orchestrator routes requests, geospatial agent executes BigQuery queries using ST_WITHIN and ST_DISTANCE operations, compliance agent validates regulations and prediction agent forecasts availability. RLHF training collects feedback optimizing policy weights via PPO improving accuracy 3.4% and reducing false positives 38.5%. Eight Cloud Run micro-services deploy Python FastAPI, Go Gin, Node.js Express and Java Spring Boot with autoscaling 0-200 instances supporting 10,000 RPS. Datadog monitors six metrics implementing hallucination detection with 150ms response time and prompt injection blocking using BERT achieving 96% accuracy. Databases include BigQuery for analytics warehouse processing 8M rows per query, Redis for caching with 60-second TTL achieving 85% hit rate and Cloud Storage data lake with four tiers managing 5TB across STANDARD, NEARLINE and COLDLINE classes.
Challenges we ran into
Real-time latency requirements demanded optimization across the full pipeline where initial end-to-end response times exceeded 3 seconds requiring Redis caching implementation, Flink SQL query tuning and model quantization reducing inference from 150ms to 75ms. LLM hallucination detection required building custom validation comparing generated suggestions against Confluent restricted zone streams with 150ms latency constraint necessitating in-memory zone caching. Scaling Kafka consumers to handle 12,500 messages per second while maintaining exactly-once semantics required careful Flink state management and checkpoint tuning. RLHF training exhibited reward model overfitting requiring regularization and ensemble techniques to achieve stable R-squared 0.85 before policy optimization.
Accomplishments that we're proud of
Achieved 89-92% occupancy prediction accuracy with 75ms P50 inference latency enabling real-time guidance supporting 10,000 requests per second with 99.95% availability across multi-region deployment. Implemented comprehensive LLM safety with hallucination detection responding in 150ms at 2% false positive rate and prompt injection blocking at 96% accuracy. Built end-to-end voice interface processing natural language queries in 900ms total latency from speech input to synthesized audio output. Deployed RLHF training pipeline improving model accuracy 3.4% and reducing false positives 38.5% through policy optimization from user feedback. Integrated Google Workspace automation completing reservation workflows in 1,650ms creating calendar events, logging expenses and filing receipts.
What we learned
Real-time ML systems require careful orchestration balancing accuracy and latency where model complexity must align with inference time budgets and caching strategies. LLM safety necessitates multiple defense layers including hallucination detection, prompt injection blocking and continuous monitoring rather than relying on model behavior alone. Reinforcement learning from human feedback significantly improves production systems when reward models accurately capture user preferences and policy optimization uses appropriate hyperparameters. Microservices architecture with proper autoscaling enables cost-effective scaling where services independently scale 0-200 instances based on demand. Geospatial operations in BigQuery benefit from spatial indexing and careful query construction where ST_WITHIN and ST_DISTANCE operations require optimization for sub-second response times.
What's next for Advanced Parking Space Finder System
Expand graph neural network implementation incorporating traffic flow patterns and weather correlations for improved spatial prediction accuracy beyond current 0.75-0.85 R-squared. Implement federated learning enabling distributed model training across parking authorities while preserving data privacy. Deploy edge inference using TensorFlow Lite on parking cameras reducing cloud dependency and achieving 20ms inference latency. Develop reinforcement learning pricing agents using PPO to optimize dynamic rates maximizing revenue while maintaining utilization targets. Integrate additional data sources including event calendars, public transit schedules and ride-sharing patterns for enhanced demand forecasting.
Built With
- apache-flink-sql
- bigquery
- bigquery-(analytics-warehouse)
- calendar-api
- cloud-run)
- cloud-storage
- cloud-storage-(data-lake-with-standard/nearline/coldline-tiers)
- confluent-kafka
- confluent-kafka-with-avro
- dashboard-widgets
- datadog-api-with-custom-metrics
- detection-rules
- directions-api
- distance-matrix-api
- drive-api
- elevenlabs-voice-api
- express.js
- fastapi
- flask
- folium
- gemini-1.5-pro
- gemini-2.0-flash-exp
- gemini-2.5-flash
- geocoding-api
- geopandas
- geopy
- gin
- go
- google-maps-platform-(maps-javascript-api
- google-pay-api
- google-workspace
- h3
- hugging-face-transformers
- java
- javascript
- json
- keep-api
- keras
- lightgbm
- matplotlib
- numpy
- oogle-cloud-platform-(vertex-ai
- opencv
- pandas
- pil
- places-api
- plotly
- protobuf-serialization
- python
- pytorch
- react
- redis-(caching)
- roads-api)
- scikit-learn
- scipy
- seaborn
- shapely
- sheets-api
- spring-boot
- sql
- tensorflow
- textembedding-gecko@003
- xgboost
- yolo-(ultralytics)
- yolov11
Log in or sign up for Devpost to join the conversation.