Cannot correctly display OSD Chinese text on bbox

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**V100
• DeepStream Version5.1.0
• JetPack Version (valid for Jetson only)
• TensorRT Version7.2.2.3

I plan to use deepstream-lpr-app to recognize Chinese license plates. I have completed the following steps:

the OS supports Chinese:
image

But there is a problem with the Chinese display in the recognition result video
image

How can I solve it? Thank you

Does deepstream_lpr_app/deepstream_lpr_app.c at master · NVIDIA-AI-IOT/deepstream_lpr_app · GitHub print the right info?

image
it can print the chinese info

Hi, do you have any new suggestions? Looking forward to your reply. Thanks

HI @1210586191 ,
Did you follow below suggestion in deepstream_lpr_app/deepstream-lpr-app at master · NVIDIA-AI-IOT/deepstream_lpr_app · GitHub ?

For Chinese plate recognition, please make sure the Chinese language support is in the OS.
For example:
With Ubuntu

  1. Install Chinese Language package .
    sudo apt-get install language-pack-zh-hans
  2. Set the Chinese language enviroment
    export LANG=zh_CN.UTF-8
    export LANGUAGE=“zh_CN:zh:en_US:en”

Yes,I follow the suggestion

I realize that this problem may be caused by the Ubuntu system not installing Chinese fonts.
Then, I run this command

apt-get install ttf-wqy-microhei

to get the font package and install it.
The problem is solved!
thanks very much!