color sensor

Hi,
i need to detect white colored object within 3-5cm under sunlight using an color sensor. Which sensor best fit for this?

The OV7725?

Already we are using the openmv only to find the blob. But we can’t find the distance(depth) so that we need a sensor for detecting the object at close which will be white in color. The object will be in the plant.

Hi, if you need to detect the depth you can do two things:

  1. You can use the number of pixels/area of the object as an input into a look-up table where you’ve recorded the depth of the object given some pixel/area values. That said, this method isn’t exactly precise but works without any external sensor.

  2. You can attach an external I2C depth sensor to the OpenMV Cam or another system.