How to handle occlusion?
Ältere Kommentare anzeigen
Can anyone guide me regarding occlusion handling for tracking as well as in stereovision
2 Kommentare
Dima Lisin
am 28 Nov. 2014
Can you please be a bit more specific?
Himanshu
am 8 Dez. 2014
Antworten (1)
Dima Lisin
am 8 Dez. 2014
0 Stimmen
Hi Himanshu,
First of all, it is very rare in computer vision to see a 100% accuracy rate. Even the best detection or tracking algorithms still make some mistakes.
As far as your situation, more information would help. What algorithm do you use for object detection? What algorithm do you use for tracking? Is your camera stationary? Are there other objects in the scene besides cars?
For example, if your camera is stationary, you can use background subtraction to detect moving objects (e. g. vision.ForegroundDetector). Then you can use vision.KalmanFilter to track those objects using their motion. If the only moving objects in your scene are cars, then you should be able to track a car even if it is partially occluded, and even it is fully occluded for a short time.
6 Kommentare
Himanshu
am 8 Dez. 2014
Dima Lisin
am 8 Dez. 2014
Well, you should have a training set of images of cars and non-cars. Then you compute the feature vector for each image, and you train a classifier to distinguish between cars and non-cars. See this example. Then you write a detector, which slides a window across the image and uses the classifier to see if it contains a car.
The problem is that there will always be cases for which your classifier will be wrong. The case with a car occluded by bicycles is very difficult.
Himanshu
am 9 Dez. 2014
Dima Lisin
am 9 Dez. 2014
If the car takes up 80 of the image, that is actually a good situation. Typically, this is what a car-vs.-non-car classifier should be able to handle. However, occlusion is another matter.
Here's a thought. Bag-of-features approach is generally more robust to occlusion and clutter than a HOG-based classifier. That may be worth a try for you. See this example.
Himanshu
am 12 Dez. 2014
Kategorien
Mehr zu Image Processing and Computer Vision finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!