public class TargetUtils
extends java.lang.Object
Constructor and Description |
---|
TargetUtils() |
Modifier and Type | Method and Description |
---|---|
static Target |
combineTargets(Target target1,
Target target2,
CameraSettings cameraSettings)
Combine two targets into a single target.
|
static Target |
rectangleToTarget(org.opencv.core.RotatedRect rectangle,
CameraSettings settings)
Converts a rotated rectangle to a target.
|
public static Target rectangleToTarget(org.opencv.core.RotatedRect rectangle, CameraSettings settings)
rectangle
- The rectangle containing a target.settings
- The settings of the camera.public static Target combineTargets(Target target1, Target target2, CameraSettings cameraSettings)
target1
- The first target.target2
- The second target.cameraSettings
- The settings of the camera.