#include <PyMatcher.h>
Public Member Functions | |
bool | cuda () const |
int | iterations () const |
std::vector< cv::DMatch > | match (const cv::Mat &descriptorsQuery, const cv::Mat &descriptorsTrain, const std::vector< cv::KeyPoint > &keypointsQuery, const std::vector< cv::KeyPoint > &keypointsTrain, const cv::Size &imageSize) |
float | matchThreshold () const |
const std::string & | model () const |
const std::string & | path () const |
PyMatcher (const std::string &pythonMatcherPath, float matchThreshold=0.2f, int iterations=20, bool cuda=true, const std::string &model="indoor") | |
virtual | ~PyMatcher () |
Public Member Functions inherited from rtabmap::PythonInterface | |
PythonInterface () | |
virtual | ~PythonInterface () |
Private Attributes | |
bool | cuda_ |
int | iterations_ |
float | matchThreshold_ |
std::string | model_ |
std::string | path_ |
PyObject * | pFunc_ |
PyObject * | pModule_ |
Additional Inherited Members | |
Protected Member Functions inherited from rtabmap::PythonInterface | |
std::string | getTraceback () |
void | lock () |
void | unlock () |
Protected Attributes inherited from rtabmap::PythonInterface | |
PyThreadState * | threadState_ |
Static Protected Attributes inherited from rtabmap::PythonInterface | |
static unsigned long | mainThreadID_ = 0 |
static PyThreadState * | mainThreadState_ = 0 |
Definition at line 19 of file PyMatcher.h.
rtabmap::PyMatcher::PyMatcher | ( | const std::string & | pythonMatcherPath, |
float | matchThreshold = 0.2f , |
||
int | iterations = 20 , |
||
bool | cuda = true , |
||
const std::string & | model = "indoor" |
||
) |
Definition at line 19 of file PyMatcher.cpp.
|
virtual |
Definition at line 68 of file PyMatcher.cpp.
|
inline |
Definition at line 32 of file PyMatcher.h.
|
inline |
Definition at line 31 of file PyMatcher.h.
std::vector< cv::DMatch > rtabmap::PyMatcher::match | ( | const cv::Mat & | descriptorsQuery, |
const cv::Mat & | descriptorsTrain, | ||
const std::vector< cv::KeyPoint > & | keypointsQuery, | ||
const std::vector< cv::KeyPoint > & | keypointsTrain, | ||
const cv::Size & | imageSize | ||
) |
Definition at line 82 of file PyMatcher.cpp.
|
inline |
Definition at line 30 of file PyMatcher.h.
|
inline |
Definition at line 33 of file PyMatcher.h.
|
inline |
Definition at line 29 of file PyMatcher.h.
|
private |
Definition at line 48 of file PyMatcher.h.
|
private |
Definition at line 47 of file PyMatcher.h.
|
private |
Definition at line 46 of file PyMatcher.h.
|
private |
Definition at line 49 of file PyMatcher.h.
|
private |
Definition at line 45 of file PyMatcher.h.
|
private |
Definition at line 44 of file PyMatcher.h.
|
private |
Definition at line 43 of file PyMatcher.h.