Error: AttributeError - 'cv2' module has no attribute 'setNumThreads' #12153
-
I encountered an error while trying to run the object detection script detect.py on my computer. The error message indicates an AttributeError related to the 'cv2' module and the 'setNumThreads' function. CLI:
Error Message:
I'll truly appreciate your help and suggestions. |
Beta Was this translation helpful? Give feedback.
Answered by
0xliquor
Sep 21, 2023
Replies: 1 comment 1 reply
-
You need to update your opencv-python library. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Harshit28j
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to update your opencv-python library.
I tested in mine, and it worked.
You can see my version: