Gst-nvofvisual ================ The Gst-nvofvisual plugin is useful for visualizing motion vector data. The visualization method is similar to the OpenCV reference source code in: https://github.com/opencv/opencv/blob/master/samples/gpu/optical_flow.cpp The plugin solves the optical flow problem by computing the magnitude and direction of optical flow from a two-channel array of flow vectors. It then visualizes the angle (direction) of flow by hue and the distance (magnitude) of flow by value of Hue Saturation Value (HSV) color representation. The strength of HSV is always set to a maximum of 255 for optimal visibility. .. image:: /content/DS_plugin_gst-nvofvisual.png :align: center :alt: Gst-nvofvisual Inputs and Outputs -------------------- * Inputs * GStreamer buffer containing NV12/RGBA frame(s) * NvDsOpticalFlowMeta containing the motion vector (MV) data generated by the gst-nvof plugin * Control parameters * gpu-id, selects the GPU ID * Output * GStreamer buffer containing RGBA frame(s) * RGBA buffer generated by transforming MV data into color-coded RGBA image reference Features --------- The following table summarizes the features of the plugin. .. csv-table:: Gst-nvofvisual plugin features :file: ../text/tables/Gst-Nvofvisual tables/DS_Plugin_gst-nvofvisual_features.csv :widths: 30, 30, 30 :header-rows: 1 Gst Properties --------------- The following table describes the Gst properties of the Gst-nvofvisual plugin. .. csv-table:: Gst-nvofvisual plugin gst properties :file: ../text/tables/Gst-Nvofvisual tables/DS_Plugin_gst-nvofvisual_gst-properties.csv :widths: 25, 25, 25, 25 :header-rows: 1