public interface IImageStream
This interface is for working with images. Data format is specified in the field “Format”. Instance of this interface is required for recognition in “OCREngine”.
Instance of this interface can be construct in ImageStream
factory only.
OcrEngine ocr = new OcrEngine(); ocr.setImage(ImageStream.fromFile(@"image.tiff")); ocr.setImage(ImageStream.fromMemoryStream(memoryStream, imageStreamFormat));
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getData()
Gets image data.
|
Stream |
getDataInternal()
Gets image data.
|
int |
getFormat()
Gets the format of data in which the image is stored in the field
|
java.io.InputStream getData()
Stream getDataInternal()
int getFormat()