TargetDetectionInfo

@objcMembers
@objc(GSTargetDetectionInfo)
public class TargetDetectionInfo : NSObject

Class to store the target detection results.

  • Horizontal north-drone-target angle in radian.

    Declaration

    Swift

    public let targetAzimuth: Double
  • Vertical angle horizon-drone-target in radian.

    Declaration

    Swift

    public let targetElevation: Double
  • Normalized relative radial speed in 1/second.

    Declaration

    Swift

    public let changeOfScale: Double
  • Confidence of the detection (from 0 to 1, the highest is the best).

    Declaration

    Swift

    public let confidence: Double
  • true if the target box is new, false otherwise.

    Declaration

    Swift

    public let isNewTarget: Bool
  • Acquisition time of processed picture in milliseconds.

    Declaration

    Swift

    public let timestamp: UInt64
  • Constructor for the target detection results.

    Declaration

    Swift

    public init(
        targetAzimuth: Double, targetElevation: Double, changeOfScale: Double, confidence: Double, isNewTarget: Bool,
        timestamp: UInt64)

    Parameters

    targetAzimuth

    Horizontal north-drone-target angle in radian

    targetElevation

    Vertical angle horizon-drone-target in radian

    changeOfScale

    Normalized relative radial speed in 1/second

    confidenceIndex

    Confidence index of the detection (from 0 to 255, the highest is the best)

    isNewTarget

    true if the target is new, false otherwise

    timestamp

    Acquisition time in millisecond

  • Debug description.

    Declaration

    Swift

    override public var description: String { get }