How to use trained SVM classifier with vision.ObjectDetector?

조회 수: 1 (최근 30일)
AD
AD 2015년 11월 18일
댓글: Wajahat 2015년 12월 7일
I want to train a SVM classifier (say using classifier = fitcecoc(trainingFeatures, trainingLabels);). Feature type is not currently important, say HoG. Then I want to use this classifier for object detection. I don't want to use the system vision.CascadeObjectDetector as this is a decision tree based detector that doesn't return confidence values per object proposal. Is there an alternative that I have missed? Any proposals will be greatly appreciated.

채택된 답변

Dima Lisin
Dima Lisin 2015년 11월 18일
You can certainly train your own HOG-SVM classifier. The bad news is that to use it for object detection, you would have to write your own code to do the sliding windows.
  댓글 수: 2
AD
AD 2015년 11월 18일
That's what I thought. Thanks for the answer. It is a shame though, as multiscale sliding window search is obviously already efficiently implemented in vision.ObjectDetector. Why not expose it?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by