GithubHelp home page GithubHelp logo

arturkuchynski / motion-detection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 15 KB

Static camera motion detection using OpenCV (Course Project)

License: MIT License

Python 28.97% HTML 71.03%
opencv python bokeh computer-vision

motion-detection's Introduction

motion-detection

Static camera motion detection using OpenCV 3 with Python 3

Motion can be captured from the webcam or from any other video-capturing device

To run motion capture from video use python3 src/motion_detector.py -v "path/to/.mp4" or python3 src/motion_detector.py --video "path/to/.mp4"

To change default motion area run the script with flag -a [value of type int] or --min-area [value of type int]

All detected movement is serialized in .csv table using Pandas

.CSV example of moving object occurrences with related time intervals

Occurrence Start End
0 2018-06-28 11:19:03.034333 2018-06-28 11:19:03.239962
1 2018-06-28 11:19:04.013949 2018-06-28 11:19:04.170417
2 2018-06-28 11:19:04.873939 2018-06-28 11:19:05.113811
3 2018-06-28 11:19:05.616372 2018-06-28 11:19:05.790772
4 2018-06-28 11:19:06.324708 2018-06-28 11:19:06.559286
Plotting data in your web browser with bokeh

To do so, run python3 src/plot.py and you'll get a simple and reusable plot

motion-detection's People

Contributors

arturkuchynski avatar

Stargazers

 avatar

Watchers

 avatar

motion-detection's Issues

Problem in plotting the graph

I have the main motion detection file as 'motion.py' in the same directory as that of this file. It says that there is no package/module named motion.
Help me with this.

Error Snip is here

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.