📜  opencv c++ 特征检测 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:56.044000             🧑  作者: Mango

代码示例1
#include 
#include 

// initialize detector 
cv::Ptr detector = cv::ORB::create();

// detect features and descriptor
std::vector keypoints1;
cv::Mat descriptors1;
detector->detectAndCompute( test_im_gray, cv::Mat(), keypoints1, descriptors1 );