IOcrConnector
public interface IOcrConnector
Defines methods that are required to apply OCR to image documents and embedded images.
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