- Adds new OpenCV-based
VisionProcessor
s (which may be attached to a VisionPortal in either Java or Blocks) to help teams implement color processing via computer vision in the INTO THE DEEP gameColorBlobLocatorProcessor
implements OpenCV color "blob" detection. A new sample programConceptVisionColorLocator
demonstrates its use.- A choice is offered between pre-defined color ranges, or creating a custom one in RGB, HSV, or YCrCb color space
- The ability is provided to restrict detection to a specified Region of Interest on the screen
- Functions for applying erosion / dilation morphing to the threshold mask are provided
- Functions for sorting and filtering the returned data are provided
PredominantColorProcessor
allows using a region of the camera as a "long range color sensor" to determine the predominant color of that region. A new sample programConceptVisionColorSensor
demonstrates its use.- The determined predominant color is selected from a discrete set of color "swatches", similar to the MINDSTORMS NXT color sensor
- Documentation on this Color Processing feature can be found here: https://ftc-docs.firstinspires.org/color-processing
- Added Blocks sample programs for color sensors: RobotAutoDriveToLine and SensorColor.
- Updated Self-Inspect to identify mismatched RC/DS software versions as a "caution" rather than a "failure."