Page 1 of 1

Pi with VGA camera to read colors

Posted: Thu Nov 06, 2014 7:14 pm
by Mario.Nnz
Good morning my fellow programmers

I've been thinking about starting a new project but I would like to know if somebody has had an experience with this kind of idea and maybe you could tell me how feasible it is to create.

My problem is that I need to detect if there is a certain color coverage over a certain area. I know I could address this using color detection sensors and I've got the code for it, but since this is a large area I was thinking of installing an overhead USB Sentech camera with a Tamron lens to cover the full area I need.

The area to be scanned will not change, neither will the color to be detected.

So, how does it sound? do you think it's possible to do it? Has anyone tried to do color scanning with a USB camera?

Thanks!

Re: Pi with VGA camera to read colors

Posted: Thu Nov 06, 2014 8:22 pm
by jamesh
Sounds feasible. Any reason you don't want to use the Raspi camera? Should be fine for the job, and would give you much more CPU grunt for the image processing.

Re: Pi with VGA camera to read colors

Posted: Fri Nov 14, 2014 3:43 pm
by experix
"color scanning with a USB camera" seems to be exactly what I have demonstrated (among other things) in the 'pictures' file in experix_r14_book.tgz2 from experix.sourceforge.net (freely available open-source project recently adapted to run on raspberry-pi). Please have a look at this, and contact me for advice if you want to set it up.