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 commentaires

Dima Lisin
Dima Lisin le 29 Avr 2015
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
Gopalkrishna Bhat
Gopalkrishna Bhat le 3 Mai 2015
Modifié(e) : Gopalkrishna Bhat le 3 Mai 2015
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.

Connectez-vous pour commenter.

 Réponse acceptée

Dima Lisin
Dima Lisin le 3 Mai 2015

0 votes

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 commentaires

Image Analyst
Image Analyst le 3 Mai 2015
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by