MATLAB Answers

Computer Vision - Undefined function 'detectSURFFeatures' for input arguments of type 'uint8'.

31 views (last 30 days)
Deborah
Deborah on 25 Jul 2014
Commented: Walter Roberson on 22 Feb 2016
When I am trying to follow the Computer Vision Toolbox tutorial with the following code, I am getting the error
Undefined function 'detectSURFFeatures' for input
arguments of type 'uint8'.
>> imshow(TextDetectionExample_01)
>> I = rgb2gray(TextDetectionExample_01);
>> points= detectSURFFeatures(I);
Undefined function 'detectSURFFeatures' for input
arguments of type 'uint8'.
I have Computer Vision installed onto my computer, so am wondering why this is happening? Can anyone help?

Accepted Answer

Geoff Hayes
Geoff Hayes on 25 Jul 2014
Deborah - in the Command Window, type which detectSURFFeatures -all to locate the function. If it doesn't exist, you will see a 'detectSURFFeatures' not found message.
Which version of MATLAB are you running? In the Command Window, type ver and check the MATLAB version.
Based on Computer Vision System Toolbox Release Notes, the detectSURFFeatures was introduced in R2011b.
  4 Comments
Robert Schneider
Robert Schneider on 23 Mar 2015
I see that the functions were released in a later version. I guess when u buy new toolboxes, you are actually buying old software based on what your original version is.

Sign in to comment.

More Answers (2)

Deborah
Deborah on 25 Jul 2014
Thanks Geoff, that's helpful! I'm getting % Has no license available, so am guessing that though I have the toolboxes installed, I do not have the appropriate licence - is that right?
  1 Comment
Geoff Hayes
Geoff Hayes on 25 Jul 2014
Or maybe you share licenses with other people at wherever you are (work, school, etc.)? If there is a limited number of licenses available then maybe you have to wait until someone else releases it before you can start using that toolbox.

Sign in to comment.


Fatma Buharoon
Fatma Buharoon on 22 Feb 2016
If I am having 2015b version free trail why can't I use computer vision toolbox or how can install it with this free trail ??
  1 Comment
Walter Roberson
Walter Roberson on 22 Feb 2016
You need to specifically request the toolboxes you want to trial at the time you get the trial.
Not all toolboxes are installed by default; you may need to go into the MATLAB installer and request that the toolbox be installed.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!