Extracting Text (Table) from an Image and Exporting Output in Excel File.

So, I have a .tiff file as attached. I simply want to extract the text out of that image and write the same in excel as a table. As shown in the Sample Screenshot attached, from the .tiff file, I simply want a table in excel with columns and rows and marked for reference.
PS: I have a deadline tomorrow, please guide with a sample .m file/code.Thanks

 Accepted Answer

The image is so poor. To make a robust program would take more time than just simply typing in the data by hand. I suggest you type in the data by hand. It will be the fastest way to get you on your way.

2 Comments

I have Tried OCR, also done alot of cleaning and pre processing. Tried to remove noise. But Still the OCR is giving inaccurate results, I have 1000s of images. It would be very difficult to write data by hand.
You can't use the MATLAB ocr function because it needs at least 20 lines of pixels before it can resolve a character accurately.
You can hire a company like Labelbox to do it for you very cheaply.
In the future, use a better scanner or camera with more resolution.

Sign in to comment.

More Answers (0)

Categories

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

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!