wangzhibo
2022-03-24 d4c2d3ef0336742f8c40ff7f33507a84a315543d
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: