How can I classify the motion object that is human, animals or other objects?

I'm trying to detect human motion and set alarm. If the motion object is human,the system will alarm. If the motion object is dog or other, the alarm does not work. I get the binary image of foreground image and difficult to classify that object is human being or not.

 Accepted Answer

One option is to use CNN and LSTM. I attach the demo for video classification.
As of 2020a, wide variety of machine learning/deep leaning techniques are available. I am not sure if you are still considering the task and the demo above is related to that, the demo itself can contribute to your study, I hope.
The image features were extracted via a pre-trained network and the time-series features were classified using LSTM (Long Short Term Memory).

More Answers (2)

I'm thinking if the ratio of width by height is more han one then it is car or animal else human.Cars are wide and humans are tall.If the dog is coming to the camera in front position, the ratio of width by height is less than one.This position is difficult to classify. Thank you!

1 Comment

Humans can be in wheelchairs. Humans can be fat. Gorillas and chimpanzees can have ratios similar to humans. A large dog might not have much of a difference in width to height ratio compared to a human, but a dog will have length that a human will not have.

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Asked:

on 28 Sep 2015

Answered:

on 31 Mar 2020

Community Treasure Hunt

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

Start Hunting!