How to get\read image from axes in GUI push button callback function and display the characters from the image in edit text ?

2 ビュー (過去 30 日間)
I would like to create a character recognition from image project and for that i need to know how to get loaded image form axes in pushbutton callback function and also extract the characters from image and displaying it in the edit text. Please guide me...

回答 (1 件)

Cris LaPierre
Cris LaPierre 2019 年 3 月 2 日
編集済み: Cris LaPierre 2019 年 3 月 2 日
How'd you get the image into the axes in the first place? You should already have the data if you plotted it, so you don't need to pull from the axes.
As for OCR, consider this example and this Answer.
  1 件のコメント
Image Analyst
Image Analyst 2019 年 3 月 2 日
If you want to pull it from the axes (and sometimes that is easier than passing an image along through deeply nested calls), you can use getimage()
imageInAxes = getimage(axesHandle);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDisplay Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by