how can i convert image to text by using matlab code

Answers (2)

Use fileread() to read the image file. uint8() that. Now you can use base64 to convert the numeric values to text.
https://www.mathworks.com/help/matlab/ref/matlab.net.base64encode.html

1 Comment

How is this a solution to the question that @rediet adebabay asked? You should have told him to use the ocr function in the Computer Vision Toolbox.

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Release

R2015a

Asked:

on 16 Jan 2020

Commented:

on 26 Jun 2024

Community Treasure Hunt

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

Start Hunting!