Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Initialize OutputArray for solvePnpRansac

How should the output array argument of solvePnPRansac() be initialized? I do cv::OutputArray array. But I get a:

 error: ‘array’ declared as reference but not initialized

I am not sure how big the array will be.