title: Pycharm cannot recognize cv2 but still usable
body: <p>I recently compiled the <code>OpenCV 4.4.0</code> with <code>CUDA</code> and <code>Python3</code> bindings following <a href="https://jamesbowley.co.uk/accelerate-opencv-4-4-0-build-with-cuda-and-python-bindings/" rel="nofollow noreferrer">this</a> instruction. I install it to a virtualenv in Anaconda, and it works in Anaconda Prompt. But as I want to use it in <code>Pycharm</code>, the code <code>import cv2</code> is underlined with the hint (just underlined, not run yet):</p>
  <pre><code>No module named cv2
  </code></pre>
  <p>Even though I could import errorless and use it anyway. And then there's no &quot;hint info&quot; as my cursor was on the code e.g. <code>cv2.imread()</code> (normally there would be hints about input name and format etc.). So the problem should just be that Pycharm couldn't recognize it.</p>
  <p>Could anyone enlighten me a little? Thanks!</p>
  <p><a href="https://i.stack.imgur.com/yxuSD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yxuSD.png" alt="interface" /></a></p>