Category Archives: python

Using OpenCV and Python on the Raspberry Pi for simple object detection UPDATE

I recently wrote about detecting blue objects. Now that I have refined the code somewhat I am going to show how detect a round blue object and post the full source at the end. Most of it is the same … Continue reading

Posted in computer vision, Linux, python, raspberry pi | Leave a comment

Using OpenCV and Python on the Raspberry Pi for simple object detection

I wrote some time ago about the robot which task it is to find a blue ball and move to it. In this post I will give a little bit more information on how it detects the blue ball. The … Continue reading

Posted in computer vision, Linux, python, raspberry pi | Leave a comment

Why you should blur an image before processing it using OpenCV and Python

If you start playing around with computer vision there are a couple of surprises waiting. One of them, for me at least, was how bad computers are at finding shapes in noisy images and, in contrast to that, how good … Continue reading

Posted in computer vision, Linux, python | Leave a comment

Raspberry PI Robot finds a blue ball update

I modified the code for finding the ball and added moving towards ist (if the radius of the detected object is small, etc.). Short video of the action   And another screenshot of the GUI, the detection uses OpenCV.

Posted in python, raspberry pi, robots | Leave a comment

Raspberry PI Robot finds a blue ball

Short clip of the Robot2 with its new light attachment (USB powered reading light, attached to the USB Power Source). The images it uses for recognition are taken by a small microsoft webcam and then processed with python and opencv. … Continue reading

Posted in python, raspberry pi, robots | Leave a comment

Raspberry PI Robot Navigation Experiment

After installing the HMC5883L I wanted to try some simple navigation experiments. Experiment 1 should go like this: 1. Move forward a little 2. Rotate 90 degrees 3. Move forward a little 4. Go back to the start point (distance … Continue reading

Posted in python, raspberry pi, robots | Leave a comment

Digital compass HMC5883L with python and the raspberry pi

I recently installed the hmc5883l which I ordered from amazon on my robot. The plan is to do some simple navigation experiments. The assembly was unproblematic. I connected the i2c bus to the adafruit servo controller which in turn is … Continue reading

Posted in python, raspberry pi, robots | Leave a comment