Package io.scanbot.sdk.ocr
Class ScanbotOpticalCharacterRecognizer.BitmapInput
-
- All Implemented Interfaces:
public final class ScanbotOpticalCharacterRecognizer.BitmapInput extends ScanbotOpticalCharacterRecognizer.RecognizerInput
Allows to set OCR input as a bitmap
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
size
private final Bitmap
bitmap
private final OpticalCharacterRecognizer.EngineMode
engineMode
private final PdfConfig
pdfConfig
private final File
outputFile
-
Constructor Summary
Constructors Constructor Description ScanbotOpticalCharacterRecognizer.BitmapInput(Bitmap bitmap, OpticalCharacterRecognizer.EngineMode engineMode, PdfConfig pdfConfig, File outputFile)
-
Method Summary
Modifier and Type Method Description Integer
getSize()
final Bitmap
getBitmap()
OpticalCharacterRecognizer.EngineMode
getEngineMode()
PdfConfig
getPdfConfig()
File
getOutputFile()
-
-
Constructor Detail
-
ScanbotOpticalCharacterRecognizer.BitmapInput
ScanbotOpticalCharacterRecognizer.BitmapInput(Bitmap bitmap, OpticalCharacterRecognizer.EngineMode engineMode, PdfConfig pdfConfig, File outputFile)
-
-
Method Detail
-
getEngineMode
OpticalCharacterRecognizer.EngineMode getEngineMode()
-
getPdfConfig
PdfConfig getPdfConfig()
-
getOutputFile
File getOutputFile()
-
-
-
-