1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 14:41:58 +08:00

fixed float warning.

This commit is contained in:
Daniel Angelov
2014-09-05 16:08:35 +03:00
parent c5b57d0c58
commit ae008ddf21

View File

@@ -60,12 +60,12 @@ namespace cv{ namespace ccalib{
using namespace std;
const int MIN_CONTOUR_AREA_PX = 100;
const float MIN_CONTOUR_AREA_RATIO = 0.2;
const float MAX_CONTOUR_AREA_RATIO = 5.0;
const float MIN_CONTOUR_AREA_RATIO = 0.2f;
const float MAX_CONTOUR_AREA_RATIO = 5.0f;
const int MIN_POINTS_FOR_H = 10;
const float MAX_PROJ_ERROR_PX = 5.0;
const float MAX_PROJ_ERROR_PX = 5.0f;
CustomPattern::CustomPattern()
{