Freetype Attribute not found
vishaln15 opened this issue · 4 comments
AttributeError: module 'cv2.cv2' has no attribute 'freetype'
Completely new with CV. Found this a cool project to start with. I was unable to find a solution for the AttributeError.
Thank you.
You're missing the opencv-contrib-python
module. Run pip3 install -r requirements.txt
to fix this.
I've tried installing it in multiple environments. I uninstalled and reinstalled with --no-cache-dir. I've installed it using the requirements.txt, still no good. On an unrelated note, I found pip3 installing the packages very slowly.
@vishaln15 You have to make sure that you first install opencv-python
and then opencv-contrib-python
. This order is important. You can try to uninstall both modules first and then install opencv-python
and then opencv-contrib-python
.
@vishaln15 You have to make sure that you first install
opencv-python
and thenopencv-contrib-python
. This order is important. You can try to uninstall both modules first and then installopencv-python
and thenopencv-contrib-python
.
no use on Win10