#include <SuperPoint.h>
|
cv::Mat | compute (const std::vector< cv::KeyPoint > &keypoints) |
|
std::vector< cv::KeyPoint > | detect (const cv::Mat &img) |
|
void | setMinDistance (float minDistance) |
|
void | SetNMS (bool enabled) |
|
void | setThreshold (float threshold) |
|
| SPDetector (const std::string &modelPath, float threshold=0.2f, bool nms=true, int minDistance=4, bool cuda=false) |
|
virtual | ~SPDetector () |
|
Definition at line 49 of file SuperPoint.h.
◆ SPDetector()
find_object::SPDetector::SPDetector |
( |
const std::string & |
modelPath, |
|
|
float |
threshold = 0.2f , |
|
|
bool |
nms = true , |
|
|
int |
minDistance = 4 , |
|
|
bool |
cuda = false |
|
) |
| |
◆ ~SPDetector()
find_object::SPDetector::~SPDetector |
( |
| ) |
|
|
virtual |
◆ compute()
cv::Mat find_object::SPDetector::compute |
( |
const std::vector< cv::KeyPoint > & |
keypoints | ) |
|
◆ detect()
std::vector< cv::KeyPoint > find_object::SPDetector::detect |
( |
const cv::Mat & |
img | ) |
|
◆ setMinDistance()
void find_object::SPDetector::setMinDistance |
( |
float |
minDistance | ) |
|
|
inline |
◆ SetNMS()
void find_object::SPDetector::SetNMS |
( |
bool |
enabled | ) |
|
|
inline |
◆ setThreshold()
void find_object::SPDetector::setThreshold |
( |
float |
threshold | ) |
|
|
inline |
◆ cuda_
bool find_object::SPDetector::cuda_ |
|
private |
◆ desc_
torch::Tensor find_object::SPDetector::desc_ |
|
private |
◆ detected_
bool find_object::SPDetector::detected_ |
|
private |
◆ minDistance_
int find_object::SPDetector::minDistance_ |
|
private |
◆ model_
std::shared_ptr<SuperPoint> find_object::SPDetector::model_ |
|
private |
◆ nms_
bool find_object::SPDetector::nms_ |
|
private |
◆ prob_
torch::Tensor find_object::SPDetector::prob_ |
|
private |
◆ threshold_
float find_object::SPDetector::threshold_ |
|
private |
The documentation for this class was generated from the following files: