NVIDIA DeepStream SDK API Reference

9.0 Release
sources/apps/apps-common/includes/deepstream_text_embedder.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef __NVGSTDS_TEXT_EMBEDDER_H__
14 #define __NVGSTDS_TEXT_EMBEDDER_H__
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  gboolean enable;
26  gchar *model_name; /* "siglip2-giant", "dfn5b-clip", or "dfnclip" */
27  gchar *onnx_model_path; /* ONNX model file path (used for dfnclip) */
28  gchar *tokenizer_dir; /* tokenizer directory path (used for dfnclip) */
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif
NvDsTextEmbedderConfig
Definition: sources/apps/apps-common/includes/deepstream_text_embedder.h:23
NvDsTextEmbedderConfig::tokenizer_dir
gchar * tokenizer_dir
Definition: sources/apps/apps-common/includes/deepstream_text_embedder.h:28
NvDsTextEmbedderConfig::enable
gboolean enable
Definition: sources/apps/apps-common/includes/deepstream_text_embedder.h:25
NvDsTextEmbedderConfig::onnx_model_path
gchar * onnx_model_path
Definition: sources/apps/apps-common/includes/deepstream_text_embedder.h:27
NvDsTextEmbedderConfig::model_name
gchar * model_name
Definition: sources/apps/apps-common/includes/deepstream_text_embedder.h:26