Font¶
- class vizdet.Font(font_file_name)¶
A class for loading FreeType fonts for use with OpenCV.
- Parameters
font_file_name (Union[str, pathlib.Path]) –
- font¶
The cv2 FreeType font, which enables drawing text on images with
putText
and getting the size of the text withgetTextSize
.- Type
Any
- classmethod get_default()¶
Get the default FiraGo-Regular font.
- Return type
Any