title: how to read an image with opencv using path variable in Python
body: <p>So I have a variable that holds the image path as a string. but I get the below error while trying to read the image using the path variable. The path variable is coming from another function that calls this code.
  <br>Error:
  <br><code>can't open/read file: check file path/integrity</code></p>
  <p>My code:</p>
  <pre><code>path = &quot;D://dev//py_scripts//SS1.jpg&quot;
  image=cv2.imread(path) 
  </code></pre>
  <p>Tried several solutions but ended up with same error.</p>