How to handle occlusion?
이전 댓글 표시
Can anyone guide me regarding occlusion handling for tracking as well as in stereovision
답변 (1개)
Dima Lisin
2014년 12월 8일
0 개 추천
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
Himanshu
2014년 12월 8일
Dima Lisin
2014년 12월 8일
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
2014년 12월 9일
Dima Lisin
2014년 12월 9일
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
2014년 12월 12일
카테고리
도움말 센터 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!