Skip to content
Prev Previous commit
Next Next commit
fix assertion failed error
  • Loading branch information
TanaseButcaru committed Feb 29, 2016
commit 5263a43f0832c750dc9762ab269da27040e698d9
2 changes: 1 addition & 1 deletion src/Features2d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class AsyncDetectSimilarity: public Nan::AsyncWorker {
extractor->compute(image2, keypoints2, descriptors2);


if (descriptors1.type == descriptors2.type && descriptors1.cols == descriptors2.cols) {
if (descriptors1.type() == descriptors2.type() && descriptors1.cols() == descriptors2.cols()) {
matcher->match(descriptors1, descriptors2, matches);

double max_dist = 0;
Expand Down