We implemented an endoscopy tool tracking prototype, similar to the one you provided in the holohub repository. For our application, we do inference on a YOLOv8 model, which works really well.
In order to visualize the result, we’d like to plot the bounding box and the label with holoviz. In addition, we also want to plot the confidence value.
However, I did not figure out how to add string to the output message in the compute function of our PostprocessingOP and emit the message, such that the HolovizOP can utilize the string.
I did not find any example application in the holohub repository doing exactly that. In all cases, text is statically specified within the YAML file.
Hello, very cool to hear about your tool tracking app with Yolo v8! For dynamically defining text at each call to compute(), the feature is not yet available in Holoscan and coming in a future release! Please stay tuned.
In the meanwhile, while we can’t dynamically display the exact value at this moment, one thing you could do is pre-define a few text strings of confidence ranges and display the corresponding range that the value falls into at each call to compute().