Document Detection Scores
data class DocumentDetectionScores(val totalScore: Double, val distanceScore: Double, val angleScore: Double, val sizeScore: Double, val aspectRatioScore: Double, val lineCoverageScore: Double, val widthScore: Double, val heightScore: Double) : Parcelable
The total and partial scores for the detected document contour.
Properties
Link copied to clipboard
100 points, if all angles are 90 degrees.
Link copied to clipboard
100 points, if the aspect ratio matches exactly one of the given aspect ratios.
Link copied to clipboard
100 points, if the center of the contour is exactly in the image center.
Link copied to clipboard
Percentage of the image height taken by the detected document.
Link copied to clipboard
Percentage of the document contour that the edge detector was able to find (in LEGACY engine mode only).
Link copied to clipboard
Weighted sum of all partial scores.
Link copied to clipboard
Percentage of the image width taken by the detected document.