Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV InputArray to std::vector<type>

I have a function which takes in an cv::InputArray _inputArray, and I do a check for _inputArray.isVector(). Now, what I would like to do is directly use the cv::InputArray _inputArray as a vector, but it doesn't seem like there is overloaded functionality for this.

What is the correct way to go about doing this?