On 2/28/2014 6:09 AM, [email protected] wrote:
Thank you Alan G.

How?    I really want to do this.

I would start with a process-control camera module, maybe 320x240 pixels. You shouldn't need more resolution, and keeping the pixel count small means you won't need a fancy image processing chip. Such modules typically use the common I2C or similar serial control and data interface, and some modules will have an on-board micro controller. If I were doing this project, I'd write some firmware that would look at the change in color information between adjacent pixels and the do some simple statistical analysis on the result. The goal is to generate a single value for each image that represents how many colors are contained in the image. Then all you need is a threshold value above which the #5 plastic is detected. Other thresholds based on luminance might be capable of sorting out the other types so that a single detector could do the whole thing.

AlanG

Reply via email to