cv::dnn::dnn.hpp in opencv-3.3.1-vc14.exe is different from github? [closed]
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!
"opencv-3.3.1-vc14.exe" -- do you mean, the 3.3.1 release downloaded from sourceforge ?
that is indeed a bit behind the current master branch.
please use
git clone
or similar, you need latest master branch for both opencv and opencv_contrib for this.Your answer is right. Sorry for accepting my comment by mistake! first time to use it....
there is nothing wrong here, don't worry !