problem in Matlab Computer vision example.

Hi,
I have been trying a matlab Computer vision example, link is provided below
But i'm getting error although i'm trying the exact code given in example. Screenshot about the error has been provided below.
Any help would be appreciated.

5 Comments

Hi Gopalkrishna,
Are you running the example "as is", or are you using your own images? In case of the latter, can you please post the images?
Hi Dima,
I'm using the images given in the example.
Hi Gopalkrishna,
Can you open the example in MATLAB editor and run it?
>> edit FeatureBasedObjectDetectionExample.m
Hi Dima,
Tried it , there still seems to be problem, I have attached the screenshot below.
Hi Dima,
Found the problem, i had created a function 'rat', which was creating the problem.
i Changed the function name, and now the example is working fine. Sorry for the inconvenience.

Sign in to comment.

 Accepted Answer

Hi Gopalkrishna,
As a workaround, you can simply comment out the call to showMatchedFeatures. It is there for display only, and does not affect the rest of the code.
In the meantime, please tell me more about your setup: operating system, graphics card, etc. We will look into this issue.

2 Comments

No need - He said it's working fine now that he changed the name of his "rat" function.
Hi Dima,
Problem has been solved, it was with a function I had coded that was creating the problem.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!