color sensor

General discussion about topics related to OpenMV.
krishnakumar77777
Posts: 41
Joined: Mon Oct 15, 2018 6:34 am

color sensor

Postby krishnakumar77777 » Mon Jan 07, 2019 10:48 pm

Hi,
i need to detect white colored object within 3-5cm under sunlight using an color sensor. Which sensor best fit for this?
User avatar
kwagyeman
Posts: 3260
Joined: Sun May 24, 2015 2:10 pm

Re: color sensor

Postby kwagyeman » Tue Jan 08, 2019 12:01 am

The OV7725?
Nyamekye,
krishnakumar77777
Posts: 41
Joined: Mon Oct 15, 2018 6:34 am

Re: color sensor

Postby krishnakumar77777 » Wed Jan 09, 2019 1:36 am

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.
User avatar
kwagyeman
Posts: 3260
Joined: Sun May 24, 2015 2:10 pm

Re: color sensor

Postby kwagyeman » Wed Jan 09, 2019 2:32 am

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.
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests