From 60268dea8608567ecb3f7fe4132b6bc687a32c64 Mon Sep 17 00:00:00 2001
From: Constantin Wenger <constantin.wenger@googlemail.com>
Date: Tue, 13 Aug 2019 20:42:38 +0000
Subject: [PATCH] scaled min size threshold down to 10k again from 100k because it won't work properly with lower res webcams

---
 opencv_dnn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opencv_dnn.py b/opencv_dnn.py
index bf6142e..64a9067 100644
--- a/opencv_dnn.py
+++ b/opencv_dnn.py
@@ -380,7 +380,7 @@
     return img_graph
 
 
-def detect_frame(img, card_pool, hash_size=32, size_thresh=100000,
+def detect_frame(img, card_pool, hash_size=32, size_thresh=10000,
                  out_path=None, display=True, debug=False):
     """
     Identify all cards in the input frame, display or save the frame if needed

--
Gitblit v1.10.0