A Flask web application that analyzes parking sign images and provides parking guidance using Google's Gemini AI.
- Upload a parking sign image
- Enter vehicle details (type, date, time)
- Get two AI-powered analyses:
- CDS (Curb Data Specification) output - structured parking rule data
- Plain English parking guidance - "Can I park here?" answer
# Install dependencies
pip install flask google-generativeai python-dotenv
# Set up environment
echo "API_KEY=your_gemini_api_key" > .env
# Run the app
python3 app.pyVisit http://localhost:5000
# Build
docker build -t my-flask-app .
# Run
docker run -p 8080:8080 --env-file .env my-flask-appVisit http://localhost:8080
system_instructions1.txt- Instructions for CDS analysissystem_instructions2.txt- Instructions for parking guidanceprompt1.txt- Prompt for first API callprompt2.txt- Template for second API call (uses user variables).env- Your Gemini API key
- First API Call: Analyzes sign image → generates structured CDS data
- Second API Call: Uses sign image + user input → provides parking advice
Built with Flask, Google Gemini AI, and Tailwind CSS.