3 files modified
10 ■■■■■ changed files
fetch_data.py 2 ●●●●● patch | view | raw | blame | history
opencv_dnn.py 2 ●●● patch | view | raw | blame | history
requirements.txt 6 ●●●● patch | view | raw | blame | history
fetch_data.py
@@ -135,6 +135,8 @@
def main():
    # Query card data by each set, then merge them together
    if not os.path.exists(os.path.join(Config.data_dir, 'csv')):
        os.mkdir(os.path.join(Config.data_dir, 'csv'))
    for set_name in Config.all_set_list:
        set_name_m = set_name
        if set_name_m == 'con':
opencv_dnn.py
@@ -671,7 +671,7 @@
    with open('detect.txt', 'w') as of:
        counter = collections.Counter(found_cards)
        for key in counter:
            of.write(f'{counter[key]} [{key[1].upper()}] {key[0]}\n')
            of.write(f'{counter[key]} {key[0]} [{key[1].upper()}]\n')
requirements.txt
@@ -1,11 +1,11 @@
opencv-python==3.4.2.17
opencv-python
pandas
imgaug==0.2.6
imutils==0.5.1
matplotlib==2.2.2
numpy==1.15.2
numpy
#pickle
#PIL==5.1.0
shapely==1.6.4
shapely
#urllib
imagehash