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

2 views (last 30 days)
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...

Answers (1)

Cris LaPierre
Cris LaPierre on 2 Mar 2019
Edited: Cris LaPierre on 2 Mar 2019
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 Comment
Image Analyst
Image Analyst on 2 Mar 2019
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);

Sign in to comment.

Categories

Find more on Display Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!