IOcrConnector
Leave feedback
On this page
public interface IOcrConnector
Defines methods that are required to apply textual redactions to image documents and embedded images.
Learn more
- More details about using OCR in GroupDocs.Redaction: OCR Usage Basics
- An example of implementation using Aspose.OCR for Cloud: Use Aspose.OCR for Cloud SDK
- An example of implementation using Microsoft Azure Cognitive Services: Use Microsoft Azure ComputerVision REST API
| Method | Description |
|---|---|
| recognize(InputStream imageStream) | Does the OCR processing of an image, provided as a stream. |
public abstract RecognizedImage recognize(InputStream imageStream)
Does the OCR processing of an image, provided as a stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| imageStream | java.io.InputStream | Stream, containing an image to process |
Returns: RecognizedImage - Structured recognized text, containing lines, words and their bounding rectangles
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.