Having vector<Descriptor> m_keyDescs
Descriptor specified like:
Descriptor(float x, float y, vector<double> const& f)
{
xi = x;
yi = y;
fv = f;
}
Pushed like:
m_keyDescs.push_back(Descriptor(descxi, descyi, fv));
How to convert this vector to cv::Mat?
I have tried
descriptors_scene = cv::Mat(m_keyDescs).reshape(1);
The project debugs without errors, but when it runs an error appears in Qt Creator on my mac:
test quit unexpectedly Click reopen to open the application again.