1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 02:16:34 +08:00

fix warnings from MSVC

This commit is contained in:
lluis
2014-07-31 14:32:37 +02:00
parent a8c8ce625a
commit ffee43f437

View File

@@ -112,7 +112,7 @@ int main(int argc, char* argv[])
image.copyTo(out_img);
image.copyTo(out_img_detection);
float scale_img = 600.f/image.rows;
float scale_font = (float)(2-scale_img)/1.4;
float scale_font = (float)(2-scale_img)/1.4f;
vector<string> words_detection;
t_r = (double)getTickCount();