Inspiration

My mother experienced an unfortunate event when her most valuable assets were stolen even in the presence of CCTV cameras, however the culprit was never caught due to late alert. A few days ago that memory clicked me and I realized I hold the control over changing the customs, Hence I created this Intrusion Detection System. My inspiration came from seeing how traditional security systems often fail to stop or alert about intrusions quickly. New technology in motion detection and computer vision gave me the idea to make a better, smarter system. I wanted to help people feel safe and have a reliable way to protect their homes and businesses.

What it does

Intruder Detection System is a Python program that uses computer vision techniques to detect intruders in a given area. It captures video frames from a webcam, compares consecutive frames to identify any changes, and alerts the user if an intruder is detected. The program also sends an email notification to the user with attached images of the intruder.

How we built it

Key Concepts: Computer Vision: Computer vision is a field of study that focuses on enabling computers to understand and interpret visual information from images or videos. It involves techniques such as image processing, object detection, and tracking. OpenCV: OpenCV (Open Source Computer Vision Library) is an open-source computer vision and machine learning software library. It provides various functions and algorithms for image and video processing, object detection, and more. Email Notification: The program uses the Simple Mail Transfer Protocol (SMTP) to send email notifications to the user. It requires the user’s email address, password, and the recipient’s email address. Frame Difference: The program compares consecutive frames to identify any changes. By calculating the absolute difference between two frames, it can detect motion or movement in the video. Bounding Rectangle: The program uses bounding rectangles to enclose detected objects or intruders. It calculates the coordinates and dimensions of the rectangle based on the contours of the detected objects.

Challenges we ran into

While implementing the emailing function I encountered an error that it constantly sends emails to the user until the intruder leaves the bounded area. However, I fixed it by implementing the function differently.

What we learned

I learned a lot from building this Intrusion Detection System. I gained a deeper understanding of motion detection and computer vision technologies. I also learned how to integrate these technologies to create a practical solution. Additionally, I improved my problem-solving skills and discovered the importance of user feedback in making a product that truly meets people's needs.

What's next for Real-Time Intrusion Detection System

The Intruder Detection System is a Python program that uses computer vision techniques to detect intruders in a given area. It captures video frames from a webcam, compares consecutive frames to identify any changes, and alerts the user if an intruder is detected. The program also sends an email notification to the user with attached images of the intruder. By understanding the key concepts and code structure, you can customize and enhance the program to suit your specific needs.

Built With

Share this project:

Updates