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 Kommentare

Dima Lisin
Dima Lisin am 29 Apr. 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?
Gopalkrishna Bhat
Gopalkrishna Bhat am 30 Apr. 2015
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 am 3 Mai 2015
Bearbeitet: Gopalkrishna Bhat am 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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Dima Lisin
Dima Lisin am 3 Mai 2015

0 Stimmen

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 Kommentare

Image Analyst
Image Analyst am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by