[Help] I want to work with video and picture on matlab

3 views (last 30 days)
Hi! I'm 19 years old, I'm learning Information Technology , now I'm in a research for student, my topic is confirm object in a video ( object is only car and man ) Video is taken form fixed camera and I must confirm in video what is man, and what is car. Our idea is use a background, and then split video into a frame, after that, subtract each frame with the background, we will find the object and confirm it. I will use matlab for this instead of open cv but I never have use matlab before :( Can you help me?
Tran Minh
Tran Minh on 26 Jan 2016
oh, sorry, at that time of this post, i'm so busy for another exam, now I'm back. If you can, post some tutorial you know in this post for me :) Now I can read video a frame and subtract frame with a forceground, now I want to box the object like this
and detect the weight and height of the box :(((

Sign in to comment.

Answers (3)

Walter Roberson
Walter Roberson on 19 Oct 2015
There is no known way to do that. Please read all of the comments to all of the Answers to http://www.mathworks.com/matlabcentral/answers/39545-detect-a-human-figure-in-a-live-video

Dima Lisin
Dima Lisin on 19 Oct 2015
Here is an example of how to detect and track moving objects with a stationary camera. Deciding whether an object is a car or a person is another matter. Since people are generally vertical and cars are horizontal, the aspect ratio may actually get you results decent enough for a school project.
If you want to do something more sophisticated, the Computer Vision System Toolbox also comes with a vision.PeopleDetector object. If you want to go further, you can try training a car detector with the trainCascadeObjectDetector function.

Tran Minh
Tran Minh on 26 Jan 2016
Edited: Tran Minh on 26 Jan 2016
Thanks all people for your help, Now I can read video a frame, and subtrack frame with forceground, but I don't know how to boxed object like a picture, and how to take the weight and high of the box , can you help me ?

Community Treasure Hunt

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

Start Hunting!

Translated by