how to get data from fig use matlab

2 visualizaciones (últimos 30 días)
wenchao zhang
wenchao zhang el 7 de Ag. de 2024
Comentada: wenchao zhang el 8 de Ag. de 2024
hi, i want get four colums data from the following fig, how to use matlab to realize this.

Respuesta aceptada

Ganesh
Ganesh el 7 de Ag. de 2024
You've the best chance with this problem by using an OCR. I have attached a sample code for OCR on your table image, but I see that the results are not the best/most accurate. I would suggest you to go through the documentation link attached at the bottom to learn how you could best optimize the OCR.
img = imread("批注 2024-08-07 111325.png");
t = ocr(img,LayoutAnalysis="page");
Iocr = insertObjectAnnotation(img,"rectangle", ...
t.WordBoundingBoxes,t.Words,LineWidth=2,FontSize=8);
figure
imshow(Iocr)
Object Character Recognition in MATLAB:
Hope this helps!
  2 comentarios
wenchao zhang
wenchao zhang el 8 de Ag. de 2024
Editada: wenchao zhang el 8 de Ag. de 2024
thanks for your suggestion, but the script run on my matlab seems have some problem.
wenchao zhang
wenchao zhang el 8 de Ag. de 2024
need take some time to check how to use ocr

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by