Gst-nvdstextembedder
The Gst-nvdstextembedder plugin is a DeepStream-compatible GStreamer Python plugin that generates text embeddings, designed to work alongside Gst-nvdsvisionencoder-c for text-to-image search applications. It supports text-to-image search, person-attribute search (e.g. “person wearing red shirt”), zero-shot classification, and semantic search. Texts can be set via the texts property, or encoded on demand using a custom GStreamer “embedding” query that returns results synchronously without modifying element properties.
Inputs and Outputs
-
Inputs
- texts property, or a custom “embedding” GstQuery, containing a JSON array of text strings to encode
-
Control parameters
- device, model-name, batch-size, use-fp16, verbose
-
Output
- embeddings property containing a JSON array of computed embedding vectors (or the synchronous query result for on-demand encoding)
Features
The following table summarizes the features of the plugin.
Gst-nvdstextembedder plugin features
Gst Properties
The following table describes the Gst properties of the Gst-nvdstextembedder plugin.
Gst-nvdstextembedder plugin gst properties