Skip to content

AI driven surveillance system designed using YOLOv8 to identify the intruders in real time at the Indian Army premises.

License

Notifications You must be signed in to change notification settings

KiranKishore07/Namma-A-Eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Namma A-Eye : Intruder Detection System

This is a Python-based intruder detection system that captures video frames from an IPWebcam Application connected to the internet using NGROK. It performs object detection (YOLO) on each frame and triggers an email alert if an intruder is detected. The system also logs the captured images and timestamps in a MySQL database for intrusion logging.

Prerequisites

  • Python 3.x
  • OpenCV (cv2)
  • Ultralytics
  • smtplib
  • pytz
  • matplotlib
  • pymysql

Installation

Clone the repository:

git clone https://github.com/KiranKishore07/Namma-A-Eye.git
cd Namma-A-Eye

Install the required dependencies using pip:

pip install -r requirements.txt

#Usage

  1. Ensure that the IPWebcam Android App is set up and running with NGROK for internet connectivity.
  2. Run the main.py script:
python main.py

This script captures video frames, performs object detection using a trained YOLO model, and triggers email alerts for detected intruders. It also logs the captured images and timestamps in the MySQL database.

  1. Customize the email configuration in the mail_trigger function with your sender and recipient email addresses.
  2. Modify the database connection parameters in the database_entry function to match your MySQL database settings.

Contributing

Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

The YOLO object detection model used in this project is provided by Ultralytics. Visit their GitHub repository for more information.

About

AI driven surveillance system designed using YOLOv8 to identify the intruders in real time at the Indian Army premises.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages