Package org.ptolemy.opencv
Class FaceRecognizer.Faces
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- org.ptolemy.opencv.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 Summary
Constructors Constructor Description Faces()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
filter(java.awt.image.BufferedImage source, java.awt.image.BufferedImage destination)
Detect eyes and faces in the source image.-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
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.
-
-