Skip to content

Commit 581ae6b

Browse files
committed
fix MSVS warnings
1 parent 9281cbf commit 581ae6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/text/include/opencv2/text/erfilter.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ global limit pmin and the difference between local maximum and local minimum is
208208
minProbabilityDiff).
209209
*/
210210
CV_EXPORTS_W Ptr<ERFilter> createERFilterNM1(const Ptr<ERFilter::Callback>& cb,
211-
int thresholdDelta = 1, float minArea = 0.00025,
212-
float maxArea = 0.13, float minProbability = 0.4,
211+
int thresholdDelta = 1, float minArea = (float)0.00025,
212+
float maxArea = (float)0.13, float minProbability = (float)0.4,
213213
bool nonMaxSuppression = true,
214-
float minProbabilityDiff = 0.1);
214+
float minProbabilityDiff = (float)0.1);
215215

216216
/** @brief Create an Extremal Region Filter for the 2nd stage classifier of N&M algorithm [Neumann12].
217217

0 commit comments

Comments
 (0)