diff --git a/openbr/plugins/representation/random.cpp b/openbr/plugins/representation/random.cpp index 45a5f2d..a2605be 100644 --- a/openbr/plugins/representation/random.cpp +++ b/openbr/plugins/representation/random.cpp @@ -39,9 +39,7 @@ class RandomRepresentation : public Representation float evaluate(const Mat &image, int idx) const { - Q_UNUSED(image) - Q_UNUSED(idx) - return 0; + return representation->evaluate(image,features[idx]); } Mat evaluate(const Mat &image, const QList &indices) const