GStreamer Motion Overlay Element
| GPU Accelerated Motion Detector |
|---|
| Overview |
| GStreamer Plugin |
| Getting Started |
| Examples |
| Performance |
| Troubleshooting |
| FAQ |
| Contact Us |
The GStreamer element is called "rrmotionoverlay". This element performs the drawing of the bounding boxes. The "rrmotionoverlay" receives as input a frame in GRAY8 or RGBA format and outputs a GRAY8 or RGBA frame.
Main Properties
- Color: With this property you can choose the color to use for the bounding box (big-endian ARGB). By default it is 4294967295(hex:FFFFFFFF).
- Draw: With this property when enabled a bounding box will be drawn around each detected blob. By default it is true.
- Thickness: With this property you change the line thickness to use for the bounding box. By default it is 10 and the units are positive integers.
Capabilities
This section overviews the Motion Overlay input and output capabilities.
Below is the full output of the gst-inspect-1.0 command:
Factory Details:
Rank none (0)
Long-name Motion Bounding Boxes Overlay
Klass Filter/Editor/Video
Description Add motion bounding boxes on top of a video buffer
Author Melissa Montero <melissa.montero@ridgerun.com>
Plugin Details:
Name rrmotiondetection
Description Motion detection components based on OpenCV
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrrmotiondetection.so
Version 0.1.1 License Proprietary
Source module gstrrmotiondetection
Binary package gstrrmotiondetection
Origin URL www.ridgerun.com
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstVideoFilter
+----GstRrMotionOverlay
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw
format: { (string)RGBA, (string)GRAY8 }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw
format: { (string)RGBA, (string)GRAY8 }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'
Element Properties:
color : Color to use for bounding box (big-endian ARGB).
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4294967295
draw : When enabled, bounding box will be drawn around each detected blob
flags: readable, writable
Boolean. Default: true
name : The name of the object
flags: readable, writable
String. Default: "rrmotionoverlay0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
qos : Handle Quality-of-Service events
flags: readable, writable
Boolean. Default: true
thickness : Line thickness to use for bounding box
flags: readable, writable
Unsigned Integer. Range: 1 - 4294967295 Default: 10