GameSentenceMiner 2.13.4__tar.gz → 2.13.4.post2__tar.gz
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-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/owocr_area_selector.py +2 -2
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/run.py +2 -1
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/electron_config.py +3 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/PKG-INFO +1 -1
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/PKG-INFO +1 -1
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/pyproject.toml +1 -1
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ai/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ai/ai_prompting.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/anki.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon128.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon256.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon32.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon512.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon64.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/pickaxe.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/config_gui.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/gametext.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/gsm.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/en_us.json +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/ja_jp.json +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/zh_cn.json +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/obs.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/gsm_ocr_config.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/ocrconfig.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/owocr_helper.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/ss_picker.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/__main__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/config.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/lens_betterproto.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/ocr.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/screen_coordinate_picker.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/audio_offset_selector.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/communication/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/communication/send.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/communication/websocket.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/configuration.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/downloader/Untitled_json.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/downloader/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/downloader/download_tools.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/downloader/oneocr_dl.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/ffmpeg.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/gsm_utils.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/model.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/notification.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/package.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/ss_selector.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/text_log.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/window_transparency.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/vad.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/service.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/apple-touch-icon.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/favicon-96x96.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/favicon.ico +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/favicon.svg +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/site.webmanifest +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/style.css +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/web-app-manifest-192x192.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/web-app-manifest-512x512.png +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/templates/__init__.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/templates/index.html +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/templates/text_replacements.html +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/templates/utility.html +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/texthooking_page.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/wip/get_overlay_coords.py +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/SOURCES.txt +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/dependency_links.txt +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/entry_points.txt +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/requires.txt +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/top_level.txt +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/LICENSE +0 -0
- {gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/setup.cfg +0 -0
@@ -105,7 +105,7 @@ class ScreenSelector:
|
|
105
105
|
|
106
106
|
def scale_down_width_height(self, width, height):
|
107
107
|
if width == 0 or height == 0:
|
108
|
-
return
|
108
|
+
return width, height
|
109
109
|
aspect_ratio = width / height
|
110
110
|
if aspect_ratio > 2.66:
|
111
111
|
# Ultra-wide (32:9) - use 1920x540
|
@@ -131,7 +131,7 @@ class ScreenSelector:
|
|
131
131
|
else:
|
132
132
|
# Default/fallback - use original resolution
|
133
133
|
print(f"Unrecognized aspect ratio {aspect_ratio}. Using original resolution.")
|
134
|
-
return
|
134
|
+
return width, height
|
135
135
|
|
136
136
|
def _find_target_window(self):
|
137
137
|
try:
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/run.py
RENAMED
@@ -878,7 +878,7 @@ class OBSScreenshotThread(threading.Thread):
|
|
878
878
|
else:
|
879
879
|
# Default fallback - use original resolution
|
880
880
|
logger.info("Using default aspect ratio scaling (original resolution).")
|
881
|
-
return
|
881
|
+
return width, height
|
882
882
|
|
883
883
|
def run(self):
|
884
884
|
global last_image
|
@@ -888,6 +888,7 @@ class OBSScreenshotThread(threading.Thread):
|
|
888
888
|
def init_config(source=None, scene=None):
|
889
889
|
obs.update_current_game()
|
890
890
|
self.current_source = source if source else obs.get_active_source()
|
891
|
+
logger.info(f"Current OBS source: {self.current_source}")
|
891
892
|
self.source_width = self.current_source.get("sceneItemTransform").get("sourceWidth") or self.width
|
892
893
|
self.source_height = self.current_source.get("sceneItemTransform").get("sourceHeight") or self.height
|
893
894
|
if self.source_width and self.source_height:
|
@@ -231,6 +231,9 @@ def get_ocr_keep_newline():
|
|
231
231
|
def get_ocr_use_obs_as_source():
|
232
232
|
return electron_store.data.OCR.useObsAsSource
|
233
233
|
|
234
|
+
def get_furigana_filter_sensitivity() -> int:
|
235
|
+
return electron_store.data.OCR.furigana_filter_sensitivity
|
236
|
+
|
234
237
|
def has_ocr_config_changed() -> bool:
|
235
238
|
global electron_store
|
236
239
|
if not os.path.exists(electron_store.config_path):
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ai/__init__.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ai/ai_prompting.py
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/__init__.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon128.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon256.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon32.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon512.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/icon64.png
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/assets/pickaxe.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/en_us.json
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/ja_jp.json
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/locales/zh_cn.json
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/__init__.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/gsm_ocr_config.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/ocrconfig.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/owocr_helper.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/ocr/ss_picker.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/config.py
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/owocr/owocr/ocr.py
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/configuration.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/ffmpeg.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/gsm_utils.py
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/notification.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/package.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/ss_selector.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/util/text_log.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/__init__.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/service.py
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/favicon.ico
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/favicon.svg
RENAMED
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner/web/static/style.css
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/requires.txt
RENAMED
File without changes
|
{gamesentenceminer-2.13.4 → gamesentenceminer-2.13.4.post2}/GameSentenceMiner.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|