cvtracker

Performs object tracking on videos and stores it in video buffer metadata.

Example launch line

gst-launch-1.0 v4l2src ! videoconvert ! cvtracker box-x=50 box-y=50 box-wdith=50 box-height=50 ! videoconvert ! xvimagesink

Hierarchy

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

Factory details

Authors: – Vivek R <123vivekr@gmail.com>

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

algorithm

“algorithm” Open-cvtracker-algorithm *

Algorithm for tracking objects

Flags : Read / Write

Default value : MedianFlow (3)


draw-rect

“draw-rect” gboolean

Draw rectangle around tracked object

Flags : Read / Write

Default value : true


object-initial-height

“object-initial-height” guint

Track object box's initial height

Flags : Read / Write

Default value : 50


object-initial-width

“object-initial-width” guint

Track object box's initial width

Flags : Read / Write

Default value : 50


object-initial-x

“object-initial-x” guint

Track object box's initial X coordinate

Flags : Read / Write

Default value : 50


object-initial-y

“object-initial-y” guint

Track object box's initial Y coordinate

Flags : Read / Write

Default value : 50


Named constants

Open-cvtracker-algorithm

Members

Boosting (0) – the Boosting tracker
CSRT (1) – the CSRT tracker
KCF (2) – the KCF (Kernelized Correlation Filter) tracker
MedianFlow (3) – the Median Flow tracker
MIL (4) – the MIL tracker
MOSSE (5) – the MOSSE (Minimum Output Sum of Squared Error) tracker
TLD (6) – the TLD (Tracking, learning and detection) tracker

The results of the search are