• Sven Wehner's avatar
    grabcut.py sample: Allow drawing rect from bottom/right · f7041bac
    Sven Wehner authored
    The grabcut sample script isn't able to create rectangles correctly that are
    drawn from e.g. bottom-right to top-left.
    This small commit uses four min() calls to determine the correct
    top-left point of the rectangle.
    It also removes some unnecessary white spaces before colons.
    f7041bac
grabcut.py 5.94 KB