Info
此问题已关闭。 请重新打开它进行编辑或回答。
Not getting cell array output?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!