Class ContourDetectionResult

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
detectionStatus?: DetectionStatus
horizontalLines?: MagneticLine[]
polygon?: Polygon
success?: boolean
verticalLines?: MagneticLine[]

Generated using TypeDoc