Commit 3f734af086b85df57797a46d65fe43f13d71aa8a

Authored by Austin Van Blanton
1 parent 1afec1a0

Sigset will provide positive or negative label

openbr/plugins/slidingwindow.cpp
... ... @@ -42,8 +42,6 @@ private:
42 42 foreach (const Template &tmpl, data) {
43 43 foreach (const Rect &rect, OpenCVUtils::toRects(tmpl.file.rects())) {
44 44 Template pos(tmpl.file, Mat(tmpl, rect));
45   - // add the positive label
46   - pos.file.set("Label", 1);
47 45 full += pos;
48 46  
49 47 // add random negative samples
... ...