ColourSensor

constructor(@NonNull regionOfInterest: ImageRegion, @NonNull swatches: Array<PredominantColorProcessor.Swatch>)

Construct a new ColourSensor vision pipeline.

Parameters

regionOfInterest

the region of interest on which to perform colour analysis

swatches

the swatches from which a "best guess" at the shade of the predominant colour will be made