Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techy4shri/traffic-tracking-system
A React WebApp for identifying vehicles, reading their number plate and keeping count of them; all live as the vehicles appear in a video via traffic cam. This is an ongoing project.
https://github.com/techy4shri/traffic-tracking-system
docker-container full-stack-web-development image-recognition ongoing-project opencv-python python3 reactjs streamlit-component webapp
Last synced: 14 days ago
JSON representation
A React WebApp for identifying vehicles, reading their number plate and keeping count of them; all live as the vehicles appear in a video via traffic cam. This is an ongoing project.
- Host: GitHub
- URL: https://github.com/techy4shri/traffic-tracking-system
- Owner: techy4shri
- Created: 2024-03-24T15:59:10.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-21T19:41:17.000Z (17 days ago)
- Last Synced: 2024-12-21T20:25:54.681Z (17 days ago)
- Topics: docker-container, full-stack-web-development, image-recognition, ongoing-project, opencv-python, python3, reactjs, streamlit-component, webapp
- Language: Python
- Homepage:
- Size: 6.26 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Vehicle Number Plate Detection App
## π Overview
This is a *Vehicle Number Plate Detection App* built using *React.js* for the front-end, *Streamlit* for the backend, and *YOLO (You Only Look Once)* for object detection. The app allows users to upload images, detects vehicle number plates, reads the extracted text and keeps count of the vehicle. The application is containerized using *Docker* for easy deployment and scalability.---
## π― Features
- User-Friendly Interface: Navigation bar, image upload form, and result display for an intuitive user experience.
- Number Plate Detection: Detects vehicle number plates from uploaded images using the YOLO model.
- Text Extraction: Reads the detected number plates using Optical Character Recognition (OCR).
- Responsive Front-End: Built with React.js for a smooth and interactive user experience.
- Scalable Deployment: Packaged with Docker for portability and ease of deployment.
- Backend Powered by Streamlit: Handles image processing and OCR tasks efficiently.---
## π Tech Stack
- *Frontend*: React.js
- *Backend*: Streamlit (Python)
- *Containerization*: Docker
- *Machine Learning*: YOLO v3
- *OCR*: Tesseract OCR
- *Computer Vision*: OpenCV, PyTorch---
## π¦ Prerequisites
- *Node.js* and npm (or yarn)
- *Python* (3.8 or above)
- *Docker Desktop* installed on your system---
## π¦ Setup & Installation
Follow these steps to set up and run the project locally:### 1. Clone the Repository
`git clone https://github.com/techy4shri/IMAGE-DETECTION.git`
`cd IMAGE-DETECTION`### 2. Install Frontend Dependencies
Ensure Node.js is installed:
`npm install # or yarn install`### 3. Install Backend Dependencies
Ensure Python is installed:
`pip install -r requirements.txt`### 4. Running the Application
#### Build with Docker
1. Build the Docker images:
`docker-compose build`2. Start the application:
`docker-compose up`The app will be accessible at http://localhost:80 (frontend) and Streamlit backend.
#### Without Docker
1. Run the Streamlit backend:
`streamlit run app.py`2. Start the React.js frontend:
`npm start`Access the frontend at http://localhost:3000.
---
## πΌ Testing the Application
1. Access the app in your web browser.
2. Use the *upload form* to select an image from your local machine.
3. The app processes the image, highlights detected vehicle number plates, and extracts the text.
4. Results, including the processed image and text, will be displayed.---
## π Dockerfile and docker-compose.yml
The project includes:
- *Frontend Dockerfile*: Defines the React.js container.
- *Backend Dockerfile*: Defines the Streamlit container.
- *docker-compose.yml*: Orchestrates the services and environment configurations.---
## π€ Future Enhancements (This is an ongoing project)
- Improve detection accuracy using *YOLOv5* or *YOLOv7*.
- Integrate real-time *video detection* for live number plate recognition.
- Optimize *OCR logic* for better text accuracy.
- Add support for a *database* to store detected results.
- Deploy the app to cloud platforms like AWS or Azure.---
## π License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.---
## π€ Contributing
Contributions are welcome! If you find bugs or want to add new features:
1. Fork this repository.
2. Create a new branch (git checkout -b feature-branch).
3. Commit your changes (git commit -m "Add some feature").
4. Push to the branch (git push origin feature-branch).
5. Open a Pull Request.---
## π» Connect with Me
- *GitHub*: [techy4shri](https://github.com/techy4shri)
- *LinkedIn*: [Garima Shrivastav](https://linkedin.com/in/garima-shrivastav/)---
### π Thank You!
If you like this project, donβt forget to star β the repository!
You can also sponser this project to help me maintain and develop it further!