Matlab code for object detection and tracking from video
Show older comments
we taking video as input and then I have to find out the foreground detection from foreground Map ,current image and from that object and feature Extraction from that image after that object tracking and i want object processing and feature extraction
Answers (2)
Image Analyst
on 12 Sep 2014
2 votes
See the Computer Vision System Toolbox, which has that capability:

2 Comments
Mohammedashraf Shaikh
on 6 Apr 2017
Can we obtain similar result by using frame differencing ?
-thanks
Image Analyst
on 6 Apr 2017
Perhaps. I don't know what kind of extra sophistication they're added in, if any. For example if one person occludes another temporarily will it identify the new now-exposed target as the same as the one prior to being occluded? Things like that.
dolly tomar
on 4 Apr 2017
1 vote
sir i want to know how to store image or fig into a variable plz give me code for it
9 Comments
Image Analyst
on 4 Apr 2017
yourImage = imread(filename);
dolly tomar
on 12 Apr 2017
thank you i am student of mca and making a project on matlab i am begginer for this software ....my project is object detection in video i have so many problem like how i store segmented image in a variable and how i compare it with another frame to know about objectes life . plz sir help me give me code for my project i find so many code or sites but i could not find proper satisfaction.
Image Analyst
on 12 Apr 2017
And see the attached demos to get you started.
Image Analyst
on 12 Jul 2018
Detection and tracking, spatial calibration, and making movies are not dependent on the real world field of view. It could be anything from nanometers to light years.
Sandeep parajuli
on 4 Aug 2020
Edited: Sandeep parajuli
on 4 Aug 2020
Is there any way to track a single person whole time in one video.Like track a "Jackie Chan " all time from "Karate Kid" movie . Help Will be highly appreciated.
Image Analyst
on 4 Aug 2020
Yes, I'm sure it can be done, with some accuracy less than 100%. For example, if a scene starts with his back to us and all we see is a figure, or several figures, with black hair, then how are we supposed to know it's Jackie Chan until he turns around? But, I'm sure you're going to ask me for code to do that, so I'll tell you in advance, no, I don't have any Jackie Chan tracking code, or for anyone else for that matter. But you're welcome to write your own, or hire a consultant to do it if the algorithms are beyond your current skill set.
Sandeep parajuli
on 5 Aug 2020
Edited: Sandeep parajuli
on 5 Aug 2020
To be honest I'm about to ask you some help but as you said you cannot, But is there any way you can give me some techniques or idea how to do it? So that it could be better for me but if you don't want to or you can't its alright I will try my best. I need some idea how to do that's all. Anyway thankyou so much.One quick question to track a face the person should face to the camera in the initial frame or no?
Image Analyst
on 5 Aug 2020
Depends on how you want to do the tracking. Tracking is very complicated. There are many things to consider as things can go into or out of (or re-enter) the field of view, can change shape or color, can become obscured by other objects, etc. If you want to track moving object, that's easier. If you want to track faces only, you need to use face detection. If you want to identify individuals, you need to use face recognition - a much harder task. Sorry I can't help you in this very challenging project.
You can find papers on it here in Vision Bibliography: http://www.visionbib.com/bibliography/contents.html
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!