sid_process.py
@@ -210,11 +210,11 @@ cv2.imwrite("enhancedSID.png", image) sid_no = segment_by_contours(image, image_original, classifier, sid_mask) print(sid_no) if len(sid_no) != len(sid_mask) or not sid_compare(sid_no, sid_mask): sid_warn.append("Trying second SID algorithm.") sid_no = segment_by_7segments(image, image_original, sid_mask, classifier) print(sid_no) if (len(sid_no)) != len(sid_mask): sid_no = segment_by_sid_len(image, image_original, sid_mask, classifier) sid_warn.append("Trying third SID algorithm.")