Package io.scanbot.sdk.process
Class NativeDocumentQualityAnalyzer
-
- All Implemented Interfaces:
public final class NativeDocumentQualityAnalyzer extends SelfDisposable
Analyzes text legibility on image and return estimated test quality DocumentQualityResult as a result
-
-
Field Summary
Fields Modifier and Type Field Description private Integer
minEstimatedNumberOfSymbolsForNoDocument
private Integer
analyzerImageSizeLimit
-
Constructor Summary
Constructors Constructor Description NativeDocumentQualityAnalyzer()
-
Method Summary
Modifier and Type Method Description final Integer
getMinEstimatedNumberOfSymbolsForNoDocument()
final Unit
setMinEstimatedNumberOfSymbolsForNoDocument(Integer minEstimatedNumberOfSymbolsForNoDocument)
final Integer
getAnalyzerImageSizeLimit()
final Unit
setAnalyzerImageSizeLimit(Integer analyzerImageSizeLimit)
final DocumentQualityResult
analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
final DocumentQualityResult
analyzeInBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
final DocumentQualityResult
analyzeInJPEG(ByteArray jpeg, Integer width, Integer height, Integer orientation)
final DocumentQualityResult
analyzeInBitmap(Bitmap bitmap, Integer orientation)
-
-
Method Detail
-
getMinEstimatedNumberOfSymbolsForNoDocument
final Integer getMinEstimatedNumberOfSymbolsForNoDocument()
-
setMinEstimatedNumberOfSymbolsForNoDocument
final Unit setMinEstimatedNumberOfSymbolsForNoDocument(Integer minEstimatedNumberOfSymbolsForNoDocument)
-
getAnalyzerImageSizeLimit
final Integer getAnalyzerImageSizeLimit()
-
setAnalyzerImageSizeLimit
final Unit setAnalyzerImageSizeLimit(Integer analyzerImageSizeLimit)
-
analyze
final DocumentQualityResult analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
-
analyzeInBGR
final DocumentQualityResult analyzeInBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
-
analyzeInJPEG
final DocumentQualityResult analyzeInJPEG(ByteArray jpeg, Integer width, Integer height, Integer orientation)
-
analyzeInBitmap
final DocumentQualityResult analyzeInBitmap(Bitmap bitmap, Integer orientation)
-
-
-
-