mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
Update Samples
This commit is contained in:
committed by
sturkmen72
parent
9ef5373776
commit
f73395122c
@@ -58,8 +58,8 @@ static void CannyThreshold(int, void*)
|
||||
int main( int argc, char** argv )
|
||||
{
|
||||
//![load]
|
||||
CommandLineParser parser( argc, argv, "{@input | ../data/fruits.jpg | input image}" );
|
||||
src = imread( parser.get<String>( "@input" ), IMREAD_COLOR ); // Load an image
|
||||
CommandLineParser parser( argc, argv, "{@input | fruits.jpg | input image}" );
|
||||
src = imread( samples::findFile( parser.get<String>( "@input" ) ), IMREAD_COLOR ); // Load an image
|
||||
|
||||
if( src.empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user