Skip to content

blitz555/image_dewarping_project

Repository files navigation

Text Image Dewarping Project

This project aims to develop a MATLAB algorithm that flattens any warped image containing text. The goal is to make the text in original image more readable for humans and OCR (optical character recognition).

Expected outcome

Actual outcome

Getting started

Executing MATLAB code requires an installation of MATLAB. Open source alternatives such as GNU Octave may also work. To execute the dewarping algorithm on the sample image, run:

script.m

Theory, method and results

The current algorithm improved the OCR accuracy from 42% in original image to 87% in dewarped image. Processing time was ~30 seconds for the sample image. More in depth description of this algorithm's development is in project summary.

Future work

Current algorithm work only with mostly upright images. It can be improved by the addition of a detection algorithm to make rotated images upright. More advanced image processing functionality could be achieved by integrating libraries like OpenCV into MATLAB.

About

A repository for image dewarping project using MATLAB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages