Transform Circular Image For OCR

1 回表示 (過去 30 日間)
Duane
Duane 2017 年 5 月 3 日
回答済み: MathReallyWorks 2017 年 6 月 3 日
Can anyone help with transforming an image, prepping it (flatten) for OCR? I have looked at various techniques and have found nothing that seems to work. The image should have a radius that I can calculate and use.
Here is a similar image:
Thanks

回答 (1 件)

MathReallyWorks
MathReallyWorks 2017 年 6 月 3 日
Hello Duane,
You don't need radius to align these texts.
"To align each identified text line, they fit a B-spline curve to the centroids of the constituent characters and normal vectors are computed all along the resulting curve. Each character is then individually rotated such that the corresponding normal vector is aligned with the vertical axis."

Community Treasure Hunt

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

Start Hunting!

Translated by