forked from avana/sagoma
fix release build
This commit is contained in:
parent
0f344bd8ad
commit
fb15d3d5b1
2 changed files with 3 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,3 +25,4 @@ Test*.cpp
|
||||||
# executables
|
# executables
|
||||||
/lines
|
/lines
|
||||||
unittest_*
|
unittest_*
|
||||||
|
gmon.out
|
||||||
|
|
|
@ -128,7 +128,9 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
//dotwidth is just a simple size so that lines and dots are visible on big images
|
//dotwidth is just a simple size so that lines and dots are visible on big images
|
||||||
//but not huge on small images
|
//but not huge on small images
|
||||||
|
#ifdef _DEBUG
|
||||||
unsigned short dotwidth = img.cols >> 6; // divide by 64, so efficient
|
unsigned short dotwidth = img.cols >> 6; // divide by 64, so efficient
|
||||||
|
#endif
|
||||||
|
|
||||||
std::vector< std::vector<cv::Point> > contours;
|
std::vector< std::vector<cv::Point> > contours;
|
||||||
std::vector<cv::Vec4i> hierarchy; //this is not really useful
|
std::vector<cv::Vec4i> hierarchy; //this is not really useful
|
||||||
|
|
Loading…
Reference in a new issue