The Traffic-Violation-Report-System is a comprehensive platform designed to enhance transparency in traffic law enforcement in Taiwan. The system empowers users to upload, share, and review responses from law enforcement agencies concerning traffic violations. Developed with Python's Django framework, this system integrates various technologies and services, providing a robust and user-friendly experience.
The system comprises several Django apps, each catering to specific functionalities:
Traffic Data App: Manages traffic violation data, including storage and retrieval.
Accounts App: Handles user management functionalities, including registration with Gmail validation and login features.
License Plate Insights App: Integrates the YOLOv8-License-Plate-Insights model for license plate recognition.
LLM Customer Service App: Integrates the Llama2 model or Gemini to enhance the customer response bot.
Reports App: Facilitates the creation and management of traffic violation reports.
BigQuery & Google Cloud Platform (GCP): Utilizes GCP's BigQuery for efficient data analysis and storage.
Vision API: Implements OCR techniques for automatic generation of traffic violation parameters.
Gemini API: Enhances system functionalities with advanced capabilities.
Google Maps API: Leverages this API to depict violation locations, numbers, and severity on an interactive map.
MySQL Database on Google Compute Engine: Hosts the SQL database, ensuring robust and scalable data management.
Traffic-Violation-Report-System/
│
├── traffic_data/
│ ├── models.py
│ ├── views.py
│ ├── urls.py
│ └── ...
│
├── accounts/
│ ├── models.py
│ ├── views.py
│ ├── urls.py
│ └── ...
│
├── license_plate_insights/
│ ├── models.py
│ ├── views.py
│ ├── urls.py
│ └── ...
│
├── llm_customer_service/
│ ├── models.py
│ ├── views.py
│ ├── urls.py
│ └── ...
│
├── reports/
│ ├── media/
│ ├── error_images/
│ ├── models.py
│ ├── views.py
│ ├── urls.py
│ └── ...
│
├── utils/
│ ├── models.py
│ ├── views.py
│ ├── bigquery_utils.py
│ ├── utils.py
│ ├── mysql_utils.py
│ └── ...
│
├── static_root/
│ └── ...
│
├── templates/
│ └── ...
│
├── manage.py
└── requirements.txt