Update Samples

This commit is contained in:
Suleyman TURKMEN
2019-07-28 12:09:17 +03:00
committed by sturkmen72
parent 9ef5373776
commit f73395122c
72 changed files with 251 additions and 271 deletions
@@ -1,5 +1,5 @@
/**
* @file houghclines.cpp
* @file houghlines.cpp
* @brief This program demonstrates line finding with the Hough transform
*/
@@ -16,11 +16,11 @@ int main(int argc, char** argv)
Mat dst, cdst, cdstP;
//![load]
const char* default_file = "../data/sudoku.png";
const char* default_file = "sudoku.png";
const char* filename = argc >=2 ? argv[1] : default_file;
// Loads an image
Mat src = imread( filename, IMREAD_GRAYSCALE );
Mat src = imread( samples::findFile( filename ), IMREAD_GRAYSCALE );
// Check if image is loaded fine
if(src.empty()){