IOcrConnector
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
Methods
Method | Description |
---|---|
recognize(InputStream imageStream) | Does the OCR processing of an image, provided as a stream. |
recognize(InputStream imageStream)
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