Source code for gbvision.utils.finders.rect_finder
from .object_finder import ShapeFinder
from gbvision.utils.shapes.base_rect import BaseRect
from ..shapes.base_shape import BaseShapeType
[docs]class RectFinder(ShapeFinder):
"""
Finds a rectangular shaped object
"""
@staticmethod
def _base_shape() -> BaseShapeType:
return BaseRect