Interface SizeDetector
-
public interface SizeDetector
This Interface should be implemented if a detection of theDimension2D
from a page is needed.
The size may be needed if aPageSegment
needs to be adjusted to fit aPage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dimension2D
detectSize(Dimension2D hocrSize)
Typically this method returns theDimension2D
which can be used to fit a new PageSegment to an existing Page
-
-
-
Method Detail
-
detectSize
Dimension2D detectSize(Dimension2D hocrSize)
Typically this method returns theDimension2D
which can be used to fit a new PageSegment to an existing Page- Parameters:
hocrSize
- The size for the page bounding box that is defined within the hocr data- Returns:
- Dimension2D
-
-