Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponses (3)
Iain
le 31 Jan 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)
0 commentaires
Image Analyst
le 31 Jan 2014
See this: http://www.mathworks.com/products/computer-vision/description4.html and the following page in the Computer Vision System Toolbox.
0 commentaires
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!