Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version Deepstream 7.0 SDK
• JetPack Version (valid for Jetson only) Jetpack 6.0
• TensorRT Version TensorRT: 8.6.2.3
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) Question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) Deepstream service maker test 2 and test 5.
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Good afternoon, everyone. I recently switched to developing DeepStream applications using Service Maker. While testing the DeepStream Service Maker Test 2 application with a custom input model, I can see both the bounding boxes and labels for detected objects. However, when I move the same pipeline to the Test 5 application, I only see the bounding boxes without the labels.
For example, if I add this code inside the handleData()
function in the DeepStream Service Maker Test 5 application and try to build it, I get an “undefined reference” error:
const auto& rect = object.rectParams();
const auto& text_params = object.textParams();
std::cout << "Bounding Box for Object:"
<< " Left: " << rect.left
<< " Top: " << rect.top
<< " Width: " << rect.width
<< " Height: " << rect.height
<< " Confidence: " << object.confidence()
<< " Class ID: " << object.classId()
<< " Label: " << object.label()
<< " Label: " << text_params.display_text
<< std::endl;
After checking the metadata.hpp
file and specifically the ObjectMetadata
class, I noticed these two declarations. I can easily access rectParams()
and retrieve information from it. Why can’t I access textParams
, and what is the reason the labels are not being displayed?
NvOSD_RectParams rectParams() const;
NvOSD_TextParams textParams() const
Thanks for your help!