Commit 089aef651253b400dda75ad7d539fb315b3411dc
1 parent
7d0ecc36
Not a convenience function
Showing
1 changed file
with
1 additions
and
3 deletions
openbr/plugins/representation/random.cpp
| ... | ... | @@ -39,9 +39,7 @@ class RandomRepresentation : public Representation |
| 39 | 39 | |
| 40 | 40 | float evaluate(const Mat &image, int idx) const |
| 41 | 41 | { |
| 42 | - Q_UNUSED(image) | |
| 43 | - Q_UNUSED(idx) | |
| 44 | - return 0; | |
| 42 | + return representation->evaluate(image,features[idx]); | |
| 45 | 43 | } |
| 46 | 44 | |
| 47 | 45 | Mat evaluate(const Mat &image, const QList<int> &indices) const | ... | ... |