Class FaceRecognizer.Faces

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

    public class FaceRecognizer.Faces
    extends AbstractBufferedImageOp
    A filter that detects faces.
    • Constructor Detail

      • Faces

        public Faces()
    • 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.