mirror of
https://github.com/opencv/opencv.git
synced 2026-11-24 02:07:54 -06: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.