mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-21 23:01:45 +08:00
fixed float warning.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user