Recognize
Recognize(OcrInput)
Recognizes text on images / documents. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, stream, directory, arrays, archives.
public OcrOutput Recognize(OcrInput images)
Parameter | Type | Description |
---|---|---|
images | OcrInput | The container with sources.OcrInput |
Return Value
List of RecognitionResult
objects with image recognition results.
See Also
- class OcrOutput
- class OcrInput
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR
Recognize(OcrInput, AsposeOcrPresets)
Recognizes text from the given OCR input using a predefined preset configuration.
public OcrOutput Recognize(OcrInput images, AsposeOcrPresets preset)
Parameter | Type | Description |
---|---|---|
images | OcrInput | The OCR input data (images, PDFs, etc.). |
preset | AsposeOcrPresets | The selected OCR preset containing recognition settings. |
Return Value
An OcrOutput
object containing the recognition results.
Remarks
The method automatically selects the appropriate recognition pipeline based on the preset. If the preset includes custom settings, they will be used instead of defaults.
See Also
- class OcrOutput
- class OcrInput
- class AsposeOcrPresets
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR
Recognize(OcrInput, RecognitionSettings, CancellationToken)
Recognizes text on images / documents. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, stream, directory, arrays, archives.
public OcrOutput Recognize(OcrInput images, RecognitionSettings settings,
CancellationToken cancellationToken)
Parameter | Type | Description |
---|---|---|
images | OcrInput | The container with sources.OcrInput |
settings | RecognitionSettings | Recognition settings RecognitionSettings . |
cancellationToken | CancellationToken | CancellationToken object. |
Return Value
List of RecognitionResult
objects with image recognition results.
See Also
- class OcrOutput
- class OcrInput
- class RecognitionSettings
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR
Recognize(OcrInput, RecognitionSettings)
Recognizes text on images / documents. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, stream, directory, arrays, archives.
public OcrOutput Recognize(OcrInput images, RecognitionSettings settings)
Parameter | Type | Description |
---|---|---|
images | OcrInput | The container with sources.OcrInput |
settings | RecognitionSettings | Recognition settings RecognitionSettings . |
Return Value
List of RecognitionResult
objects with image recognition results.
See Also
- class OcrOutput
- class OcrInput
- class RecognitionSettings
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR