public class AestheticodeDetector extends Object implements Function<Contour,List<Aestheticode>>, 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
|
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)
Function
apply
in interface Function<Contour,List<Aestheticode>>
in
- the input object