j2d.face
Class FaceUtils
java.lang.Object
j2d.face.FaceUtils
public class FaceUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FaceUtils
public FaceUtils()
getImageDistances
public static ImageDistances getImageDistances(java.io.File dir,
java.awt.image.BufferedImage img)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
faceMatch
public static ImageDistance faceMatch(java.io.File dir,
java.awt.image.BufferedImage img)
faceMatch
public static void faceMatch(java.io.File dir,
java.io.File file)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getCroppedFaceImage
public static java.awt.image.BufferedImage getCroppedFaceImage(java.awt.image.BufferedImage camImage,
boolean isDiffracted)
getNumberOfFaces
public static int getNumberOfFaces()
getFaceFileImageList
public static java.io.File[] getFaceFileImageList()
getFaceImages
public static java.awt.Image[] getFaceImages()
getImageFileFormatArray
public static j2d.face.ImageFileFormat[] getImageFileFormatArray()
readImage
public static double[] readImage(java.io.File f)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
getFaceCatalog
public static java.awt.Image getFaceCatalog()
getFaces
public static Face[] getFaces()
testGetFaces
public static void testGetFaces()
main
public static void main(java.lang.String[] args)