Package org.ptolemy.opencv
Class FaceRecognizer.Eyes
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- org.ptolemy.opencv.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 Summary
Constructors Constructor Description Eyes()
-
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.
-
-