Remove the serialization experiments with YAS
This commit is contained in:
@@ -180,13 +180,13 @@ void DescriptorManager::SaveFeatures() {
|
||||
ar::binary_oarchive oam(fm);
|
||||
oam << mutatedFeatures;
|
||||
}
|
||||
{ //YAS serialization
|
||||
/*{ //YAS serialization
|
||||
yas::file_ostream os("features.yas", yas::file_mode::file_trunc);
|
||||
//const std::size_t flg = yas::binary|yas::file;
|
||||
yas::binary_oarchive<yas::file_ostream, yas::file|yas::binary> oa(os);
|
||||
oa & features;
|
||||
//yas::save<yas::file|yas::binary>(image_name, features);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
//Loads saved feature maps from disk.
|
||||
@@ -332,4 +332,4 @@ void DescriptorManager::generatePreviews(string imagename) {
|
||||
for (int i = 0; i < numDescriptors; i++) {
|
||||
descriptor_types[i]->preview(img);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user