From d28f11998deadc8036bb63aa5bdc80beb1a9fbe4 Mon Sep 17 00:00:00 2001 From: Vivek R <123vivekr@gmail.com> Date: Sun, 24 May 2020 23:37:25 +0530 Subject: opencv: add cvtracker plugin This adds an object tracker plugin. Tracker implementations from https://docs.opencv.org/3.4/d0/d0a/classcv_1_1Tracker.html Part-of: --- docs/plugins/gst_plugins_cache.json | 151 ++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index c7776a2d9..e3ad9e352 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -215782,6 +215782,117 @@ }, "rank": "none" }, + "cvtracker": { + "author": "Vivek R <123vivekr@gmail.com>", + "description": "Performs object tracking on videos and stores it in video buffer metadata.", + "hierarchy": [ + "GstCVTracker", + "GstOpencvVideoFilter", + "GstVideoFilter", + "GstBaseTransform", + "GstElement", + "GstObject", + "GInitiallyUnowned", + "GObject" + ], + "klass": "Filter/Effect/Video", + "long-name": "cvtracker", + "pad-templates": { + "sink": { + "caps": "video/x-raw:\n format: RGB\n width: [ 1, 2147483647 ]\n height: [ 1, 2147483647 ]\n framerate: [ 0/1, 2147483647/1 ]\n", + "direction": "sink", + "presence": "always" + }, + "src": { + "caps": "video/x-raw:\n format: RGB\n width: [ 1, 2147483647 ]\n height: [ 1, 2147483647 ]\n framerate: [ 0/1, 2147483647/1 ]\n", + "direction": "src", + "presence": "always" + } + }, + "properties": { + "algorithm": { + "blurb": "Algorithm for tracking objects", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "MedianFlow (3)", + "mutable": "null", + "readable": true, + "type": "GstOpenCVTrackerAlgorithm", + "writable": true + }, + "draw-rect": { + "blurb": "Draw rectangle around tracked object", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "true", + "mutable": "null", + "readable": true, + "type": "gboolean", + "writable": true + }, + "object-initial-height": { + "blurb": "Track object box's initial height", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "50", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "object-initial-width": { + "blurb": "Track object box's initial width", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "50", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "object-initial-x": { + "blurb": "Track object box's initial X coordinate", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "50", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "object-initial-y": { + "blurb": "Track object box's initial Y coordinate", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "50", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + } + }, + "rank": "none" + }, "dewarp": { "author": "Nicola Murino ", "description": "Dewarp fisheye images", @@ -217398,6 +217509,46 @@ } ] }, + "GstOpenCVTrackerAlgorithm": { + "kind": "enum", + "values": [ + { + "desc": "the Boosting tracker", + "name": "Boosting", + "value": "0" + }, + { + "desc": "the CSRT tracker", + "name": "CSRT", + "value": "1" + }, + { + "desc": "the KCF (Kernelized Correlation Filter) tracker", + "name": "KCF", + "value": "2" + }, + { + "desc": "the Median Flow tracker", + "name": "MedianFlow", + "value": "3" + }, + { + "desc": "the MIL tracker", + "name": "MIL", + "value": "4" + }, + { + "desc": "the MOSSE (Minimum Output Sum of Squared Error) tracker", + "name": "MOSSE", + "value": "5" + }, + { + "desc": "the TLD (Tracking, learning and detection) tracker", + "name": "TLD", + "value": "6" + } + ] + }, "GstOpencvFaceBlurFlags": { "kind": "flags", "values": [ -- cgit v1.2.1