Click or drag to resize

BasicOcrFactory.OcrImageRegion Method (PolygonF, AtalaImage)

Constructs a new OcrImageRegion using the supplied image and bounds.
Constructs a new OcrImageRegion object.

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public virtual OcrImageRegion OcrImageRegion(
	PolygonF bounds,
	AtalaImage image
)

Parameters

bounds
Type: Atalasoft.Utils.Geometry.PolygonF
The bounding rectangle of the object on the page in pixels.
image
Type: Atalasoft.Imaging.AtalaImage
The image that defines the entire page.

Return Value

Type: OcrImageRegion
The image that is stored is made creating a new cropped version the supplied image.

Return Value

Type: OcrImageRegion
A new OcrImageRegion object.

Implements

IOcrFactory.OcrImageRegion(PolygonF, AtalaImage)
Remarks
This method will create a new image by cropping the given image to the supplied bounding rectangle.
See Also