GameSentenceMiner 2.12.6__py3-none-any.whl → 2.12.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/wip/get_overlay_coords.py +6 -5
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.12.6.dist-info → gamesentenceminer-2.12.7.dist-info}/top_level.txt +0 -0
@@ -9,13 +9,14 @@ from typing import Dict, Any, List, Tuple
|
|
9
9
|
from GameSentenceMiner.util.electron_config import get_ocr_language
|
10
10
|
|
11
11
|
if get_config().wip.overlay_websocket_send:
|
12
|
-
|
12
|
+
try:
|
13
|
+
from GameSentenceMiner.owocr.owocr.ocr import GoogleLens, OneOCR, get_regex
|
14
|
+
oneocr = OneOCR()
|
15
|
+
lens = GoogleLens()
|
16
|
+
except ImportError:
|
17
|
+
pass
|
13
18
|
from GameSentenceMiner.obs import *
|
14
19
|
|
15
|
-
if get_config().wip.overlay_websocket_send:
|
16
|
-
oneocr = OneOCR()
|
17
|
-
lens = GoogleLens()
|
18
|
-
|
19
20
|
|
20
21
|
def _convert_box_to_pixels_v2(
|
21
22
|
bbox_data: Dict[str, float],
|
@@ -63,10 +63,10 @@ GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
63
63
|
GameSentenceMiner/web/templates/index.html,sha256=Gv3CJvNnhAzIVV_QxhNq4OD-pXDt1vKCu9k6WdHSXuA,215343
|
64
64
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
65
65
|
GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
|
66
|
-
GameSentenceMiner/wip/get_overlay_coords.py,sha256=
|
67
|
-
gamesentenceminer-2.12.
|
68
|
-
gamesentenceminer-2.12.
|
69
|
-
gamesentenceminer-2.12.
|
70
|
-
gamesentenceminer-2.12.
|
71
|
-
gamesentenceminer-2.12.
|
72
|
-
gamesentenceminer-2.12.
|
66
|
+
GameSentenceMiner/wip/get_overlay_coords.py,sha256=_re9zfyuFryZAUKbMQ1LAfQBDIRUmq_1kniisN7J7xE,19793
|
67
|
+
gamesentenceminer-2.12.7.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
68
|
+
gamesentenceminer-2.12.7.dist-info/METADATA,sha256=-HtGoHEU85F1LXqVKIvnGn7SeYjaB2Ak8TsHnu3fPPw,7061
|
69
|
+
gamesentenceminer-2.12.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
70
|
+
gamesentenceminer-2.12.7.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
71
|
+
gamesentenceminer-2.12.7.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
72
|
+
gamesentenceminer-2.12.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|