Go to PROJECT:<your_project_name> and select PYTHON INTERPRETER
Click on the gear symbol next to the interpreter path and select SHOW ALL
Make sure the correct interpreter is selected
Click on that icon that looks like a folder tree (on the top)
Click on the “+” icon
Select the folder where the OpenCV package is located
normally (if you installed it via package manager) you will find it in:
<your_project_path>\venv\Lib\site-packages\cv2