Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
in most cases text is contained within well-defined rectangular boundaries.Rectangles after undergoing a projective transformation results in quadrilaterals.The vertices of the quadrilaterals could be used to obtian the homography between an arbitrary view to the frontal view.In case the original aspect ratio of the rectangle is known,then the vertices of the quadrilateral in the image can be mapped to the corners of the known rectangle.The exact rectification could be achieved.The basic algorithm i is given below





Algorithm:
1.Identify the corners of the bounding quadrilateral in the give =n image
2.map each vertex of the quadrilateral to the corresponding vertex in the known rectangle.
Posted

1 solution

Each text is also a mixture of characters which can imagined as sub images. All of the subimages are the "font". To a font belongs also some vertical and horizintal distances between individuals char.

A fine explanation of the vertical measurements: Glossary of Font Terms.

For working with fonts and texts the is some API. For Windows you can start here: Fonts and Text.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900