mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
don't use constructors for C API structures
This commit is contained in:
@@ -401,7 +401,7 @@ cvMinAreaRect2( const CvArr* array, CvMemStorage* /*storage*/ )
|
||||
cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf);
|
||||
|
||||
cv::RotatedRect rr = cv::minAreaRect(points);
|
||||
return (CvBox2D)rr;
|
||||
return cvBox2D(rr);
|
||||
}
|
||||
|
||||
void cv::boxPoints(cv::RotatedRect box, OutputArray _pts)
|
||||
|
||||
Reference in New Issue
Block a user