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

8 visualizzazioni (ultimi 30 giorni)
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...

Risposte (1)

Cris LaPierre
Cris LaPierre il 2 Mar 2019
Modificato: Cris LaPierre il 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 Commento
Image Analyst
Image Analyst il 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);

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by