An object stay's in the same place but when calling for the area with blob.area() the area ranges from 980 to 3450 pixels. What can I do to get the area to stay in a smaller range so i can do some distance math.
To recap - the area changes even though the camera and object do not. How do i fix it.
General discussion about topics related to OpenMV.
2 posts • Page 1 of 1
Hi, use the pixels() method. If area() is changing like that it means that you are picking up noise pixels which cause the bounding box to grow. Area() is based on the bounding box. pixels() is the number of pixels in the object.
Who is online
Users browsing this forum: No registered users and 4 guests