TransWikia.com

Calculating image text orientation in scanned documents

Data Science Asked on April 6, 2021

I’m trying to calculate the text orientation in scanned documents in order to de skew them. I’m aware of some of the common methods which include using hugh transform to do the same. However I recently read an article which I can’t find.
If I recollect correctly, it basically said that find the nearest neighbours for the connected components in the image. This should connect the adjacent alphabets in the words, connect the centroid of those components and build a histogram of those vectors. The histogram should give you the skew angle of the vectors.
Does anybody know such an approach for identifying document skew?
Any other approaches are appreciated as well.
Thank you.

One Answer

Answered by Nicholas James Bailey on April 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP