RecognizeImage

RecognizeImage(string)

Recognizes text on image.

public string RecognizeImage(string fullPath)
Parameter Type Description
fullPath String Path to the image.

Return Value

Recognized text.

Remarks

Uses automatic image skew correction and text areas detection. Supports GIF, PNG, JPEG, BMP, TIFF.

See Also


RecognizeImage(string, RecognitionSettings)

Recognizes text on image.

public RecognitionResult RecognizeImage(string fullPath, RecognitionSettings settings)
Parameter Type Description
fullPath String Path to the image.
settings RecognitionSettings Recognition settings.

Return Value

The RecognitionResult object with image recognition results.

Remarks

Recognizes image with the ability to specify RecognitionSettings. Supports GIF, PNG, JPEG, BMP, TIFF.

See Also


RecognizeImage(MemoryStream)

Recognizes text on image.

public string RecognizeImage(MemoryStream stream)
Parameter Type Description
stream MemoryStream Memory stream containing the image.

Return Value

Recognized text.

Remarks

Uses automatic image skew correction and text areas detection. Support GIF, PNG, JPEG, BMP, TIFF.

See Also


RecognizeImage(MemoryStream, RecognitionSettings)

Recognizes text on image. Recognizes image with the ability to specify RecognitionSettings. Supports GIF, PNG, JPEG, BMP, TIFF.

public RecognitionResult RecognizeImage(MemoryStream stream, RecognitionSettings settings)
Parameter Type Description
stream MemoryStream Memory stream containing the image.
settings RecognitionSettings Recognition settings.

Return Value

The RecognitionResult object with image recognition results.

See Also


RecognizeImage(byte[], int, int, PixelType, RecognitionSettings)

Recognizes text on image.

public RecognitionResult RecognizeImage(byte[] imageData, int width, int height, 
    PixelType pixelFormat, RecognitionSettings settings = null)
Parameter Type Description
imageData Byte[] Decoded image in bytes array. Uses RGB lighting technology for bitsPerPixel > 1.
width Int32 Image width.
height Int32 Image height.
pixelFormat PixelType Supports byte, rgb, bgr, rgba.
settings RecognitionSettings Recognition settings.

Return Value

The RecognitionResult object with image recognition results.

Remarks

Recognizes image with the ability to specify RecognitionSettings. Supports row decoded byte data.

See Also


RecognizeImage(Color[], int, int, RecognitionSettings)

Recognizes text on image.

public RecognitionResult RecognizeImage(Color[] imageData, int width, int height, 
    RecognitionSettings settings = null)
Parameter Type Description
imageData Color[] Decoded image in Aspose.Drawing.Color array.
width Int32 Image width.
height Int32 Image height.
settings RecognitionSettings Recognition settings.

Return Value

The RecognitionResult object with image recognition results.

Remarks

Recognizes image with the ability to specify RecognitionSettings. Supports row decoded byte data.

See Also