Edmond Yoo
2018-08-28 986b345e2bcd1bf5b5a0d1b2e60f20690eb723a8
card_detector.py
@@ -4,6 +4,7 @@
import math
from screeninfo import get_monitors
def detect_a_card(img, thresh_val=80, blur_radius=None, dilate_radius=None, min_hyst=80, max_hyst=200,
                  min_line_length=None, max_line_gap=None, debug=False):
    dim_img = (len(img[0]), len(img)) # (width, height)