union (cv.Rect) - MATLAB File Help
cv.Rect.union

Minimum area rectangle

r = cv.Rect.union(r1, r2)

Input

Output

See also
Method Details
Access public
Sealed false
Static true