undefined function or method 'ocr' for input arguments of type 'unit8'
1 次查看(过去 30 天)
显示 更早的评论
I am trying to recognize a letter inside the image, I read a .png file and wrote the code as
ocrResults=ocr(im,roi);
i got the error as follows undefined function or method 'ocr' for input arguments of type 'unit8' how could i fix the problem
2 个评论
John D'Errico
2014-5-23
You MIGHT get that error for uint8 arguments. unit8 arguments are something that will be more difficult to solve.
回答(2 个)
Sean de Wolski
2014-5-23
ocr was released in the Computer Vision System Toolbox in R2014a so if you are on an older release or don't have CVST, you will have to upgrade.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Analytics Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!