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 DocumentQuality
analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
final DocumentQuality
analyzeInBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
final DocumentQuality
analyzeInJPEG(ByteArray jpeg, Integer width, Integer height, Integer orientation)
final DocumentQuality
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 DocumentQuality analyze(ByteArray nv21, Integer width, Integer height, Integer orientation)
-
analyzeInBGR
final DocumentQuality analyzeInBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
-
analyzeInJPEG
final DocumentQuality analyzeInJPEG(ByteArray jpeg, Integer width, Integer height, Integer orientation)
-
analyzeInBitmap
final DocumentQuality analyzeInBitmap(Bitmap bitmap, Integer orientation)
-
-
-
-