Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Not getting cell array output?

1 visualización (últimos 30 días)
J S
J S el 1 de Mayo de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
J S
J S el 1 de Mayo de 2017
Duuuh, yes, thanks a lot
John Chilleri
John Chilleri el 1 de Mayo de 2017
Watch out for conversion to double from cell errors and good luck!

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by