Clear Filters
Clear Filters

An error while use of SURFpoints.m / problem with SURFmex library

1 view (last 30 days)
I have a problem with use of SURFmex library. I started with download of Object Matching files from the Matlab webpage below:
But an error occures with the file SURFpoints.
Cannot find an exact (case-sensitive) match for 'SURFpoints'
The closest match is: surfpoints in C:\Users\Krzysztof\Desktop\surfmex-master\mexw64\surfpoints.m
I have downloaded SURFmex Library and run startup, but there is new error:
Attempt to execute SCRIPT surfpoints as a function:
C:\Users\Krzysztof\Desktop\surfmex-master\mexw64\surfpoints.m
I tried to replace the files Matlab/toolbox/vision/SURFpoints.m with surfmex-master\mexw64\surfpoints.m with exchange of letters, but now I have this one:
The constructor for class 'SURFpoints' must return only one output value.
How to run this correctly? I have 2016B.
  6 Comments
Walter Roberson
Walter Roberson on 28 Jan 2020
Hmmm, that output would tend to suggest that you have a different opencv header file. That could be due to having a random directory in your include path that should not be there, or it could be due to an incompatibility of OpenCV versions. You get those kinds of errors when using code designed with OpenCV2 with an OpenCV3 installation.
Krzysztof Mazur
Krzysztof Mazur on 29 Jan 2020
I have download other mex64 folder and everything is fine now. It seems it was something wrong with files or version of files, but I'm not sure. Thanks for help.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!