Changing the default font

±----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| N/A 35C P3 N/A / N/A | 5MiB / 6144MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2531 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+

The deep stream container 6.2 supports default font “serif”. The text displayed on the inference images are in “serif”. If we want to change the font to any other fonts such as “Arial”, " Times new roman" how to do the changes!. which plugin is responsible for this. ? Kindly need the guidance in this regard

You may refer to the font setting in deepstream_test1_app.c, for example setting Calibri as below:

txt_params->font_params.font_name = "Arial";

The corresponding plugin is nvdsosd, but the font setting is identified by parameters in NvOSD_TextParams.

Please can you give me the path of the nvosd plugin inside the deep stream 6.2

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

It’s nvdsosd, path is /opt/nvidia/deepstream/deepstream-6.2/sources/gst-plugins/gst-nvdsosd.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.