1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #24919 from asmorkalov:as/python_Rect2f_Point3i

Add python bindings for Rect2f and Point3i
This commit is contained in:
Alexander Smorkalov
2024-01-29 17:36:30 +03:00
committed by GitHub
5 changed files with 45 additions and 1 deletions
+1 -1
View File
@@ -558,7 +558,7 @@ public:
//! returns the minimal up-right integer rectangle containing the rotated rectangle
CV_WRAP Rect boundingRect() const;
//! returns the minimal (exact) floating point rectangle containing the rotated rectangle, not intended for use with images
Rect_<float> boundingRect2f() const;
CV_WRAP Rect2f boundingRect2f() const;
//! returns the rectangle mass center
CV_PROP_RW Point2f center;
//! returns width and height of the rectangle