bufferGetVideoRegionOfInterestMetaId

fngstvideo.video_region_of_interest_meta.VideoRegionOfInterestMeta bufferGetVideoRegionOfInterestMetaId(gst.buffer.Buffer buffer, int id)

Find the #GstVideoRegionOfInterestMeta on buffer with the given id.

Buffers can contain multiple #GstVideoRegionOfInterestMeta metadata items if multiple regions of interests are marked on a frame.

Parameters

buffera #GstBuffer
ida metadata id

Returns

the #GstVideoRegionOfInterestMeta with id or null when there is

no such metadata on buffer.