title: Get Raspberry Pi Camera Feed into Darknet and Yolo
body: <p>I'm trying to feed my Raspberry Pi MPEG Video stream into a Ubuntu machine learning system called <a href="https://pjreddie.com/darknet/yolo/" rel="nofollow noreferrer">Darknet</a>. </p>
  
  <p>Darknet runs properly now on its sample images, so it's running fine there. My Pi transmits a constant JPG stream to the local URL <a href="http://192.168.1.xx" rel="nofollow noreferrer">http://192.168.1.xx</a>. However, whenever I run the darknet command to do basic recognition on this stream, all I get is a black image result.</p>
  
  <p>Here's the command as I see it:</p>
  
  <pre><code>./darknet detector test cfg/coco.data cfg/yolo.cfg yolo.weights http://192.168.1.xx/cam.jpg
  </code></pre>
  
  <p>Does anyone know what might be going on?</p>