-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot import module 'cv2.gapi.wip.draw' #42
Comments
it's an issue with cv2 what version of opencv-python do you have installed? try to upgrade it |
I have installed it , and upgraded it. But it still gives the same error |
i've solved my problem. pip install opencv-python==4.7.0.72 |
but I got a new error when run the workflow:
|
if i reinstall insightface, I will get the same error: "Cannot import module 'cv2.gapi.wip.draw'" |
that's another extension, you probably need to upgrade it |
I have solved my problem:
you need to pip install opencv-python==4.7.0.72
you need to check this folder: models/insightface/models/antelopev2/ and make sure you have file like 1k3d68.onnx in this folder. In my case, I founded that all of this files were in models/insightface/models/antelopev2/antelopev2 so i deleted second antelopev2 folder, and move all files in the first floder |
After installed the insightface, I get this error:
The text was updated successfully, but these errors were encountered: