Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Sir I am here to share my problem you that is " how a matlab code will be for auto motion detection in cctv cameras" if any one know this then plz guide me

1 visualizzazione (ultimi 30 giorni)
I have not an idea that how a code i created in matlab for the auto motion detection. i want to work with cctv cameras , it is the part of that the when any type of motion is comes before the cameras it will detect and record it other it woul not.

Risposte (3)

Iain
Iain il 31 Gen 2014
If your camera gives you black & white images, then you can detect motion quite simply by subtracting frame 2 from frame 1 (or the other way around). Turn both images into floating point numbers (double or single) first.
When the image is stationary, then you'll get essentially 0 difference all over the image. When theres a really noisy pixel, you'll get bigger differences in a single pixel. You can have multiple noisy pixels.
When you get groupings of pixels that have large frame-to-frame differences, you can be more certain that something is moving. This could be the sun, trees waving in the wind, something else natural that you don't care about, or it could be the thing you care about. You can then start feeding imagery to the recorder on whatever basis (e.g. 5 minutes, or just those with motion)

Walter Roberson
Walter Roberson il 31 Gen 2014

Image Analyst
Image Analyst il 31 Gen 2014
See this: http://www.mathworks.com/products/computer-vision/description4.html and the following page in the Computer Vision System Toolbox.

Questa domanda è chiusa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by