Jump to content

GstInference/Metadatas/GstEmbeddingMeta: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 49: Line 49:
   class_meta = (GstClassificationMeta *) gst_buffer_get_meta (buffer,
   class_meta = (GstClassificationMeta *) gst_buffer_get_meta (buffer,
                   GST_DETECTION_META_API_TYPE);
                   GST_DETECTION_META_API_TYPE);
  g_print ("Class: 0 has probability %f\n", class_meta->embedding[0]);
}
}
</syntaxhighlight>
</syntaxhighlight>
351

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.