Commit 79ac19ccc907f609833fbd2d7b03d8c1b2668b6a
1 parent
ed60a517
tweaks
Showing
4 changed files
with
4 additions
and
9 deletions
.gitignore
3rdparty/stasm4.0.0/stasm/stasm.h
| ... | ... | @@ -30,7 +30,7 @@ static const char* const STASM_VERSION = "4.0.0" |
| 30 | 30 | #pragma warning(disable:4267) |
| 31 | 31 | #endif |
| 32 | 32 | |
| 33 | -#include <opencv/cv.h> | |
| 33 | +#include "opencv/cv.h" | |
| 34 | 34 | |
| 35 | 35 | #if _MSC_VER >= 1200 |
| 36 | 36 | #pragma warning(default:4996) // re-enable the warnings disabled above | ... | ... |
app/CMakeLists.txt
openbr/plugins/mask.cpp
| ... | ... | @@ -165,8 +165,7 @@ class LargestConvexAreaTransform : public UntrainableTransform |
| 165 | 165 | void project(const Template &src, Template &dst) const |
| 166 | 166 | { |
| 167 | 167 | std::vector< std::vector<Point> > contours; |
| 168 | - // TODO: Needs fixed, src.clone is a br_template and not opencv array, so this call makes no sense? | |
| 169 | - // findContours(src.clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE); | |
| 168 | + findContours(src.m().clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE); | |
| 170 | 169 | double maxArea = 0; |
| 171 | 170 | foreach (const std::vector<Point> &contour, contours) { |
| 172 | 171 | std::vector<Point> hull; | ... | ... |