Commit fe5bc4ab74c4ae0e362a66ec4a427b1c5571f825
1 parent
26f30431
Now we assume a 0 threshold
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/openbr_plugin.h
| ... | ... | @@ -1402,7 +1402,7 @@ public: |
| 1402 | 1402 | static Classifier *make(QString str, QObject *parent); /*!< \brief Make a classifier from a string. */ |
| 1403 | 1403 | virtual void train(const QList<cv::Mat> &images, const QList<float> &labels) = 0; |
| 1404 | 1404 | // By convention, classify should return a value normalized such that the threshold is 0. Negative values |
| 1405 | - // can be interpreted as negative samples while positives values are positive samples. | |
| 1405 | + // can be interpreted as a negative classification and positive values as a positive classification. | |
| 1406 | 1406 | virtual float classify(const cv::Mat &image) const = 0; |
| 1407 | 1407 | }; |
| 1408 | 1408 | ... | ... |