Class DetectorTarget
java.lang.Object
io.github.roboblazers7617.limelight.targets.neural.DetectorTarget
Represents a Neural Detector Pipeline Result extracted from JSON Output
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
Class ID integer.Human-readable class name string.double
Confidence of the predicition.double
The size of the target as a percentage of the image [0-1].double
The X-coordinate of the center of the target in degrees relative to crosshair.double
The X-coordinate of the center of the target in degrees relative to principal pixel.double
The X-coordinate of the center of the target in pixels relative to crosshair.double
The Y-coordinate of the center of the target in degrees relative to crosshair.double
The Y-coordinate of the center of the target in degrees relative to principal pixel.double
The Y-coordinate of the center of the target in pixels relative to crosshair. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
className
Human-readable class name string. -
classID
public double classIDClass ID integer. -
confidence
public double confidenceConfidence of the predicition. -
ta
public double taThe size of the target as a percentage of the image [0-1]. -
tx
public double txThe X-coordinate of the center of the target in degrees relative to crosshair. Positive-right, center-zero. -
ty
public double tyThe Y-coordinate of the center of the target in degrees relative to crosshair. Positive-down, center-zero. -
tx_pixels
public double tx_pixelsThe X-coordinate of the center of the target in pixels relative to crosshair. Positive-right, center-zero. -
ty_pixels
public double ty_pixelsThe Y-coordinate of the center of the target in pixels relative to crosshair. Positive-down, center-zero. -
tx_nocrosshair
public double tx_nocrosshairThe X-coordinate of the center of the target in degrees relative to principal pixel. Positive-right, center-zero. -
ty_nocrosshair
public double ty_nocrosshairThe Y-coordinate of the center of the target in degrees relative to principal pixel. Positive-down, center-zero.
-
-
Constructor Details
-
DetectorTarget
public DetectorTarget()Creates a new DetectorTarget with blank values.
-