Skip to content

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

Open
@YoungjaeDev

Description

@YoungjaeDev

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions