I have a project I want to share in a few weeks. But I am stuck on a point. I have a camera. I was the camera to read a specific zone in the camera view, and to break it down into 3 values of red, green, blue, so i can save them to a file, or graph them.
I believe you can use OpenCV to do this. One of the operations that it can perform is the reading and editing of the color of pixels in a captured image. It can do much more than that though. Here is a link:
People use this to make things like color sorting bots. So it can surely be used for your project as well.