opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
75.69k stars 55.61k forks source link

imgproc: sync boundingRect function with 5.x #25439

Closed mshabunin closed 2 weeks ago

mshabunin commented 2 weeks ago

This is partial backport of #25431 to 4.x branch intended to ease future merges.

On 5.x branch function boundingRect was located in removed contours.cpp, but on 4.x branch it was in shapedescr.cpp. I've moved it to geometry.cpp on both branches together with accompanying functions.