Skip to content

Commit 7fe0323

Browse files
committed
bag-of-everything commit including ML
1 parent ed57487 commit 7fe0323

22 files changed

+3543
-50
lines changed

FindChessboards.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,14 @@ def processSingle(filename='input/img_10.png'):
445445
plt.show()
446446

447447
def main():
448-
filenames = glob.glob('input/*')
448+
filenames = glob.glob('input/img_3*')
449+
filenames = sorted(filenames)
450+
print("Files: %s" % filenames)
449451
fig = figure( figsize=(20, 20))
450452
n = len(filenames)
453+
if (n == 0):
454+
print("No files found.")
455+
return
451456
col = 4
452457
row = n/col
453458
if (n%col != 0):
@@ -496,6 +501,7 @@ def main():
496501

497502

498503
if __name__ == '__main__':
504+
print("Start")
499505
main()
500506

501507

0 commit comments

Comments
 (0)