Implementation of Classification Interface

The interface as discussed last night (as much as I remember)
Great. Works for me.

On Wed, Dec 24, 2014 at 11:39 AM, JordanCheney <notifications@github.com>
wrote:

> In openbr/openbr_plugin.h
> <https://github.com/biometrics/openbr/pull/288#discussion-diff-22259698>:
>
> > @@ -1376,6 +1376,28 @@ class BR_EXPORT Distance : public Object
> >          { (void) targetGallery; (void) queryGallery; (void) output; return false; }
> >  };
> >
> > +class BR_EXPORT Representation : public Object
> > +{
> > +    Q_OBJECT
> > +
> > +public:
> > +    virtual ~Representation() {}
> > +
> > +    virtual cv::Mat preprocess(cv::Mat &image) const { return image; }
> > +    virtual QList<float> evaluate(const cv::Mat &image, const QList<int> &indices) const = 0;
>
> The convention that we decided on is to send an empty list of indices if
> all indices are desired. This should probably be noted with a comment.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biometrics/openbr/pull/288/files#r22259698>.
>