1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 06:11:09 +08:00

fix MSVS warnings

This commit is contained in:
lluisgomez
2016-01-23 10:00:55 +01:00
parent 581ae6b006
commit 7aedcae1ec

View File

@@ -225,7 +225,7 @@ classifier uses all the features calculated in the first stage and the following
features: hole area ratio, convex hull ratio, and number of outer inflexion points.
*/
CV_EXPORTS_W Ptr<ERFilter> createERFilterNM2(const Ptr<ERFilter::Callback>& cb,
float minProbability = 0.3);
float minProbability = (float)0.3);
/** @brief Allow to implicitly load the default classifier when creating an ERFilter object.