-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Waldboost with LBP #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waldboost with LBP #291
Conversation
@shahurik, thanks for the PR!
|
win_count = min(win_count, stage_neg - bootstrap_count); | ||
Mat window; | ||
for (int k = 0; k < win_count; ++k) { | ||
resize(img(bboxes[indices(k, 0)]), window, Size(24, 24)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bboxes.size() may not equal to confidences.rows, because bboxes are grouped in function boost.detect, this leads to an access exception in line 509, e.g. bboxes.size() is 0 and confidences.rows is 1
const ICFDetector& default_value = ICFDetector()); | ||
|
||
//! @} | ||
CV_EXPORTS Ptr<WBDetector> create_wbdetector(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, make static WBDetector::create() method instead
@shahurik, the code looks pretty good now and the API is much closer to our style than before. May I ask you to add some simple regression test using our googletest-based engine - put some pre-trained cascade for faces and within the test run it on a few pictures and check that it found certain number of faces around certain locations? |
@shahurik, thanks! can we expect a regression test as well? |
👍 |
In the CMakeLists.txt I got in the module root folder, there is next single line: but this directory do not exists and CMake complains about it, I just changed it to add_subdirectory(tools) And OpenCV generated correctly, maybe you want to check it. |
Are the ICF/ACF detectors completely gone now? o_O |
@vpisarev @shahurik could any one of you tell us why ICF/ACF has been deleted by this PR? This seems nonsense? Even if it was slow and underperforming... |
Waldboost improvement project.
Feature quantization was added to training procedure, so now training is much faster.
Waldboost was debugged for face detection with LBP features from OpenCV cascade. Currently it shows similar to rigid cascade quality, but is 1.5-2 times faster.