debug/2_split_digit_from_video.py
@@ -18,7 +18,6 @@ contours, hierarchy = cv2.findContours( counter, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) contours_count = 0 return_numbers = [] for c in contours: x, y, w, h = cv2.boundingRect(c) if hierarchy[0][contours_count][3] == 0 and h > image_h * 0.3: