bufferAddVideoRegionOfInterestMeta
fn
gstvideo.video_region_of_interest_meta.VideoRegionOfInterestMeta bufferAddVideoRegionOfInterestMeta(gst.buffer.Buffer buffer, string roiType, uint x, uint y, uint w, uint h)Attaches #GstVideoRegionOfInterestMeta metadata to buffer with the given parameters.
Parameters
buffer | a #GstBuffer |
roiType | Type of the region of interest (e.g. "face") |
x | X position |
y | Y position |
w | width |
h | height |
Returns
the #GstVideoRegionOfInterestMeta on buffer.