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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user