Constantin Wenger
2019-08-13 60268dea8608567ecb3f7fe4132b6bc687a32c64
scaled min size threshold down to 10k again from 100k because it won't work properly with lower res webcams
1 files modified
2 ■■■ changed files
opencv_dnn.py 2 ●●● patch | view | raw | blame | history
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