Commit 37276ffabdaf784ecac4bca3734fc5a385940523
1 parent
d9283713
reverted accidental inclusion of debugging code
Showing
1 changed file
with
0 additions
and
12 deletions
openbr/plugins/distance/dist.cpp
| ... | ... | @@ -14,9 +14,6 @@ |
| 14 | 14 | * limitations under the License. * |
| 15 | 15 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
| 16 | 16 | |
| 17 | -#include <iostream> | |
| 18 | -using namespace std; | |
| 19 | - | |
| 20 | 17 | #include <opencv2/imgproc/imgproc.hpp> |
| 21 | 18 | #include <openbr/plugins/openbr_internal.h> |
| 22 | 19 | |
| ... | ... | @@ -55,15 +52,6 @@ private: |
| 55 | 52 | |
| 56 | 53 | float compare(const Mat &a, const Mat &b) const |
| 57 | 54 | { |
| 58 | - /* | |
| 59 | - cout << "Mat A" << endl; | |
| 60 | - cout << "rows: " << a.rows << "\tcols: " << a.cols << endl; | |
| 61 | - cout << "a.ptr<float>()[0]: " << a.ptr<float>()[0] << endl; | |
| 62 | - cout << "Mat B" << endl; | |
| 63 | - cout << "rows: " << b.rows << "\tcols: " << b.cols << endl; | |
| 64 | - cout << "b.ptr<float>()[0]: " << b.ptr<float>()[0] << endl; | |
| 65 | - */ | |
| 66 | - | |
| 67 | 55 | if ((a.size != b.size) || |
| 68 | 56 | (a.type() != b.type())) |
| 69 | 57 | return -std::numeric_limits<float>::max(); | ... | ... |