mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
setup_hashed_features() wasn't copying the configuration of the
feature extractor into the scanner. Fixed this problem.
This commit is contained in:
parent
f0e099b301
commit
ffd3401b44
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user