openalpr / train-detector

Input files and scripts necessary to train the license plate detector.
GNU Affero General Public License v3.0
125 stars 166 forks source link

Use full path name for negative files #13

Closed chriswiggins closed 8 years ago

chriswiggins commented 8 years ago

For me, if negative.txt doesn't have full path directories, the opencv_traincascade command fails with:

===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   399 : 399
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

This change fixes that issue

matthill commented 8 years ago

Thanks, Chris!