cv-plot icon indicating copy to clipboard operation
cv-plot copied to clipboard

Font selection support

Open xakod opened this issue 2 years ago • 1 comments

I see cv-plot uses cv::FONT_HERSHEY_SIMPLEX while it doesn't support non-ascii characters (so we cannot use non-ascii characters with cv-plot at the moment) meanwhile COMPLEX font supports utf-8 opencv/opencv#17980 and if we want more, opencv provides TrueType opencv/opencv#18760.

Why not to provide some kind of selection for internal fonts?

xakod avatar Jun 06 '22 14:06 xakod

Yes, that would be nice. I have no experience with opencv fonts. Feel free to propose a fix if it is simple and always works with any opencv installation!

wpalfi avatar Jun 07 '22 08:06 wpalfi