Inspiration ( The Story ) ๐Ÿ’”

Last week, I met my school friend, he was feeling very sorrowful that day. As soon as I asked him the reason, he sobbed and wailed, "My girlfriend cheated on me!!". After focusing on the whole matter, I got to the decision that, I'm gonna help my other brothers too. I'll not let anyone break someone's heart. I thought, if I could make something that can catch the truth before the actual heartbreak, then many people can get aware and somehow they'll not feel it at that level.

What it does ๐Ÿคจ

It's a security camera, which makes you aware when someone else enters the room. It can blow an alarm, capture anonymous objects whether its living or nonliving. It can also record as per the instruction of codes. One can easily operate it if he/she wants to find any moving object in the room out of their presence.

How I built it ๐Ÿคฏ

In this project, I've simply used the available module of python i.e. OpenCV (link) and WinSound (In-built module). I've used Visual Studio Code as my IDE and GitHub as my Version Controller. Here are some steps that I've followed while building:-

  1. Imported both the modules, OpenCV and WinSound in the project.
  2. CV2 will start the computer camera.
  3. While the camera is turned on, Firstly I've organized two frames to get the differences between the static and the dynamic frame.
  4. Added some properties of capturing the motion, like grey, blur, contours for accurate capturing, etc.
  5. Then added the constraints in the motion, so that the camera does not capture the unwanted movements.
  6. Then I made the contours visible to the user so that he/she can justify what is the object, the camera is capturing.
  7. I made the "q" alphabet, the key for destroying the camera, so that no one, other than the user can destroy it.

Challenges I ran into ๐Ÿฅต

I'm listing down all the challenges that I've faced while working on this project:-

  1. I was not that familiar with OpenCV, but this is one of the most important skills an aspiring Data Scientist can have. So I took this challenge as the opportunity for the enhancement of my skills.
  2. Collecting proper resources was one of the most challenging problems for me. I have to use the proper functions and at the same time efficiently, this is daunting.
  3. As I'm not from a CSE background, challenges always get 10 times difficult for me. Complete knowledge, proper guidance, proper mentorship related to the project, are some of those branch-related challenges I faced.
  4. Creating logic for a better user experience was also the challenge I've faced. Like the frequency of alarm sound has been handled, capturing unwanted movements has been handled.
  5. I also increased the quality of backend reading, so that if some piece of code is ever added in the future, it will still work smoothly. This challenge was not immediate but was an important one.
  6. The system challenge, I'm not available with a good system, where I can run and edit my code efficiently. My system crashed a lot of times while working on this project. I have been using the same laptop since 2014, it was a really difficult task for me to work on my laptop. (In the end, I handled all the challenges peacefully and ended up making a beautiful program.)

Accomplishments that I'm proud of ๐Ÿ˜Ž

I'm proud of several accomplishments and achievements of my project and myself.

  1. This will help my brothers and sisters to get away from the wrong person this valentine's day.
  2. My project can detect the movements of objects and can blow an alarm.
  3. This project can work as a base in all other hi-tech projects.
  4. Versatility, one can easily add and edit the features of the program as per the need.
  5. Compatibility, this program is made focusing on time and space complexity, I have made this program in such a way that it can run on all devices (quality may vary)
  6. Made the code base and environment simple, to understand, and to work on.
  7. Finally my friend is happy that I've done something for him and his feelings.

What I learned ๐Ÿ˜

I must say, I learned a lot thing while working on this project. I'm listing down some of the most important learnings:-

  1. The real and efficient use of the famous python module OpenCV.
  2. How to write codes while focusing on time and space complexity.
  3. How to build different logic based on the needs and features you want in your program.
  4. I've used WinSound for the very first time in my project so that was also important learning for me.
  5. How to collect proper and relevant resources within the given amount of time.
  6. How to be a mentor of myself, how to maintain discipline throughout, how to stay motivated because when I started working, I was not that sure, will I be able to complete this the same way I'd thought.
  7. How to compete between a good quality of peers.

What's next for Caught you! ๐Ÿ’ซ

After submitting this project, I'll continue working on it, making it more hi-tech, adding more features, etc. This project can also be used for general security purposes, I'll make it worthy for that use. I have some more ideas to add to it like:-

  1. I'll make a web app for this particular idea and will deploy it.
  2. I'll add modes to change the capturing states like if one only wants to capture human movements, he/she will be able to do that.
  3. This project will be able to predict the type of movements like it's a thief, a cheater, or someone anonymous.
  4. Will be able to detect if any object gets displaced or something is missing from the frame.
  5. The performance is the leading factor of any model, I'll work on this factor like I will add a learning feature so that my model can start predicting the precise movement of happening.

Built With

Share this project:

Updates