Commit b18c77d1965102fcad2e45dd4e028fa0d2dec5bb

Authored by Brendan Klare
2 parents d8bd7aaa 229d3997

Merge fix

Showing 1 changed file with 0 additions and 7 deletions
openbr/plugins/landmarks.cpp
... ... @@ -541,13 +541,6 @@ class TextureMapTransform : public UntrainableTransform
541 541 {
542 542 QList<QPointF> points(_points);
543 543  
544   - //points = addBounds(points, bound);
545   - /*
546   - points.append(QPointF(bound.left() + bound.width() / 2, bound.top()));
547   - points.append(QPointF(bound.left() + bound.width() / 2, bound.bottom() - 1));
548   - points.append(QPointF(bound.left(), bound.top() + bound.height() / 2));
549   - points.append(QPointF(bound.right() - 1, bound.top() + bound.height() / 2));
550   - */
551 544 Subdiv2D subdiv(OpenCVUtils::toRect(bound));
552 545 for (int i = 0; i < points.size(); i++)
553 546 subdiv.insert(OpenCVUtils::toPoint(points[i]));
... ...