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