Start United States USA — software Tracking Blue Objects With OpenCV and Python

Tracking Blue Objects With OpenCV and Python

288
0
TEILEN

Opencv is an amazing Open Source Computer Vision Library. Today We’re going to hack a little bit with it. The idea is track blue objects. Why blue objects? M…
OpenCV is an amazing open-source computer vision library. Today, we’re going to hack a little bit with it. The idea is track blue objects. Why blue objects? Maybe because I’ve got a couple of them in my desk. Let’s start.
The idea is simple. We’ll create a mask. Our mask is a black and white image where each blue pixel will turn into a white one and the rest of pixels will be black.
Original frame:
Masked one:
Now, we only need put a bounding rectangle around the blue object.
And that’s all. A nice hack for a Sunday morning!
The source code is on GitHub !

Continue reading...