MATLAB: How to convert a pixel of an image into a matrix form

Deep Learning Toolboximage processingImage Processing Toolboxocr

After canny edge detection and attaining the pixels of each character in the image, how to get the matrix of each and every alphabet?

Best Answer

I assume you want to convert the text that you see in the image into ASCII or Unicode text. This is called Optical Character Recognition, or OCR. Thousands of people have been working on OCR for ages. No one here is an expert on OCR and besides, it's so complicated that it's way too much to give you a tutorial or code for an OCR MATLAB package here in the Answers forum. The best we can say is to check the File Exchange for OCR, or check Vision Bib for the papers that have been written on it, or to buy a package if you just need to get the job done. For example Adobe Acrobat has OCR built in (and I'm sure they've worked many years on it) - that could be the most cost- and time-efficient way for you to convert your images.