Commit 82113eb90c487d9da7ebd968ff17e74659822daa
1 parent
285b6860
Removed debug statements
Showing
1 changed file
with
0 additions
and
4 deletions
openbr/plugins/landmarks.cpp
| ... | ... | @@ -112,7 +112,6 @@ class ProcrustesTransform : public Transform |
| 112 | 112 | if (warp) { |
| 113 | 113 | Eigen::MatrixXf dstMat = srcMat*R; |
| 114 | 114 | for (int i = 0; i < dstMat.rows(); i++) { |
| 115 | - qDebug() << QPointF(dstMat(i,0),dstMat(i,1)); | |
| 116 | 115 | dst.file.appendPoint(QPointF(dstMat(i,0),dstMat(i,1))); |
| 117 | 116 | } |
| 118 | 117 | } |
| ... | ... | @@ -181,7 +180,6 @@ class DelaunayTransform : public UntrainableTransform |
| 181 | 180 | |
| 182 | 181 | for (int i = 0; i < points.size(); i++) { |
| 183 | 182 | if (points[i].x() < 0 || points[i].y() < 0 || points[i].y() >= src.m().rows || points[i].x() >= src.m().cols) { |
| 184 | - qDebug() << points[i] << src.m().rows << src.m().cols; | |
| 185 | 183 | dst = src; |
| 186 | 184 | qWarning("Delauney triangulation failed because points lie on boundary."); |
| 187 | 185 | return; |
| ... | ... | @@ -297,8 +295,6 @@ class DelaunayTransform : public UntrainableTransform |
| 297 | 295 | boundingBox.width *= 1-QtUtils::toPoint(widthCrop).y(); |
| 298 | 296 | boundingBox.height *= 1-QtUtils::toPoint(heightCrop).y(); |
| 299 | 297 | |
| 300 | - qDebug() << boundingBox; | |
| 301 | - | |
| 302 | 298 | dst.m() = Mat(dst.m(), boundingBox); |
| 303 | 299 | } |
| 304 | 300 | } | ... | ... |