Commit 3f734af086b85df57797a46d65fe43f13d71aa8a
1 parent
1afec1a0
Sigset will provide positive or negative label
Showing
1 changed file
with
0 additions
and
2 deletions
openbr/plugins/slidingwindow.cpp
| @@ -42,8 +42,6 @@ private: | @@ -42,8 +42,6 @@ private: | ||
| 42 | foreach (const Template &tmpl, data) { | 42 | foreach (const Template &tmpl, data) { |
| 43 | foreach (const Rect &rect, OpenCVUtils::toRects(tmpl.file.rects())) { | 43 | foreach (const Rect &rect, OpenCVUtils::toRects(tmpl.file.rects())) { |
| 44 | Template pos(tmpl.file, Mat(tmpl, rect)); | 44 | Template pos(tmpl.file, Mat(tmpl, rect)); |
| 45 | - // add the positive label | ||
| 46 | - pos.file.set("Label", 1); | ||
| 47 | full += pos; | 45 | full += pos; |
| 48 | 46 | ||
| 49 | // add random negative samples | 47 | // add random negative samples |