Class FaceRecognizer.Eyes

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable
    Enclosing class:
    FaceRecognizer

    public class FaceRecognizer.Eyes
    extends AbstractBufferedImageOp
    A filter that detects eyes and faces.
    • Constructor Detail

      • Eyes

        public Eyes()
    • Method Detail

      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage source,
                                                   java.awt.image.BufferedImage destination)
        Detect eyes and faces in the source image.
        Parameters:
        source - The source image.
        destination - Not used here. Required by superclass.
        Returns:
        The image with squares around any eyes and faces.