From c59db54775606349f6ba5c6cab7fcb34498bb31d Mon Sep 17 00:00:00 2001
From: Edmond Yoo <hj3yoo@uwaterloo.ca>
Date: Sat, 13 Oct 2018 18:18:42 +0000
Subject: [PATCH] Cleaning & commenting #2 - updating comments & docstrings
---
opencv_dnn.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/opencv_dnn.py b/opencv_dnn.py
index 624aea8..44503ef 100644
--- a/opencv_dnn.py
+++ b/opencv_dnn.py
@@ -13,6 +13,15 @@
import transform_data
+"""
+As of the current version, the YOLO network has been removed from this code during optimization.
+It was found out that YOLO was adding too much processing delay, and the benefits from using it couldn't justify
+such heavy cost.
+If you're interested to see the implementation using YOLO, please check out the previous commit:
+https://github.com/hj3yoo/mtg_card_detector/tree/dea64611730c84a59c711c61f7f80948f82bcd31
+"""
+
+
def calc_image_hashes(card_pool, save_to=None, hash_size=32, highfreq_factor=4):
"""
Calculate perceptual hash (pHash) value for each cards in the database, then store them if needed
--
Gitblit v1.10.0