shackenberg / Minimal-Bag-of-Visual-Words-Image-Classifier

Implementation of a content based image classifier using the bag of visual words approach in Python together with Lowe's SIFT and Libsvm.
236 stars 94 forks source link

Obtain more than one result for classification #12

Closed Mario92V closed 8 years ago

Mario92V commented 8 years ago

Hello it's me again. Is there any way to get the three most likely classes with classify.py and the confidence measurement to each one of them. I don't know if the question is clear enough. Thank you for your time again.

shackenberg commented 8 years ago

Hi Mario, sorry, I don't think it is doable very easily as classify depends on the output of the svm binary. You could always try https://github.com/shackenberg/phow_caltech101.py which gives much better control over these things.

Mario92V commented 8 years ago

Hi, sorry I thought I answered this before, thanks for your help.