A secure web application to verify Aadhaar eligibility for the Mahalakshmi Free Travel Scheme in Telangana RTC buses.
- Aadhaar QR Scanning: Instantly decodes Aadhaar QR codes (supports standard and secure formats).
- Eligibility Verification: Automatically checks if Gender is Female and State is Telangana.
- Fraud Detection: Detects missing fields, tampered data, and invalid QR codes.
- Live Location Mapping: Displays the passenger's district on an interactive map of Telangana.
- Digital Audit Logs: Maintains a secure CSV log of all verifications for government auditing.
- Premium UI: Glassmorphism design with responsive mobile-first layout.
- Backend: Python (Flask)
- Frontend: HTML5, CSS3 (Glassmorphism), Leaflet.js
- Processing: Pyzbar (QR Decoding), Pillow (Image Processing)
- Data: CSV (Logging), JSON (QR Payload)
aadhaar_rtc_verification/
├── app.py # Main Flask Application
├── generate_test_cases.py # Script to generate dummy QR codes for testing
├── requirements.txt # Python dependencies
├── verification_logs.csv # Audit logs (auto-generated)
├── static/
│ ├── style.css # Premium styling
│ └── ... # Images and assets
├── templates/
│ ├── index.html # Scanner Interface
│ └── logs.html # Admin Log Viewer
└── samples/ # Generated test QR codes
-
Install Dependencies:
pip install -r requirements.txt
-
Generate Test QRs (Optional):
python generate_test_cases.py
-
Start the Application:
python app.py
-
Open in Browser: Go to
http://127.0.0.1:5000
Use the QR codes in the samples/ folder to test different scenarios:
valid_female_hyd.png-> ✅ Eligiblevalid_male_warangal.png-> ❌ Not Eligible (Male)invalid_state_ap.png-> ❌ Not Eligible (Andhra Pradesh)tampered_...->⚠️ Fraud Detected
Designed for Telangana RTC Project Proposal.