Error in Recognize Text Using CRAFT Model And OCR Example
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Syukri Yazed
am 21 Mär. 2022
Kommentiert: Syukri Yazed
am 24 Mär. 2022
Hi.
I would like to know how can I solve the error about the column. I want to detect the text.
I'm using the example in this link:
the error is as in the arttachment. I also give the example of the image.
Can anyone share how to solve the problem?
The error:
0 Kommentare
Akzeptierte Antwort
Anshika Chaurasia
am 23 Mär. 2022
Hi Syukri,
Try following code to avoid error:
disp(vertcat(output.Words))
The reason for error is that sometime output(i,1).Words contain more than one word. Let's say output(28,1).Words is 2x1 cell and output(27,1).Words is 1x1 cell then the error will be thrown on their horizontal concatenation.
Siehe auch
Kategorien
Mehr zu Language Support finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!