Colour Locator
BunyipsLib vision pipeline wrapper for a ColorBlobLocatorProcessor.
The ColorBlobLocatorProcessor finds "blobs" of a user-specified color in the image. You can restrict the search area to a specified Region of Interest (ROI).
This processor is the SDK-provided alternative to the ColourThreshold processor. Compared to ColourThreshold, this processor is less advanced in terms of the data it provides, but does not require a new class to be extended for each new colour range.
Author
Lucas Bubner, 2024
Since
5.0.0
See also
Constructors
Link copied to clipboard
constructor(@NonNull regionOfInterest: ImageRegion, @NonNull targetRange: ColorRange, @NonNull generationMode: ColorBlobLocatorProcessor.ContourMode)
Construct a new ColourLocator with minimum settings.
constructor(@NonNull builder: (ColorBlobLocatorProcessor.Builder) -> ColorBlobLocatorProcessor.Builder)
Construct a new ColourLocator with extra and required settings supplied at your own discretion.
Functions
Link copied to clipboard
Called by the vision system to draw on the frame.
Link copied to clipboard
Called by the vision system to process a frame.
Link copied to clipboard
Remove all filters.
Link copied to clipboard
Remove a filter.
Link copied to clipboard
Reset instance count for processor identification.