TimedBBox

public struct TimedBBox : Codable

Bounding box object tied to a frame in the video

  • Frame info, including frame number and offset

    Note

    offset and frame num are relative to the start frame of the highlight

    Declaration

    Swift

    public var frame: FrameInfo
  • cx

    center x of the bbox in frame pixels

    Declaration

    Swift

    public var cx: Int
  • cy

    center y of the bbox in frame pixels

    Declaration

    Swift

    public var cy: Int
  • width of the bbox in frame pixels

    Declaration

    Swift

    public var width: Int
  • height of the bbox in frame pixels

    Declaration

    Swift

    public var height: Int
  • The bounding box as a CGRect

    Declaration

    Swift

    public var rect: CGRect { get }