diff --git a/openbr/plugins/gallery.cpp b/openbr/plugins/gallery.cpp index 0a5bc36..de74376 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -290,7 +290,7 @@ class utGallery : public BinaryGallery uint32_t x = 0, y = 0, width = 0, height = 0; QByteArray header; - if (algorithmID == -1) { + if (algorithmID == -1 || algorithmID == -2) { const QRectF frontalFace = t.file.get("FrontalFace"); x = frontalFace.x(); y = frontalFace.y();