Class DocumentDetectionResult

Hierarchy

Constructors

Properties

averageBrightness?: number

Average brightness, calculated as the average of the Value channel in the HSV color space of:

  • the whole image, if no document was detected
  • the document crop, if a document was detected Ranges from 0 to 255
cropped?: Uint8Array
detectionStatus?: DetectionStatus
horizontalLines?: MagneticLine[]
original: Uint8Array
polygon?: Polygon
success?: boolean
verticalLines?: MagneticLine[]
videoSize: VideoSize

Generated using TypeDoc