Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there an abstract class for all classifiers?

Hi, I am using a NomalBayesClassifier for doing a multi class classification. But I would like to create a multi-class SVM that will do the same thing for having a comparison between the two. Because the application in which the classifier is used is already implemented, I would like to know if OpenCV has some kind of interface for all the classifier. If I am changing the code now, I would like to make it better (abstractization), so it will not be needed to rewrite the code for another change of classifier/improving test.

Until now I have not met a class like that, but does anyone knows of some class of this kind?

If not, can you suggest me something or some other way to do it?

Thanks