Edmond Yoo
2018-08-30 bb34d4e13da0f4753fbdefee837f54b16149d3ef
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)