Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::dnn::dnn.hpp in opencv-3.3.1-vc14.exe is different from github?

Hello,

I try to test the text detection file "textbox_demo.cpp" in opencv_contrib text, but there is no cv::dnn::NMSBoxes in cv::dnn::dnn.hpp. Details:

In textbox_demo.cpp, Line 87:

cv::dnn::NMSBoxes(bbox, outProbabillities, 0.3f, 0.4f, indexes);

In github dnn::dnn.hpp, Line 761:

CV_EXPORTS_W void NMSBoxes(const std::vector<Rect>& bboxes, const std::vector<float>& scores,
                           const float score_threshold, const float nms_threshold,
                           CV_OUT std::vector<int>& indices,
                           const float eta = 1.f, const int top_k = 0);

In opencv-3.3.1-vc14.exe dnn::dnn.hpp, there is not a function named "NMSBoxes".

Is a bug? or opencv-3.3.1-vc14.exe will be updated later? or any newer version? So I have to cmake the source in github if I want to call the cv::dnn::NMSBoxes?

thanks in advance!