Skip to content
Snippets Groups Projects
Commit 40a32937 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

FIX: tMatch start was inside an if clause.

parent ccfd7bc7
No related branches found
No related tags found
No related merge requests found
......@@ -191,14 +191,14 @@ int main(int argc, char** argv)
unsigned int max_dist = 0;
unsigned int min_dist = 512;
tMatch = clock();
if (keypoints_1.size() * keypoints_2.size() != 0)
{
// match (try flann later)
//-- Step 3: Matching descriptor vectors using FLANN matcher
mat_ptr->match(descriptors_1,descriptors_2,des_ptr->getSize(),matches);
tMatch = clock();
//-- Quick calculation of max and min distances between keypoints
for (int ii = 0; ii < descriptors_1.rows; ii++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment