Hello,
I have a picture with text written on it and ocr doesn't work on it
I = imread('image1_bw.png');
rectangle('Position',roi,'EdgeColor','r')
text=ocr(I,roi)
text =
ocrText with properties:
Text: 'OPO↵Ot↵ONO↵PENG↵↵'
CharacterBoundingBoxes: [17×4 double]
CharacterConfidences: [17×1 single]
Words: {4×1 cell}
WordBoundingBoxes: [4×4 double]
WordConfidences: [4×1 single]
TextLines: {4×1 cell}
TextLineBoundingBoxes: [4×4 double]
TextLineConfidences: [4×1 single]
I should add that on my machine the result is different as I get
Text: ''
Probably because the version is different I'm using the 2021a release and the version 10.0 of the computer toolbox
I have no idea why ocr is not working in this case. If someone has a fix it will be very helpfull :)