-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
deepstream_tao_apps/apps/tao_others/deepstream-emotion-app/emotion_impl/emotion_impl.cpp
Lines 819 to 831 in 37a8586
NvDsClassifierMeta *classifier_meta = | |
nvds_acquire_classifier_meta_from_pool (batch_meta); | |
NvDsLabelInfo *label_info = | |
nvds_acquire_label_info_meta_from_pool (batch_meta); | |
label_info->label_id = 1; | |
label_info->result_class_id = 1; | |
label_info->result_prob = confidence; | |
g_strlcpy (label_info->result_label, emotionsList | |
[topEmotions[0][0]].c_str(), | |
MAX_LABEL_SIZE); | |
gchar *temp = obj_meta->text_params.display_text; | |
obj_meta->text_params.display_text = | |
g_strconcat (temp, " ", emotionsList[topEmotions[0][0]].c_str(), nullptr); |
How can I fix this?
Metadata
Metadata
Assignees
Labels
No labels