color wire sequence checking

Discussion related to "under the hood" OpenMV topics.
dhunjoshi
Posts: 9
Joined: Tue Apr 10, 2018 2:46 am

color wire sequence checking

Postby dhunjoshi » Tue Apr 10, 2018 2:50 am

IMG-20180410-WA0000.jpg
IMG-20180410-WA0000.jpg (69.49 KiB) Viewed 364 times
need to check color sequence of wires. is it possible in openmv7
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: color wire sequence checking

Postby kwagyeman » Tue Apr 10, 2018 11:17 am

Yeah, this is very easy. Buy a telephoto lens so you can focus on something close and use find_blobs() (color tracking) to find each color in order. As you find colors the centroids for each color should progress in order.
Nyamekye,
dhunjoshi
Posts: 9
Joined: Tue Apr 10, 2018 2:46 am

Re: color wire sequence checking

Postby dhunjoshi » Tue Apr 10, 2018 12:38 pm

kwagyeman wrote:
Tue Apr 10, 2018 11:17 am
Yeah, this is very easy. Buy a telephoto lens so you can focus on something close and use find_blobs() (color tracking) to find each color in order. As you find colors the centroids for each color should progress in order.
thank you very much for your reply. my openmv is suppose to come next 3~4 days. i m from india. and i did not get openmv telephoto lens here. can you give any source for that.
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: color wire sequence checking

Postby kwagyeman » Tue Apr 10, 2018 1:00 pm

It's a 12mm M12 lens. Just search for that. Lots of folks provide them. We buy ours from AliExpress.
Nyamekye,
dhunjoshi
Posts: 9
Joined: Tue Apr 10, 2018 2:46 am

Re: color wire sequence checking

Postby dhunjoshi » Tue Apr 10, 2018 1:20 pm

kwagyeman wrote:
Tue Apr 10, 2018 1:00 pm
It's a 12mm M12 lens. Just search for that. Lots of folks provide them. We buy ours from AliExpress.
thank you very much . i have order 20 lens from openmv online shop.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests