How can I rectify images
Show older comments
Hi all,
Interesting problem here. I am working on extracting old Chinese texts which are written in vertical lines, but first I need to rectify the images like:
After rectification:

But originally they can be in whatever shapes like:



The only thing guaranteed is that those characters are arranged in multiple vertical lines.
I tried to use Uncalibrated Stereo Image Rectification ( https://www.mathworks.com/help/vision/examples/uncalibrated-stereo-image-rectification.html ), but problem is that the images are NOT in pair, so I only know the target pattern rather than the exact target.
If anyone can provide hints about useful functions, please let me know. First-step solutions like automatically rotating the image to the right angle will also be helpful!
Thanks a lot!
1 Comment
Image Analyst
on 4 Feb 2017
Why don't you have control over the image capture situation? If someone is wanting OCR on these books and manuscripts you'd think they would take more care in how they are photographed.
Accepted Answer
More Answers (0)
Categories
Find more on Text Detection and Recognition in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!