Commit e8a6a61415af9f623e00dcf82a715ff5bfb4c78a

Authored by Josh Klontz
2 parents 20fd2aae 5a129989

Merge pull request #253 from biometrics/ComponentID

New algorithm ID, same stuff as the old ID
Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/gallery.cpp
... ... @@ -251,7 +251,7 @@ class utGallery : public BinaryGallery
251 251 t.file.set("URL", QString(data.data()));
252 252 char *dataStart = data.data() + ut.urlSize;
253 253 uint32_t dataSize = ut.size - ut.urlSize;
254   - if (ut.algorithmID == -1) {
  254 + if (ut.algorithmID == -1 || ut.algorithmID == -2) {
255 255 t.file.set("FrontalFace", QRectF(ut.x, ut.y, ut.width, ut.height));
256 256 uint32_t *rightEyeX = reinterpret_cast<uint32_t*>(dataStart);
257 257 dataStart += sizeof(uint32_t);
... ...