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.
@@ -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
- from GameSentenceMiner.owocr.owocr.ocr import GoogleLens, OneOCR, get_regex
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],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.12.6
3
+ Version: 2.12.7
4
4
  Summary: A tool for mining sentences from games. Update: Overlay?
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -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=4tUrNu5_MTVqjYO-oC0seydbwyhLdFJd3fptHx5zjdI,19779
67
- gamesentenceminer-2.12.6.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
68
- gamesentenceminer-2.12.6.dist-info/METADATA,sha256=JmVROmN8-FTjkvx3Shvya4ac6aHjyZNFAC5FXkiS2ME,7061
69
- gamesentenceminer-2.12.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
70
- gamesentenceminer-2.12.6.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
71
- gamesentenceminer-2.12.6.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
72
- gamesentenceminer-2.12.6.dist-info/RECORD,,
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,,