mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 12:55:15 +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);
|
||||||
image.copyTo(out_img_detection);
|
image.copyTo(out_img_detection);
|
||||||
float scale_img = 600.f/image.rows;
|
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;
|
vector<string> words_detection;
|
||||||
|
|
||||||
t_r = (double)getTickCount();
|
t_r = (double)getTickCount();
|
||||||
|
Reference in New Issue
Block a user