java.lang.Object
io.github.roboblazers7617.limelight.targets.neural.DetectorTarget

public class DetectorTarget extends Object
Represents a Neural Detector Pipeline Result extracted from JSON Output
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    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
    Constructor
    Description
    Creates a new DetectorTarget with blank values.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • className

      public String className
      Human-readable class name string.
    • classID

      public double classID
      Class ID integer.
    • confidence

      public double confidence
      Confidence of the predicition.
    • ta

      public double ta
      The size of the target as a percentage of the image [0-1].
    • tx

      public double tx
      The X-coordinate of the center of the target in degrees relative to crosshair. Positive-right, center-zero.
    • ty

      public double ty
      The Y-coordinate of the center of the target in degrees relative to crosshair. Positive-down, center-zero.
    • tx_pixels

      public double tx_pixels
      The X-coordinate of the center of the target in pixels relative to crosshair. Positive-right, center-zero.
    • ty_pixels

      public double ty_pixels
      The Y-coordinate of the center of the target in pixels relative to crosshair. Positive-down, center-zero.
    • tx_nocrosshair

      public double tx_nocrosshair
      The X-coordinate of the center of the target in degrees relative to principal pixel. Positive-right, center-zero.
    • ty_nocrosshair

      public double ty_nocrosshair
      The 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.