From the documentation, minAreaRect
takes an InputArray
and an InputArray
can be a std::vector<std::vector<T>>
.
However I'm getting an assertion error when calling minAreaRect
with vector<vector<Point>>
:
what(): /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/matrix.cpp:977: error: (-215) 0 <= i && i < (int)vv.size() in function getMat
Isn't Point
a "T
"?