Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When sgie's reinfer_interval>0, the label blinks. How can I fix this? #85

Open
YoungjaeDev opened this issue Dec 8, 2023 · 0 comments

Comments

@YoungjaeDev
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant