Jimmy5467 / home_automation_using_camera

It's a kind of research work, in which we tried to replace the sensor with machine learning :camera:, using multiple ways. :house:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Automation Using Camera



By this project we can do home automation using camera to save cost of sensors. In this project we will check that is there any person in room(area where camera is there) or not, if there is someone then lights and fan will get on or else it will get off.

Hardware requirements:

  • Arduino.
  • LED (If you dont want to use inbuilt LED of arduino).
  • Small Fan (If you want to start lights as well as fan).
  • wires as per your requirements.

Software requirements:

  • Arduino IDE.
  • pycharm or any prefered IDE.

As mentioned we can do person detection using 2 ways :

  1. Using caffemodel
  2. Using haarcascade

After downloading this project follow the following steps (in both the methods) :

  1. run the python code and see that output is perfect or not.
  2. remove commented line of arduino code from python file.
  3. connect your Arduino.
  4. copy arduino code from arduino_code.ino.
  5. check your com port from device manager.
  6. add your com port in python code, replace your com port with mine which is 'com4'.
  7. upload your code in arduino.
  8. run the python code.

Demo:

Facing any issues?

Feel free to open an issue. We are glad to help you. And is you have solution for that issue I will allocate to you. ❤️

If you have any more idea related to this project then please share your idea on jimmyaghera123@gmail.com. If time permits I will surely do some work on your project.

About

It's a kind of research work, in which we tried to replace the sensor with machine learning :camera:, using multiple ways. :house:

License:MIT License


Languages

Language:Python 93.8%Language:C++ 6.2%