Document.CallBackGetHocr
public static interface Document.CallBackGetHocr
The call back procedure for hocr recognize.
Methods
| Method | Description |
|---|---|
| invoke(BufferedImage img) | The call back procedure for hocr recognize. |
invoke(BufferedImage img)
public abstract String invoke(BufferedImage img)
The call back procedure for hocr recognize.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| img | java.awt.image.BufferedImage | The hocr image wrapper. |
Returns: java.lang.String - The hocr text.