From e2681ee7a41edb5b9fc445d97d5bd69e1a4b4585 Mon Sep 17 00:00:00 2001 From: Simon Mayer Date: Wed, 31 Mar 2021 14:21:12 +0200 Subject: [PATCH] changed "exit()" to "raise SystemExit" for Jupyter Notebook functionality, clearer error message --- stitching/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stitching/scan.py b/stitching/scan.py index 1a3245d..904e7ef 100644 --- a/stitching/scan.py +++ b/stitching/scan.py @@ -54,7 +54,7 @@ def get_biggest_subset(img_names, imgs, features, matches, conf_thresh=1.0, matc features_subset = [] num = len(indices) if num < 2: - print('Need more images') + print('Need more images, no matches found!') raise SystemExit for i in range(num): img_subset.append(imgs[indices[i, 0]]) -- GitLab