Detecting reddish color areas
Posted: Tue Jul 08, 2014 10:41 pm
Hello,
my Raspberry Pi Robot should detect reddish color areas on the floor by using Adafruit I2C-RGB Color sensor.
I've written a Python Script for doing this. It works partially, I can get the red, green and blue value from the sensor (a number between 0 and 255 in each case).
But with this informations I cannot say 'this is a reddish color area'.
Maybe I must define fixed intervals for red / green/ blue values, do you know any empirical valus here?
Or would you say 'this approach is a bad idea'?
Thank you for your efforts!
Christoph
my Raspberry Pi Robot should detect reddish color areas on the floor by using Adafruit I2C-RGB Color sensor.
I've written a Python Script for doing this. It works partially, I can get the red, green and blue value from the sensor (a number between 0 and 255 in each case).
But with this informations I cannot say 'this is a reddish color area'.
Maybe I must define fixed intervals for red / green/ blue values, do you know any empirical valus here?
Or would you say 'this approach is a bad idea'?
Thank you for your efforts!
Christoph