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 个评论

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.

请先登录,再进行评论。

 采纳的回答

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 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by