public class AestheticodeDetector extends Object implements org.openimaj.util.function.Function<Contour,List<Aestheticode>>, org.openimaj.util.function.Predicate<Contour>
| Constructor and Description |
|---|
AestheticodeDetector()
Constructs with the min and max children to the default (both are 5) and
max childless children to 0
|
AestheticodeDetector(int minChildren,
int maxChildren,
int maxChildless)
Construct with the given parameters
|
| Modifier and Type | Method and Description |
|---|---|
List<Aestheticode> |
apply(Contour in) |
boolean |
test(Contour in) |
public AestheticodeDetector()
public AestheticodeDetector(int minChildren, int maxChildren, int maxChildless)
minChildren - the minimum number of children allowed in a rootmaxChildren - the maximum number of children allowed in a rootmaxChildless - the maximum number of childless childrenpublic List<Aestheticode> apply(Contour in)
apply in interface org.openimaj.util.function.Function<Contour,List<Aestheticode>>