HSV color space is more often used in machine vision owing to its superior performance compared to RGB color space in varying illumination levels. Often thresholding and masking is done in HSV color space. So it is very important to know the HSV values of the color which we want to filter out. HSV color space of OpenCV is a bit complicated than other software programmes like Gimp, Photoshop etc.So I have written a small python script to grab frames from a camera, and print the HSV value of the pixel under the cursor
Archive for February, 2012
Chippu has now upgraded its hardware, and is now much smarter. The Atmega32 is replaced by a more powerful and feature rich Atmega128 based Wiring Board. It has 53 I/O pins, 8 analog inputs, 2 hardware serial ports, 6 PWM (analog outputs), SPI, TWI, 8 external interrupts pins. Also it can drive a maximum of 24 servo motors. Quite impressive. A motor control board based on L293D was also added. Here are a few shots.
I was using an Atmega32 based Arduino clone for the low level hardware control of my personal robot Chippu. But soon ran into problems as the code size increased and the inbuilt RAM of 2kb overflowed often, and it caused the ROS node running on Arduino to go out of sync. Also I needed to drive about 16 servo motors , and my Arduino permitted only a maximum of 12. So the only alternative was to go for a powerful Arduino Mega 2560.