Public Member Functions | Public Attributes
cv::linemod::Match Struct Reference

Represents a successful template match. More...

#include <objdetect.hpp>

List of all members.

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.
bool operator== (const Match &rhs) const

Public Attributes

int x
int y
float similarity
std::string class_id
int template_id

Detailed Description

Represents a successful template match.


Constructor & Destructor Documentation

cv::linemod::Match::Match ( int  x,
int  y,
float  similarity,
const std::string &  class_id,
int  template_id 
)

Member Function Documentation

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

Member Data Documentation


The documentation for this struct was generated from the following file: