vuba.Area
- class vuba.Area(min=None, max=None)[source]
Filter contours by area based on a lower or upper limit, or both.
- Parameters
min (int or float) – Lower limit to filter contour areas.
max (int or float) – Upper limit to filter contour areas.
- Returns
filter – Class object with
__call__
method that filters contours based on the pre-defined area limits provided at initiation.- Return type
See also
Methods
__init__
([min, max])