MATLAB: How to classify the motion object that is human, animals or other objects

classificationComputer Vision Toolboxdetect humangaithuman detectionmotion detection

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.

Best 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).