RecAPI
Public Attributes
CUT_INFO Struct Reference

Structure for book images. More...

List of all members.

Public Attributes

int  x
  Cutting position.
int  info
  Containing information.
int  first_x
  Left position.
int  last_x
  Right position.
int  dpi
  Resolution.

Detailed Description

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.


Member Data Documentation

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.

Containing information.

Possible values

  • 0: both pages contain text,
  • 1: right page does not contain text,
  • 2: left page does not contain text.

Right position.

Maximal x coordinate of the text or graphics on the original page.

Cutting position.

The position where the two pages are cut. If this is -1, the kRecDetectBook cannot find two facing pages.