public class TargetFinder
extends java.lang.Object
| Constructor and Description |
|---|
TargetFinder(CameraSettings cameraSettings,
TargetFilter thresholdFilter,
ContourFilter contourFilter,
TargetGrouping grouping)
Creates a target finder.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Target> |
findTargets(org.opencv.core.Mat image)
Find targets within an image.
|
public TargetFinder(CameraSettings cameraSettings, TargetFilter thresholdFilter, ContourFilter contourFilter, TargetGrouping grouping)
cameraSettings - The settings of the camera.thresholdFilter - The target filter.contourFilter - The contour filter which is applied to the target filtered image.grouping - The way targets will be grouped.public java.util.List<Target> findTargets(org.opencv.core.Mat image)
image - The image to find targets in.