I am trying to configure PyCharm to work with OpenCV. First, I installed OpenCV with cuda support using cmake. Next, I checked that cv2 is being imported and checked that the test code is working. But I came across the fact that PyCharm does not give hints for cv2.
I tried adding the path to /usr/lib/python3/dist-packages/cv2/ to the interpreter.
But nothing has changed.Installing the opencv-python package causes cuda to be unsupported. What should I do? I will be glad of any information.
P.S. I’m sorry if I violated the rules of registration, this is my first question.
user26602585 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.