title: Loading an axis Camera in qt with open cv
body: <p>I have been trying for some time to load an image from a axis 205 network cam into my qt programming using opencv running on a windows laptop. According to the cameras configuration page</p>
  
  <blockquote>
    <p>The Motion JPEG image stream is fetched from the file:
    <code>http://192.168.0.90/axis-cgi/mjpg/video.cgi?resolution=640x480</code></p>
  </blockquote>
  
  <p>the login for the camera is root for the username and pass for the password</p>
  
  <p>I have tried several variations in the code but I can not get the program to display the image</p>
  
  <p><code>VideoCapture * cap = new  VideoCapture("http://192.168.0.90/axis-cgi/mjpg/video.cgi?resolution=640x480");</code></p>
  
  <p><code>Mat frame;</code></p>
  
  <p><code>cap-&gt;read(frame);</code></p>
  
  <p>Everything I try results in an empty frame, Thanks for any help</p>
  
  <p>~Gibby</p>