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
@@ -1,4 +1,7 @@
#include <opencv2/opencv.hpp>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/features2d.hpp>
using namespace std;
using namespace cv;
@@ -1,4 +1,4 @@
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
using namespace cv;
using namespace std;