Low Latency (~0.4 s) Video Streaming From Raspberry Pi Using Mjpeg-Streamer and OpenCV

rpiThere are multiple ways to stream video from Raspberry Pi (RPi) to another computer via the wired or wifi ethernet. After trying multiple methods, stumbled upon one that leads to minimal latency and works really well over a wifi connection. The solution is the combination of mjpeg-streamer on the RPi and OpenCV client program on the other computer. In this tutorial, I am working with linux Ubuntu as the client computer.  Let’s get to it!
Continue reading

Parrot ARDrone 2.0 Video Streaming through OpenCV in Linux

Parrot ARDrone 2.0

Recently, I got the Parrot ARDrone 2.0. Enjoying taking control of electronics and software, I wanted to write my own code that will stream the video from the quadcopter to my computer and give me the ability to process the individual video frames with OpenCV. There are lots of examples how to do this for ARDrone 1.x, but virtually nothing for ARDrone 2.0, which completely changed the way it’s streaming the video. After many hours of research and putting different pieces of code together, I got it to work on ARDrone 2.0. In this post, I will show you how to do it.

Continue reading