Open lleon95 opened 2 years ago
I am a bit concerned about the use of the GstInference methods. If you check other elements, you may check that GstInference provide functions for printing, building the metadata blocks, and so on. Please, take them as a reference:
The prediction class is declared here: https://github.com/RidgeRun/gst-inference/blob/a1428f86f967a7e21ea715a4d055d3bdffe3eb9b/gst-libs/gst/r2inference/gstinferenceprediction.h
and defined here: https://github.com/RidgeRun/gst-inference/blob/55cad49398398f1fcc424f76244e65585c7cd8f4/gst-libs/gst/r2inference/gstinferenceprediction.c
Originally posted by @lleon95 in https://github.com/RidgeRun/gst-inference/pull/340#r754371900
I am a bit concerned about the use of the GstInference methods. If you check other elements, you may check that GstInference provide functions for printing, building the metadata blocks, and so on. Please, take them as a reference:
The prediction class is declared here: https://github.com/RidgeRun/gst-inference/blob/a1428f86f967a7e21ea715a4d055d3bdffe3eb9b/gst-libs/gst/r2inference/gstinferenceprediction.h
and defined here: https://github.com/RidgeRun/gst-inference/blob/55cad49398398f1fcc424f76244e65585c7cd8f4/gst-libs/gst/r2inference/gstinferenceprediction.c
Originally posted by @lleon95 in https://github.com/RidgeRun/gst-inference/pull/340#r754371900