bufferAddVideoRegionOfInterestMeta

Attaches #GstVideoRegionOfInterestMeta metadata to buffer with the given parameters.

bufferAddVideoRegionOfInterestMeta
(,
string roiType
,
uint x
,
uint y
,
uint w
,
uint h
)

Parameters

buffer gst.buffer.Buffer

a #GstBuffer

roiType string

Type of the region of interest (e.g. "face")

x uint

X position

y uint

Y position

w uint

width

h uint

height

Return Value

Type: gstvideo.video_region_of_interest_meta.VideoRegionOfInterestMeta

the #GstVideoRegionOfInterestMeta on buffer.