opencvtextoverlay

opencvtextoverlay renders the text on top of the video frames

Example launch line

 gst-launch-1.0 videotestsrc ! videoconvert ! opencvtextoverlay text="Opencv Text Overlay " ! videoconvert ! xvimagesink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──GstOpencvVideoFilter
                            ╰──opencvtextoverlay

Factory details

Authors: – sreerenj

Classification:Filter/Effect/Video

Rank – none

Plugin – opencv

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-raw:
         format: RGB
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink

Object typeGstPad


src

video/x-raw:
         format: RGB
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

colorB

“colorB” gint

Sets the color -B

Flags : Read / Write

Default value : 0


colorG

“colorG” gint

Sets the color -G

Flags : Read / Write

Default value : 0


colorR

“colorR” gint

Sets the color -R

Flags : Read / Write

Default value : 0


height

“height” gdouble

Sets the height of fonts

Flags : Read / Write

Default value : 1


text

“text” gchararray

Text to be display.

Flags : Read / Write

Default value : Opencv Text Overlay


thickness

“thickness” gint

Sets the Thickness of Font

Flags : Read / Write

Default value : 2


width

“width” gdouble

Sets the width of fonts

Flags : Read / Write

Default value : 1


xpos

“xpos” gint

Sets the Horizontal position

Flags : Read / Write

Default value : 50


ypos

“ypos” gint

Sets the Vertical position

Flags : Read / Write

Default value : 50


The results of the search are