Determining whether a blob is detected

Discussion related to "under the hood" OpenMV topics.
potatoesareyummy
Posts: 3
Joined: Sat Sep 08, 2018 7:41 am

Determining whether a blob is detected

Postby potatoesareyummy » Sat Sep 22, 2018 2:10 am

Hi!
How would you determine whether a blob is detected or not. For example, i want to detect an orange object and display when it is detected so how would i do that?
Thanks!!
User avatar
kwagyeman
Posts: 2286
Joined: Sun May 24, 2015 2:10 pm

Re: Determining whether a blob is detected

Postby kwagyeman » Sat Sep 22, 2018 3:29 pm

Hi, please see the Examples->Color Tracking in OpenMV IDE. The find_blobs() method detects blobs and returns a list of color blobs in the image. If the threshold you pass for the color you want to detect is found then the list of blobs will not be empty.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: chrisPyres66, victagayun and 7 guests