Package one.empty3.feature.jviolajones
Class Detector
java.lang.Object
one.empty3.feature.jviolajones.Detector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.jdom2.ElementgetFaces(BufferedImage image, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) getFaces(InputStream input, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) getFaces(String filename, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) int[][]getIntegralCanny(int[][] grayImage)
-
Constructor Details
-
Detector
- Throws:
FileNotFoundException
-
Detector
-
-
Method Details
-
getChild
-
getFaces
public List<Rectangle> getFaces(String filename, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
getFaces
public List<Rectangle> getFaces(InputStream input, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
getFaces
public List<Rectangle> getFaces(BufferedImage image, float baseScale, float scale_inc, float increment, int min_neighbors, boolean doCannyPruning) -
getIntegralCanny
public int[][] getIntegralCanny(int[][] grayImage) -
merge
-
equals
-