Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

minAreaRect of vector of vector of points

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"?