Package io.scanbot.sdk.process
Class JniDocumentQualityAnalyzer
-
- All Implemented Interfaces:
public final class JniDocumentQualityAnalyzer extends SelfDisposable
Analyzes text legibility on image and return estimated test quality DocumentQualityAnalyzerResult as a result
-
-
Field Summary
Fields Modifier and Type Field Description private DocumentQualityAnalyzerConfigurationconfig
-
Constructor Summary
Constructors Constructor Description JniDocumentQualityAnalyzer()
-
Method Summary
Modifier and Type Method Description final DocumentQualityAnalyzerConfigurationgetConfig()final UnitsetConfig(DocumentQualityAnalyzerConfiguration config)final DocumentQualityAnalyzerResultanalyze(ByteArray nv21, Integer width, Integer height, Integer orientation)final DocumentQualityAnalyzerResultanalyzeOnBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)final DocumentQualityAnalyzerResultanalyzeOnJpeg(ByteArray jpeg, Integer orientation)final DocumentQualityAnalyzerResultanalyzeOnBitmap(Bitmap bitmap, Integer orientation)-
-
Method Detail
-
getConfig
final DocumentQualityAnalyzerConfiguration getConfig()
-
setConfig
final Unit setConfig(DocumentQualityAnalyzerConfiguration config)
-
analyze
final DocumentQualityAnalyzerResult analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
-
analyzeOnBgr
final DocumentQualityAnalyzerResult analyzeOnBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
-
analyzeOnJpeg
final DocumentQualityAnalyzerResult analyzeOnJpeg(ByteArray jpeg, Integer orientation)
-
analyzeOnBitmap
final DocumentQualityAnalyzerResult analyzeOnBitmap(Bitmap bitmap, Integer orientation)
-
-
-
-