mirror of
https://github.com/opencv/opencv.git
synced 2026-10-07 04:02:36 +03:00
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.