Click or drag to resize

OcrEngineRecognize Method (AtalaImage, Rectangle)

Recognize only within a specific rectangle in an AtalaImage.

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public OcrPage Recognize(
	AtalaImage image,
	Rectangle bounds
)

Parameters

image
Type: Atalasoft.ImagingAtalaImage
The image to recognize.
bounds
Type: System.DrawingRectangle
An area to within the image to focus on.

Return Value

Type: OcrPage

Returns OcrPage object which is transformed from AtalaImage. Recognize only within a specific rectangle in an AtalaImage.

In most cases this method is equivalent to:

return engine.Recognize( (new CropCommand(bounds)).Apply(image).Image);

See Also