Does "insertText" not support Chinese fonts? How do I add Chinese fonts to my images?

1 vue (au cours des 30 derniers jours)
Currently, only fonts with "asciil" code are supported, but how can I do it to support Chinese fonts?

Réponse acceptée

Chunru
Chunru le 13 Sep 2021
I = imread('peppers.png');
% Find out the Chinese Fonts installed in your system
% listTrueTypeFonts
I=insertText(I, [10 20],'中文', 'Font', 'SimSun');
imshow(I)

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by