From 986b345e2bcd1bf5b5a0d1b2e60f20690eb723a8 Mon Sep 17 00:00:00 2001
From: Edmond Yoo <hj3yoo@uwaterloo.ca>
Date: Tue, 28 Aug 2018 20:51:01 +0000
Subject: [PATCH] Now can extract mana & set symbol of all non-PW cards in 2003 card layout (8ED - JOU)
---
card_detector.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/card_detector.py b/card_detector.py
index b43b8fa..aa8bd6a 100644
--- a/card_detector.py
+++ b/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)
--
Gitblit v1.10.0