1 | initial version |
admittedly, this is confusing.
pd : the directory (+ a slash), where your positive images are
p : a textfile *inside* that folder, with plain image names, like "my1.png"
nd : the directory with neg images (see pd)
n : a textfile inside nd with negative image names.
example:
train_HOG -pd=pos/ -p=pos.txt -nd=neg/ -n=neg.txt
.
pos
pos.txt
pos_img1.png
...
neg
neg.txt
neg_img1.png
...
(really, we should change that, so it only needs pd and nd, and it should be using cv::glob() instead of txtfiles...)