The above example works fine if I build OpenCV from source, however, if I use the pip install opencv-contrib-python or pip install opencv-python, I get error 'module ‘cv2’ has no attribute ‘freetype’ ’
Any recommendations? Or do I just need to build OpenCV?
the FreeType License (FTL) is the most commonly used one. It is a BSD-style license with a credit clause and thus compatible with the GNU Public License (GPL) version 3, but not with the GPL version 2.