mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-23 00:49:38 +08:00
fixed float warning.
This commit is contained in:
@@ -60,12 +60,12 @@ namespace cv{ namespace ccalib{
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
const int MIN_CONTOUR_AREA_PX = 100;
|
const int MIN_CONTOUR_AREA_PX = 100;
|
||||||
const float MIN_CONTOUR_AREA_RATIO = 0.2;
|
const float MIN_CONTOUR_AREA_RATIO = 0.2f;
|
||||||
const float MAX_CONTOUR_AREA_RATIO = 5.0;
|
const float MAX_CONTOUR_AREA_RATIO = 5.0f;
|
||||||
|
|
||||||
const int MIN_POINTS_FOR_H = 10;
|
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()
|
CustomPattern::CustomPattern()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user