setup_hashed_features() wasn't copying the configuration of the

feature extractor into the scanner.  Fixed this problem.
This commit is contained in:
Davis King 2012-01-01 21:13:15 -05:00
parent f0e099b301
commit ffd3401b44

View File

@ -60,6 +60,7 @@ namespace dlib
hashed_feature_image<feature_extractor, projection_hash> hfe; hashed_feature_image<feature_extractor, projection_hash> hfe;
hfe.set_hash(phash); hfe.set_hash(phash);
hfe.copy_configuration(fe);
scanner.copy_configuration(hfe); scanner.copy_configuration(hfe);
} }