Colour Blob
data class ColourBlob(val contour: MatOfPoint, val contourPoints: List<Point>, val contourArea: Int, val density: Double, val aspectRatio: Double, val boxFit: RotatedRect, val arcLength: Double, val circularity: Double, val circle: Circle) : VisionData
Data class for storing data related to the return results of a ColorBlobLocatorProcessor.
Since
5.0.0
Constructors
Link copied to clipboard
constructor(cameraDimensions: Size?, contour: MatOfPoint, contourPoints: List<Point>, contourArea: Int, density: Double, aspectRatio: Double, boxFit: RotatedRect, arcLength: Double, circularity: Double, circle: Circle)
Alternate constructor that supports the usage of the toContourData method, which needs camera dimensions.
Types
Properties
Functions
Link copied to clipboard
Convert the ColourBlob information stored by this instance into ContourData information.