Companion

object Companion

Functions

Link copied to clipboard

Create a quadrangle that matches the full image, meaning a document has been detected but it fills the entire image and thus no crop should be performed.

Link copied to clipboard

Creates a quadrangle from an array of eight normalized coordinates ordered as: TopLeft (x, y), TopRight (x, y), BottomLeft (x, y), BottomRight (x, y).