Create ROI around objects and recognize characters in the objects as single word.
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, I have an image that contains characters to be recognized. I have drawn rectangle around label objects in the image and I want to create boundingBoxes and ROI around the label objects so that OCR() can be used to detect all the characters in the objects as single text word . For eg, if a ROI is drawn around 'C in' around which rectangle is drawn, then ocr() function should return the same, that is 'C in' as a single word (with character spacing) .
Please see the image below and provide code to achieve it.

I used the code below to draw lines to draw lines around labels in 'image' .
image(x1:x1+width,y1) = 1;
image(x1:x1+width,y1+height) = 1;
image(x1,y1:y1+height) =1;
image(x1+width,y1:y1+height) = 1;
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!