You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several gun-related crimes happening in the USA. So, I attempted to make a website using yolov10, which is a robust computer vision algorithm that can detect objects with laser precision.
Another goal of mine to make this web-app is to learn how CI/CD pipeline, Docker, and AWS works. I deployed the project on AWS using EC2 and ECR, since I don't have a premium subscription, I had to take it down.
DEMO
video link
Tech Stacks
Vanila JS for frontend
Flask for backend
Machine learning pipeline
There are three main components
Data Ingestion
Data Validation
Model Trainer
Running on local machine
you should clone the repo using https://github.com/devPach4545/Gun-detection.git and go to the Gun-detection dir
Create an anaconda or a virtual environment
Use pip install -r requirements.txt to install the dependencies
In your command line, type python app.py and run the application.
Also, make sure you use the avaliable port and host for your flask app.
Show the video above to detect a gun
Note:
I do not have an access to a strong gpu, therefore I have trained the model for only 80 epochs, which is why you may not see a remarkable accuracy.