1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

Fix interface, add documentation

This commit is contained in:
Vlad Shakhuro
2015-08-26 10:30:18 +03:00
parent a546ba9690
commit ab72b24a00
4 changed files with 33 additions and 5 deletions

View File

@@ -365,7 +365,7 @@ int WaldBoost::predict(Ptr<CvFeatureEvaluator> eval, float *h) const
void WaldBoost::write(FileStorage &fs) const
{
fs << "waldboost" << "{";
fs << "{";
fs << "waldboost_params"
<< "{" << "weak_count" << weak_count_ << "}";

View File

@@ -212,7 +212,8 @@ void WBDetectorImpl::detect(
assert(confidences.size() == bboxes.size());
}
Ptr<WBDetector> create_wbdetector()
Ptr<WBDetector>
WBDetector::create()
{
return Ptr<WBDetector>(new WBDetectorImpl());
}