Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

is there a list of fonts some place?

I am using put text, on the screen, with an example, that uses Hersey Font. I would like to change the font, and to know what I can use for fonts.

I am using C++, on a linux platform, if it matters. I used the command:

$sudo cat /usr/local/include/opencv2/core.hpp | grep -i font

to try and get more info about what the fonts might be, but it just shows the Hershey font. I tried picking an arbitrary font, such as "FONT_SANS_BOLD" but got the message this is not declared in the scope.

What should I do to display different fonts?

is there a list of fonts some place?

I am using put text, putText, on the screen, with an example, that uses Hersey Font. I would like to change the font, and to know what I can use for fonts.

I am using C++, on a linux platform, if it matters. I used the command:

$sudo cat /usr/local/include/opencv2/core.hpp | grep -i font

to try and get more info about what the fonts might be, but it just shows the Hershey font. I tried picking an arbitrary font, such as "FONT_SANS_BOLD" but got the message this is not declared in the scope.

What should I do to display different fonts?