Build tutorial codes together with other samples
These codes should be included into regular builds.
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
* @author OpenCV team
|
||||
*/
|
||||
|
||||
#include <cv.h>
|
||||
#include <highgui.h>
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace cv;
|
||||
@@ -17,7 +16,7 @@ int beta; /**< Simple brightness control */
|
||||
* @function main
|
||||
* @brief Main function
|
||||
*/
|
||||
int main( int argc, char** argv )
|
||||
int main( int, char** argv )
|
||||
{
|
||||
/// Read image given by user
|
||||
Mat image = imread( argv[1] );
|
||||
|
Reference in New Issue
Block a user