ColourBlob

constructor(cameraDimensions: Size?, contour: MatOfPoint, contourPoints: List<Point>, contourArea: Int, density: Double, aspectRatio: Double, boxFit: RotatedRect)

Alternate constructor that supports the usage of the toContourData method, which needs camera dimensions.


constructor(contour: MatOfPoint, contourPoints: List<Point>, contourArea: Int, density: Double, aspectRatio: Double, boxFit: RotatedRect)