Types
AVDetectionBBox = object x*, y*, w*, h*: cint classify_count*: uint32 classify_labels*: array[AV_NUM_DETECTION_BBOX_CLASSIFY, array[AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE, cchar]] classify_confidences*: array[AV_NUM_DETECTION_BBOX_CLASSIFY, AVRational]
AVDetectionBBoxHeader = object source*: array[256, cchar] nb_bboxes*: uint32 bboxes_offset*: csize_t bbox_size*: csize_t
Procs
proc av_detection_bbox_alloc(nb_bboxes: uint32; out_size: ptr csize_t): ptr AVDetectionBBoxHeader {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_detection_bbox_create_side_data(frame: ptr AVFrame; nb_bboxes: uint32): ptr AVDetectionBBoxHeader {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_detection_bbox(header: ptr AVDetectionBBoxHeader; idx: cuint): ptr AVDetectionBBox {. inline, importc, cdecl, ...raises: [], tags: [], forbids: [].}