|
RecAPI
|
Structure for book images. More...
Public Attributes | |
| int | x |
| Cutting position. | |
| int | info |
| Containing information. | |
| int | first_x |
| Left position. | |
| int | last_x |
| Right position. | |
| int | dpi |
| Resolution. | |
Structure for book images.
This provides information on the images produced by scanning a book, with two facing pages per scan. See kRecDetectBook and kRecCreateBookPages. They show how each incoming image can be cut into two book-page images for recognition. Page consolidation is likely to be applied to these page images.
| int CUT_INFO::dpi |
Resolution.
This structure refers to this dpi. Resolution change between two consecutive scans of the same book is handled correctly.
Left position.
Minimal x coordinate of the text or graphics on the original page.
| int CUT_INFO::info |
Containing information.
Possible values
| int CUT_INFO::last_x |
Right position.
Maximal x coordinate of the text or graphics on the original page.
| int CUT_INFO::x |
Cutting position.
The position where the two pages are cut. If this is -1, the kRecDetectBook cannot find two facing pages.