Effacer les filtres
Effacer les filtres

How to use trained SVM classifier with vision.ObjectDetector?

1 vue (au cours des 30 derniers jours)
AD
AD le 18 Nov 2015
Commenté : Wajahat le 7 Déc 2015
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.

Réponse acceptée

Dima Lisin
Dima Lisin le 18 Nov 2015
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 commentaires
AD
AD le 18 Nov 2015
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?
Wajahat
Wajahat le 7 Déc 2015
I agree

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by