## opencvtextoverlay opencvtextoverlay — Write text on the top of video |

## Synopsis

    struct              GstOpenalSrc;
    struct              GstOpencvTextOverlay;

## Properties

      "colorB"                   gint                  : Read / Write
      "colorG"                   gint                  : Read / Write
      "colorR"                   gint                  : Read / Write
      "height"                   gdouble               : Read / Write
      "text"                     gchar*                : Read / Write
      "thickness"                gint                  : Read / Write
      "width"                    gdouble               : Read / Write
      "xpos"                     gint                  : Read / Write
      "ypos"                     gint                  : Read / Write

## Description

## Synopsis

### Element Information

plugin | opencv
author | sreerenj<bsreerenj@gmail.com>
class | Filter/Effect/Video

### Element Pads

name | sink
direction | sink
presence | always
details | video/x-raw, format=(string)RGB, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name | src
direction | source
presence | always
details | video/x-raw, format=(string)RGB, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

## Details

### struct GstOpenalSrc

    struct GstOpenalSrc;

### struct GstOpencvTextOverlay

    struct GstOpencvTextOverlay {
      GstElement element;

      GstPad *sinkpad, *srcpad;

      IplImage *cvImage;
      CvMemStorage *cvStorage;
      CvFont font;

      gint xpos;
      gint ypos;
      gint thickness;
      gint colorR,colorG,colorB;
      gdouble height;
      gdouble width;
      gchar *textbuf;
    };

## Property Details

### The `"colorB"` property

      "colorB"                   gint                  : Read / Write

Sets the color -B.

Allowed values: [0,255]

Default value: 0

### The `"colorG"` property

      "colorG"                   gint                  : Read / Write

Sets the color -G.

Allowed values: [0,255]

Default value: 0

### The `"colorR"` property

      "colorR"                   gint                  : Read / Write

Sets the color -R.

Allowed values: [0,255]

Default value: 0

### The `"height"` property

      "height"                   gdouble               : Read / Write

Sets the height of fonts.

Allowed values: [1,5]

Default value: 1

### The `"text"` property

      "text"                     gchar*                : Read / Write

Text to be display.

Default value: "Opencv Text Overlay"

### The `"thickness"` property

      "thickness"                gint                  : Read / Write

Sets the Thickness of Font.

Allowed values: >= 0

Default value: 2

### The `"width"` property

      "width"                    gdouble               : Read / Write

Sets the width of fonts.

Allowed values: [1,5]

Default value: 1

### The `"xpos"` property

      "xpos"                     gint                  : Read / Write

Sets the Horizontal position.

Allowed values: >= 0

Default value: 50

### The `"ypos"` property

      "ypos"                     gint                  : Read / Write

Sets the Vertical position.

Allowed values: >= 0

Default value: 50