Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Not getting cell array output?

조회 수: 1 (최근 30일)
J S
J S 2017년 5월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
Hey there, I need some help.
Why doesn't
data(n,:)
give me a cell as output, but a char?
Thanks
%%Open file
reader=vision.VideoFileReader('myfilename.mp4')
%%Analyze
n=0; %counter
while ~isDone(reader)
n=n+1 ;
I=step(reader);
roi_speed=[1560 200 125 50];
ocrResults_vSpeed=ocr(I, roi_speed);
recognizedText_vSpeed=ocrResults_vSpeed.Text;
data(n,:)=[recognizedText_vSpeed];
end
  댓글 수: 3
J S
J S 2017년 5월 1일
Duuuh, yes, thanks a lot
John Chilleri
John Chilleri 2017년 5월 1일
Watch out for conversion to double from cell errors and good luck!

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by