From 19acfdc97107b94d41865746d5e4ccf01fbc402e Mon Sep 17 00:00:00 2001
From: Constantin Wenger <constantin.wenger@googlemail.com>
Date: Tue, 01 Feb 2022 22:47:23 +0000
Subject: [PATCH] changed order of output in detect.txt to match scryglass import in magicassistant

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

diff --git a/opencv_dnn.py b/opencv_dnn.py
index 744d012..ca2dd50 100755
--- a/opencv_dnn.py
+++ b/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')
 
 
 

--
Gitblit v1.10.0