Represents a successful template match. More...
#include <objdetect.hpp>
Public Member Functions | |
Match () | |
Match (int x, int y, float similarity, const std::string &class_id, int template_id) | |
bool | operator< (const Match &rhs) const |
Sort matches with high similarity to the front. More... | |
bool | operator== (const Match &rhs) const |
Public Attributes | |
int | x |
int | y |
float | similarity |
std::string | class_id |
int | template_id |
Represents a successful template match.
cv::linemod::Match::Match | ( | ) |
cv::linemod::Match::Match | ( | int | x, |
int | y, | ||
float | similarity, | ||
const std::string & | class_id, | ||
int | template_id | ||
) |
bool cv::linemod::Match::operator< | ( | const Match & | rhs | ) | const |
Sort matches with high similarity to the front.
bool cv::linemod::Match::operator== | ( | const Match & | rhs | ) | const |
int cv::linemod::Match::x |
int cv::linemod::Match::y |
float cv::linemod::Match::similarity |
std::string cv::linemod::Match::class_id |
int cv::linemod::Match::template_id |