how to get data from fig use matlab

조회 수: 2 (최근 30일)
wenchao zhang
wenchao zhang 2024년 8월 7일
댓글: wenchao zhang 2024년 8월 8일
hi, i want get four colums data from the following fig, how to use matlab to realize this.

채택된 답변

Ganesh
Ganesh 2024년 8월 7일
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
wenchao zhang
wenchao zhang 2024년 8월 8일
편집: wenchao zhang 2024년 8월 8일
thanks for your suggestion, but the script run on my matlab seems have some problem.
wenchao zhang
wenchao zhang 2024년 8월 8일
need take some time to check how to use ocr

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by