Skip to content

Commit 7aedcae

Browse files
committed
fix MSVS warnings
1 parent 581ae6b commit 7aedcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ classifier uses all the features calculated in the first stage and the following
225225
features: hole area ratio, convex hull ratio, and number of outer inflexion points.
226226
*/
227227
CV_EXPORTS_W Ptr<ERFilter> createERFilterNM2(const Ptr<ERFilter::Callback>& cb,
228-
float minProbability = 0.3);
228+
float minProbability = (float)0.3);
229229

230230

231231
/** @brief Allow to implicitly load the default classifier when creating an ERFilter object.

0 commit comments

Comments
 (0)