Fixed compilation warnings in samples:

- use per-module includes instead of "opencv.hpp"
- unused function warnings
- undefined macro warning
This commit is contained in:
Maksim Shabunin
2018-02-09 13:24:18 +03:00
parent 8393d755f6
commit 633b0e56a5
25 changed files with 79 additions and 60 deletions
+4 -2
View File
@@ -5,7 +5,9 @@
@date Aug 24, 2016
*/
#include <opencv2/opencv.hpp>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
#include <stdio.h>
@@ -49,4 +51,4 @@ int main(int, char**)
}
// the camera will be deinitialized automatically in VideoCapture destructor
return 0;
}
}