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 DocumentQualityAnalyzerConfiguration
config
-
Constructor Summary
Constructors Constructor Description JniDocumentQualityAnalyzer()
-
Method Summary
Modifier and Type Method Description final DocumentQualityAnalyzerConfiguration
getConfig()
final Unit
setConfig(DocumentQualityAnalyzerConfiguration config)
final DocumentQualityAnalyzerResult
analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
final DocumentQualityAnalyzerResult
analyzeOnBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
final DocumentQualityAnalyzerResult
analyzeOnJpeg(ByteArray jpeg, Integer orientation)
final DocumentQualityAnalyzerResult
analyzeOnBitmap(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)
-
-
-
-