Skip to content

Detecting Motion using computer's webcam and plotting graph related to the data produced.

Notifications You must be signed in to change notification settings

ParagD25/Motion_Detection

Repository files navigation

Motion Detection 📹

Detecting person's motion using webcam 📷 and storing information ℹ️ like timeframe during which one enters and exits the frame (Camera Frame).
Timeframe Information is Stored in :

  • Timings.csv : Excel Sheet
  • Motion_Graph.html : Graphical Representation

    Graph

Libraries Used 📋:

  • cv2 - To Read Data from .xml file and capture motion.
  • Bokeh - To create graph.
  • pandas - To convert data into .csv file.

  • How To Use 🖥️:

    • Clone this repository
      git clone https://github.com/ParagD25/Motion_Detection

    • Go into the repository
      cd Motion_Detection

    • Remove current origin repository
      git remote remove origin

    • Create new virtual python environment
      python3 -m venv venv

    • Activate virtual python environment
      source venv/bin/activate

    • Install all the libraries mentioned above

    • Run Python file
      python motion.py - For motion detection
      python motion_graph.py - For motion detection + Having Graph as an output.

    Contributing ©️:

    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

    About

    Detecting Motion using computer's webcam and plotting graph related to the data produced.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published