1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

add negatives generation

This commit is contained in:
marina.kolpakova
2012-12-06 15:58:50 +04:00
parent a388884675
commit f6e3e3f049
3 changed files with 69 additions and 14 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ int main(int argc, char** argv)
cv::Size model(64, 128);
std::string path = "/home/kellan/cuda-dev/opencv_extra/testdata/sctrain/rescaled-train-2012-10-27-19-02-52";
sft::Octave boost(npositives, nnegatives, octave, shrinkage);
cv::Rect boundingBox(5, 5 ,16, 32);
sft::Octave boost(boundingBox, npositives, nnegatives, octave, shrinkage);
sft::FeaturePool pool(model, nfeatures);
sft::Dataset dataset(path, boost.logScale);