I built the prototype with PIC12F675 and it generally worked as I expected. There is a brief demo at
There are some slight modifications, soon I shall update the schematics
Small pen-like instrument which plays three tones depending on RGB components of the tested surface, to help blind persons or daltonists
Here is another one similar project, http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/f2012/dl487_kl524/dl487_kl524/index.html