update cpp samples and tutorials
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include "opencv2/imgcodecs.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/highgui.hpp"
|
||||
#include "opencv2/imgproc.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
@@ -63,7 +63,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
// Read the image
|
||||
src = imread( argv[1], 1 );
|
||||
src = imread( argv[1], IMREAD_COLOR );
|
||||
|
||||
if( src.empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user