A 2018 computer-vision prototype for translating hand-drawn website sketches into rough HTML/CSS scaffolds.

source_path = source_dir / case.source_name
gray = cv2.imread(str(source_path), cv2.IMREAD_GRAYSCALE)
if gray is None:
raise FileNotFoundError(f"Could not read {source_path}")
input_color = cv2.imread(str(source_path), cv2.IMREAD_COLOR)