IMAGE
- The image on which to perform the detectionDETECTED_OBJECT
- the type of object representing a detection.public interface MultiScaleObjectDetector<IMAGE extends Image<?,IMAGE>,DETECTED_OBJECT> extends ObjectDetector<IMAGE,DETECTED_OBJECT>
Any type of Java object can be used to represent a detection; this could be
something as simple as a Rectangle
representing the spatial location
of the detection, or it could be much more complex.
The interface allows for multiple detections to be returned from the input
image. If required, these detections could be filtered by a
DetectionFilter
as a post-processing operation.
ObjectDetector
Modifier and Type | Method and Description |
---|---|
int |
getMaximumDetectionSize()
(Optional operation).
|
int |
getMinimumDetectionSize()
(Optional operation).
|
void |
setMaximumDetectionSize(int size)
(Optional operation).
|
void |
setMinimumDetectionSize(int size)
(Optional operation).
|
detect, setROI
void setMinimumDetectionSize(int size)
Set the minimum detection size.
size
- the minimum detection size.void setMaximumDetectionSize(int size)
Set the maximum detection size. A size less than or equal to 0 indicates there is no maximum size.
size
- the maximum detection size.int getMinimumDetectionSize()
Get the minimum detection size.
int getMaximumDetectionSize()
Get the maximum detection size. A size less than or equal to 0 indicates there is no maximum size.