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 件のコメント
Azzi Abdelmalek
2014 年 5 月 23 日
編集済み: Azzi Abdelmalek
2014 年 5 月 23 日
Try
ocrResults=ocr(double(im),roi);
参考
カテゴリ
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!