Coder Social home page Coder Social logo

burglar-detection's Introduction

Burglar-detection

Complete simulation of a surveillance system has been achieved using appropriate techniques by decreasing additional effort for securing a place. .

For any location, setting up the CCTV cams to monitor is one task, storing all the captured video is another, for larger places a person to monitor all the activuty is to be recruited. Any of these extending tedious tasks can be eliminated by replacing with the procedures discussed in this project.

  • cv2.VideoCapture()

Using Live camera feed: You pass in an integer number i.e. 0,1,2 etc e.g. cap = cv2.VideoCapture(0), now you will be able to use your webcam live stream. The number depends upon how many USB cams you attach and on which port.

Playing a saved Video on Disk: You pass in the path to the video file e.g. cap = cv2.VideoCapture(Path_To_video).

Live Streaming from URL using Ip camera or similar: You can stream from a URL e.g. cap = cv2.VideoCapture( protocol://host:port/video) Note: that each video stream or IP camera feed has its own URL scheme.

Read a sequence of Images: You can also read sequences of images, e.g. GIF.

  • Background Subtraction

Done by generating a foreground mask. Separates out foreground elements from the background detecting dynamically moving objects. Majorly used for object tracking

  • Contour Detection

When the previous technique subtracts the background, this one detects the borders of the remaining objects in the image. So it works as when there is a movement in the camera region, it subtracts the other remaining background and only focus on movemement of person detecting its border.

Requirements

  • IP Webcam app on mobile or wifi smart cctv cams
  • External storage device or computer storage
  • Jupyter notebook or google collab
  • Libraries:
    1. Numpy
    2. Opencv
    3. Time
    4. Datetime
    5. deque

burglar-detection's People

Contributors

ksheeraj1161 avatar

Watchers

 avatar

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.