samples: use findFile() in "python"
This commit is contained in:
committed by
Alexander Alekhin
parent
9ea8c775f8
commit
c371df4aa2
@@ -80,6 +80,6 @@ if __name__ == '__main__':
|
||||
try:
|
||||
fn = sys.argv[1]
|
||||
except:
|
||||
fn = '../data/fruits.jpg'
|
||||
fn = 'fruits.jpg'
|
||||
print(__doc__)
|
||||
App(fn).run()
|
||||
App(cv.samples.findFile(fn)).run()
|
||||
|
||||
Reference in New Issue
Block a user