Commit 067599a4bcbe9f810b2139eb440febf812dcf324

Authored by sklum
1 parent c1a1921a

Added FTE condition for Stasm

openbr/plugins/stasm4.cpp
... ... @@ -132,6 +132,7 @@ class StasmTransform : public UntrainableTransform
132 132  
133 133 if (!foundFace) {
134 134 qWarning("No face found in %s.", qPrintable(src.file.fileName()));
  135 + dst.file.set("FTE",true);
135 136 } else {
136 137 for (int i = 0; i < nLandmarks; i++) {
137 138 QPointF point(landmarks[2 * i], landmarks[2 * i + 1]);
... ...
openbr/plugins/validate.cpp
... ... @@ -273,7 +273,7 @@ class RejectDistance : public Distance
273 273 {
274 274 // We don't look at the query
275 275 (void) b;
276   -
  276 +
277 277 foreach (const QString &key, keys)
278 278 if ((rejectIfContains && a.file.contains(key)) || (!rejectIfContains && !a.file.contains(key)))
279 279 return -std::numeric_limits<float>::max();
... ...