From b95bf33cb5b296efb70a0c4b1c82c0f62286f52a Mon Sep 17 00:00:00 2001
From: Constantin Wenger <constantin.wenger@googlemail.com>
Date: Thu, 03 Feb 2022 20:18:17 +0000
Subject: [PATCH] added options to flip/rotate and specify different input resolutions also fixed displayed image to max 800x800 everything above will be scaled while keeping aspect ratio
---
fetch_data.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fetch_data.py b/fetch_data.py
index e765ef3..a43cb68 100644
--- a/fetch_data.py
+++ b/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':
--
Gitblit v1.10.0