Finding RBG values of Pixel Grid using ArduCam Mini 2MP

  1. Where did you get the camera module(s)?
  2. Model number of the product(s)?
  3. What hardware/platform were you working on?

I am trying to make an Algorithm that can detect where there is high green RGB values in an image. The basics of the project is to determine where 4 green LED’s show up on a pixel grid. I have gotten the camera to work and capture images no problem, but I am unsure as to how to get RGB values from an image.

Thanks in advance.

1 Like


You can use our OV2640_QVGA register bank configuration. The default resolution is 320x240. The data format is RGB.

How do I go about setting up this configuration?


Use the myCAM.set_format(BMP); function to configure the camera’s data format as RGB, and then use the myCAM.InitCAM(); function to initialize the camera.