diff --git a/openbr/plugins/stasm4.cpp b/openbr/plugins/stasm4.cpp index 9dff4d6..799b59d 100644 --- a/openbr/plugins/stasm4.cpp +++ b/openbr/plugins/stasm4.cpp @@ -113,8 +113,8 @@ class StasmTransform : public UntrainableTransform QString l = pinEyes.at(1).toString(); if (!r.isNull() && !l.isNull() && src.file.contains(r) && src.file.contains(l)) { - rightEye = src.file.get(pinEyes.at(0).toString(), QPointF()); - leftEye = src.file.get(pinEyes.at(1).toString(), QPointF()); + rightEye = src.file.get(r, QPointF()); + leftEye = src.file.get(l, QPointF()); ok = true; } }