Error in Recognize Text Using CRAFT Model And OCR Example

조회 수: 7 (최근 30일)
Syukri Yazed
Syukri Yazed 2022년 3월 21일
댓글: Syukri Yazed 2022년 3월 24일
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:

채택된 답변

Anshika Chaurasia
Anshika Chaurasia 2022년 3월 23일
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.

추가 답변 (1개)

yanqi liu
yanqi liu 2022년 3월 22일
yes,sir,may be check
length(output)
to judge its number
  댓글 수: 3
yanqi liu
yanqi liu 2022년 3월 22일
yes,sir,may be just imresize the image and make it more bigger to test ocr

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by