mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Fixed compilation warnings in samples:
- use per-module includes instead of "opencv.hpp" - unused function warnings - undefined macro warning
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -62,4 +64,4 @@ int main(int, char**)
|
||||
}
|
||||
// the videofile will be closed and released automatically in VideoWriter destructor
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user