···33import faulthandler
44import json
55import logging
66-import time
76import os
77+import time
88from concurrent.futures import ThreadPoolExecutor
99from pathlib import Path
1010from typing import Optional
+1-2
see/scan.py
···33import datetime
44import json
55import os
66-import sys
76import time
8798from PIL import Image, ImageDraw
···6362 """Black out the region inside a detected blue border."""
6463 try:
6564 y_min, x_min, y_max, x_max = detect_border(img, BLUE_BORDER)
6666- except ValueError as e:
6565+ except ValueError:
6766 # Silently ignore when no border is detected or border not thick enough
6867 return img
6968 except Exception as e: