bufferAddVideoRegionOfInterestMetaId

fngstvideo.video_region_of_interest_meta.VideoRegionOfInterestMeta bufferAddVideoRegionOfInterestMetaId(gst.buffer.Buffer buffer, glib.types.Quark roiType, uint x, uint y, uint w, uint h)

Attaches #GstVideoRegionOfInterestMeta metadata to buffer with the given parameters.

Parameters

buffera #GstBuffer
roiTypeType of the region of interest (e.g. "face")
xX position
yY position
wwidth
hheight

Returns

the #GstVideoRegionOfInterestMeta on buffer.