関心領域を指定して日本語の文字認識を行うには
Show older comments
日本語の言語データファイルをダウンロードし、画像の関心領域を指定して、日本語の文字認識をしようとしているのですが、
以下のプログラムで日本語の文字認識をするには、どのように内容を変換すればよいですか?
I = imraed('gazou.jpg');
figure;
imshow(I);
roi = round(getPosition(imrect));
ocrResults = ocr(I, roi);
Iocr = insertText(I, roi(1:2),ocrResults.Text,'AnchorPoint',...
'leftbottom','Fontsize',32);
figure;
imshow(Iocr);
Accepted Answer
More Answers (0)
Categories
Find more on 光学式文字認識 (OCR) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!