RecognizeImage

RecognizeImage(string)

Recognizes text on image.

public string RecognizeImage(string fullPath)
ParameterTypeDescription
fullPathStringPath to the image.

Return Value

Recognized text.

Remarks

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

See Also


RecognizeImage(string, RecognitionSettings)

Recognizes text on image.

public RecognitionResult RecognizeImage(string fullPath, RecognitionSettings settings)
ParameterTypeDescription
fullPathStringPath to the image.
settingsRecognitionSettingsRecognition 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, JFIF.

See Also


RecognizeImage(MemoryStream)

Recognizes text on image.

public string RecognizeImage(MemoryStream stream)
ParameterTypeDescription
streamMemoryStreamMemory stream containing the image.

Return Value

Recognized text.

Remarks

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

See Also


RecognizeImage(MemoryStream, RecognitionSettings)

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

public RecognitionResult RecognizeImage(MemoryStream stream, RecognitionSettings settings)
ParameterTypeDescription
streamMemoryStreamMemory stream containing the image.
settingsRecognitionSettingsRecognition 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)
ParameterTypeDescription
imageDataByte[]Decoded image in bytes array. Uses RGB lighting technology for bitsPerPixel > 1.
widthInt32Image width.
heightInt32Image height.
pixelFormatPixelTypeSupports byte, rgb, bgr, rgba.
settingsRecognitionSettingsRecognition 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)
ParameterTypeDescription
imageDataColor[]Decoded image in Aspose.Drawing.Color array.
widthInt32Image width.
heightInt32Image height.
settingsRecognitionSettingsRecognition 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