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:
@@ -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_ << "}";
|
||||
|
||||
|
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user