title: usb webcam runs slowly on raspberry pi with opencv
body: <p>I have some code that I have adapted to run on a headless Rpi using a usb webcam, it is running a bit slow, so my questions are:</p>
  
  <ol>
  <li><p>If I were to use the GPI pins with a dedicated webcam would that be faster?</p></li>
  <li><p>Is there any way to speed up my code for Rpi?</p></li>
  <li><p>Where can I get a Rpi webcam?</p></li>
  </ol>
  
  <p><a href="http://pastebin.com/51WV3XJm" rel="nofollow">My code is here, I struggle to paste inline so its a link</a></p>