put an akaze binary descriptor into some DB
Hi all, i wanna store a descriptor which is computed by akaze->compute(grey, kpts, desc);
into some DB. For that purpose I would need the binary descriptor in some other format than cv::Mat desc;
. I would prefer some enum or bool container like std::vector<bool>
. How can I get the values out of desc??
careful ! if you're using DESCRIPTOR_KAZE, you'll get CV_64F features.
also, even if you're using CV_8U fatures, a
vector<bool>
is the wrong container to store them (there's no guarantee, that it will use uchar elements)