Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you cannot use cv::addText with out a (qt) window context.

you can still use putText() without any gui, but you're limited to the builtin hershey font.

there is a freetype/harbuzz module in opencv_contrib for extra (bitmap) fonts.

last but not least: opencv is a computer-vision library. drawing text is only a utility, not the main means.