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 highlightDeclaration
Swift
public var frame: FrameInfo -
center x of the bbox in frame pixels
Declaration
Swift
public var cx: Int -
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 }
TimedBBox Structure Reference