- Name: Danger Detection with ML
- Repo. created by: Phanindra Kumar.
- Tools used: Python, OpenCV, SMTPLib, YOLO V3
- As the name says, it can detetect weapons(Guns, Rifiles and also Fire).
- If you're interested or have an idea to share please reach out to me.
- Stay blessed.
- Vist official website of python Python.org to download latest version of python.
- And that's it Python is now installed on your personal computer.
- Download the zip file from
Code
button above and extract it to a folder orClone
to a folder on your system. - Open
With_mail.py
in a Python IDE of your liking. - Now install Opencv2 and SMTPLib libraries in Python by following the commands:
pip install opencv-python
pip install secure-smtplib
- After installing the required libraries, you might want to restart the IDE to prevent any errors.
- Then you also need the
yolov3.weights
file to run this program. - Since GitHub has file size restrictions, you need to download it from this Link
- After downloading the file you need to place it in the same directory as With_mail.py.
- Now, change the
mailfrom
variable in the 26th line of With_mail.py - Enter your password in
gmailpass
variable in the 27th line of With_mail.py. - Enter the reciver's email address in
mailto
variable in the 28th line of With_mail.py.
- Feel free to raise an issue if you've found any.
- For any doubts/queries, you can raise an issue too or reach out to me directly on Twitter