Size of an object in an image

Discussion related to "under the hood" OpenMV topics.
Posts: 32
Joined: Thu May 10, 2018 12:19 am
Location: Karaikal

Size of an object in an image

Postby SARAVANABAVAN » Fri Jun 15, 2018 12:20 am

Hello sir/Madam,
Is there any possibility to obtain the size of the object which is focussed in an image ???
User avatar
Posts: 3990
Joined: Sun May 24, 2015 2:10 pm

Re: Size of an object in an image

Postby kwagyeman » Fri Jun 15, 2018 12:16 pm

Yes, have you see the find_blobs() method? It returns a list of color blobs which have a .w() and .h() attribute for the width and height of the blob respectively. You need some way to segment the image using color however.

Return to “Technical Discussion”

Who is online

Users browsing this forum: dustin and 24 guests