yihong1120 / Traffic-Violation-Report-System

A platform for users to upload and share the responses from law enforcement agencies to their traffic violation reports in Taiwan. This system aims to increase transparency and public oversight of traffic law enforcement.
GNU General Public License v3.0
2 stars 1 forks source link
big-query cloud-computing computer-vision database-design django gcp gemini google-maps-api llama2 machine-learning nginx python raspberry-pi taiwan ubuntu web-development yolov8

Traffic-Violation-Report-System

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.

Application Structure

The system comprises several Django apps, each catering to specific functionalities:

  1. Traffic Data App: Manages traffic violation data, including storage and retrieval.

  2. Accounts App: Handles user management functionalities, including registration with Gmail validation and login features.

  3. License Plate Insights App: Integrates the YOLOv8-License-Plate-Insights model for license plate recognition.

  4. LLM Customer Service App: Integrates the Llama2 model or Gemini to enhance the customer response bot.

  5. Reports App: Facilitates the creation and management of traffic violation reports.

External Services and Integration

Deployment and Security

File Structure

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

To do list