GameSentenceMiner 2.11.7__tar.gz → 2.11.8__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.
Files changed (76) hide show
  1. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/owocr_helper.py +1 -1
  2. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/PKG-INFO +7 -12
  3. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/PKG-INFO +7 -12
  4. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/README.md +6 -11
  5. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/pyproject.toml +1 -1
  6. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/__init__.py +0 -0
  7. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ai/__init__.py +0 -0
  8. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ai/ai_prompting.py +0 -0
  9. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/anki.py +0 -0
  10. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/__init__.py +0 -0
  11. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon.png +0 -0
  12. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon128.png +0 -0
  13. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon256.png +0 -0
  14. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon32.png +0 -0
  15. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon512.png +0 -0
  16. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/icon64.png +0 -0
  17. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/assets/pickaxe.png +0 -0
  18. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/config_gui.py +0 -0
  19. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/gametext.py +0 -0
  20. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/gsm.py +0 -0
  21. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/obs.py +0 -0
  22. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/__init__.py +0 -0
  23. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/gsm_ocr_config.py +0 -0
  24. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/ocrconfig.py +0 -0
  25. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/owocr_area_selector.py +0 -0
  26. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/ocr/ss_picker.py +0 -0
  27. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/__init__.py +0 -0
  28. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/__main__.py +0 -0
  29. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/config.py +0 -0
  30. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/lens_betterproto.py +0 -0
  31. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/ocr.py +0 -0
  32. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/run.py +0 -0
  33. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/owocr/owocr/screen_coordinate_picker.py +0 -0
  34. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/__init__.py +0 -0
  35. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/audio_offset_selector.py +0 -0
  36. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/communication/__init__.py +0 -0
  37. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/communication/send.py +0 -0
  38. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/communication/websocket.py +0 -0
  39. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/configuration.py +0 -0
  40. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/downloader/Untitled_json.py +0 -0
  41. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/downloader/__init__.py +0 -0
  42. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/downloader/download_tools.py +0 -0
  43. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/downloader/oneocr_dl.py +0 -0
  44. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/electron_config.py +0 -0
  45. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/ffmpeg.py +0 -0
  46. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/gsm_utils.py +0 -0
  47. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/model.py +0 -0
  48. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/notification.py +0 -0
  49. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/package.py +0 -0
  50. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/ss_selector.py +0 -0
  51. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/text_log.py +0 -0
  52. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/util/window_transparency.py +0 -0
  53. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/vad.py +0 -0
  54. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/__init__.py +0 -0
  55. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/service.py +0 -0
  56. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/__init__.py +0 -0
  57. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/apple-touch-icon.png +0 -0
  58. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/favicon-96x96.png +0 -0
  59. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/favicon.ico +0 -0
  60. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/favicon.svg +0 -0
  61. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/site.webmanifest +0 -0
  62. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/style.css +0 -0
  63. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/web-app-manifest-192x192.png +0 -0
  64. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/static/web-app-manifest-512x512.png +0 -0
  65. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/templates/__init__.py +0 -0
  66. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/templates/index.html +0 -0
  67. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/templates/text_replacements.html +0 -0
  68. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/templates/utility.html +0 -0
  69. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner/web/texthooking_page.py +0 -0
  70. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/SOURCES.txt +0 -0
  71. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/dependency_links.txt +0 -0
  72. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/entry_points.txt +0 -0
  73. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/requires.txt +0 -0
  74. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/GameSentenceMiner.egg-info/top_level.txt +0 -0
  75. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/LICENSE +0 -0
  76. {gamesentenceminer-2.11.7 → gamesentenceminer-2.11.8}/setup.cfg +0 -0
@@ -195,7 +195,7 @@ all_cords = None
195
195
  rectangles = None
196
196
  last_ocr2_result = []
197
197
 
198
- def do_second_ocr(ocr1_text, time, img, filtering, pre_crop_image, ignore_furigana_filter=False, ignore_previous_result=False):
198
+ def do_second_ocr(ocr1_text, time, img, filtering, pre_crop_image=None, ignore_furigana_filter=False, ignore_previous_result=False):
199
199
  global twopassocr, ocr2, last_ocr2_result
200
200
  try:
201
201
  orig_text, text = run.process_and_write_results(img, None, last_ocr2_result if not ignore_previous_result else None, filtering, None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.11.7
3
+ Version: 2.11.8
4
4
  Summary: A tool for mining sentences from games. Update: Full UI Re-design
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -69,18 +69,15 @@ GSM significantly enhances your Anki cards with rich contextual information:
69
69
  * **AI Translation**: Integrates AI to provide quick translations of the captured sentence. Custom Prompts also supported. (Optional, Bring your own Key)
70
70
 
71
71
 
72
- #### Game Example
73
- ![anki_RozcrisS8B](https://github.com/user-attachments/assets/b1f08150-6b46-4d7d-ad90-e6c468076b05)
72
+ #### Game Example (Has Audio)
74
73
 
75
- Audio: https://github.com/user-attachments/assets/94360986-8dbf-42c9-b3c3-d054893eac3d
74
+ https://github.com/user-attachments/assets/df6bc38e-d74d-423e-b270-8a82eec2394c
76
75
 
77
76
  ---
78
77
 
79
- #### VN Example
80
- ![anki_Lk3Ds2T1Bz](https://github.com/user-attachments/assets/e8ae4d66-f138-4ae1-9df7-46e16249be41)
81
-
82
- Audio: https://github.com/user-attachments/assets/2d7b3967-cd5c-4132-b489-75058ea20921
78
+ #### VN Example (Has Audio)
83
79
 
80
+ https://github.com/user-attachments/assets/ee670fda-1a8b-4dec-b9e6-072264155c6e
84
81
 
85
82
  ### OCR
86
83
 
@@ -97,10 +94,8 @@ GSM runs a fork of [OwOCR](https://github.com/AuroraWright/owocr/) to provide ac
97
94
  * **More Language Support**: Stock OwOCR is hard-coded to Japanese, while in GSM you can use a variety of languages.
98
95
 
99
96
 
100
- ![GameSentenceMiner_efBTEpbZ2A](https://github.com/user-attachments/assets/4b873f9e-c049-428c-9bfd-20907e095054)
101
- ![anki_f3PdqYLN2n](https://github.com/user-attachments/assets/a901221c-6f7c-471b-a1f3-f29e8ced102c)
97
+ https://github.com/user-attachments/assets/07240472-831a-40e6-be22-c64b880b0d66
102
98
 
103
- Audio: https://github.com/user-attachments/assets/8c44780a-9b74-41af-bf16-28a742f4de12
104
99
 
105
100
 
106
101
  ### Game Launcher Capabilities (WIP)
@@ -113,7 +108,7 @@ This is probably the feature I care least about, but if you are lazy like me, yo
113
108
 
114
109
  This feature simplifies the process of launching games and (potentially) hooking them, making the entire workflow more efficient.
115
110
 
116
- ![image](https://github.com/user-attachments/assets/eb630535-d291-4386-a5af-9f54b718896a)
111
+ <img width="2560" height="1392" alt="GameSentenceMiner_1zuov0R9xK" src="https://github.com/user-attachments/assets/205769bb-3dd2-493b-9383-2d6e2ca05c2d" />
117
112
 
118
113
  ## Basic Requirements
119
114
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.11.7
3
+ Version: 2.11.8
4
4
  Summary: A tool for mining sentences from games. Update: Full UI Re-design
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -69,18 +69,15 @@ GSM significantly enhances your Anki cards with rich contextual information:
69
69
  * **AI Translation**: Integrates AI to provide quick translations of the captured sentence. Custom Prompts also supported. (Optional, Bring your own Key)
70
70
 
71
71
 
72
- #### Game Example
73
- ![anki_RozcrisS8B](https://github.com/user-attachments/assets/b1f08150-6b46-4d7d-ad90-e6c468076b05)
72
+ #### Game Example (Has Audio)
74
73
 
75
- Audio: https://github.com/user-attachments/assets/94360986-8dbf-42c9-b3c3-d054893eac3d
74
+ https://github.com/user-attachments/assets/df6bc38e-d74d-423e-b270-8a82eec2394c
76
75
 
77
76
  ---
78
77
 
79
- #### VN Example
80
- ![anki_Lk3Ds2T1Bz](https://github.com/user-attachments/assets/e8ae4d66-f138-4ae1-9df7-46e16249be41)
81
-
82
- Audio: https://github.com/user-attachments/assets/2d7b3967-cd5c-4132-b489-75058ea20921
78
+ #### VN Example (Has Audio)
83
79
 
80
+ https://github.com/user-attachments/assets/ee670fda-1a8b-4dec-b9e6-072264155c6e
84
81
 
85
82
  ### OCR
86
83
 
@@ -97,10 +94,8 @@ GSM runs a fork of [OwOCR](https://github.com/AuroraWright/owocr/) to provide ac
97
94
  * **More Language Support**: Stock OwOCR is hard-coded to Japanese, while in GSM you can use a variety of languages.
98
95
 
99
96
 
100
- ![GameSentenceMiner_efBTEpbZ2A](https://github.com/user-attachments/assets/4b873f9e-c049-428c-9bfd-20907e095054)
101
- ![anki_f3PdqYLN2n](https://github.com/user-attachments/assets/a901221c-6f7c-471b-a1f3-f29e8ced102c)
97
+ https://github.com/user-attachments/assets/07240472-831a-40e6-be22-c64b880b0d66
102
98
 
103
- Audio: https://github.com/user-attachments/assets/8c44780a-9b74-41af-bf16-28a742f4de12
104
99
 
105
100
 
106
101
  ### Game Launcher Capabilities (WIP)
@@ -113,7 +108,7 @@ This is probably the feature I care least about, but if you are lazy like me, yo
113
108
 
114
109
  This feature simplifies the process of launching games and (potentially) hooking them, making the entire workflow more efficient.
115
110
 
116
- ![image](https://github.com/user-attachments/assets/eb630535-d291-4386-a5af-9f54b718896a)
111
+ <img width="2560" height="1392" alt="GameSentenceMiner_1zuov0R9xK" src="https://github.com/user-attachments/assets/205769bb-3dd2-493b-9383-2d6e2ca05c2d" />
117
112
 
118
113
  ## Basic Requirements
119
114
 
@@ -26,18 +26,15 @@ GSM significantly enhances your Anki cards with rich contextual information:
26
26
  * **AI Translation**: Integrates AI to provide quick translations of the captured sentence. Custom Prompts also supported. (Optional, Bring your own Key)
27
27
 
28
28
 
29
- #### Game Example
30
- ![anki_RozcrisS8B](https://github.com/user-attachments/assets/b1f08150-6b46-4d7d-ad90-e6c468076b05)
29
+ #### Game Example (Has Audio)
31
30
 
32
- Audio: https://github.com/user-attachments/assets/94360986-8dbf-42c9-b3c3-d054893eac3d
31
+ https://github.com/user-attachments/assets/df6bc38e-d74d-423e-b270-8a82eec2394c
33
32
 
34
33
  ---
35
34
 
36
- #### VN Example
37
- ![anki_Lk3Ds2T1Bz](https://github.com/user-attachments/assets/e8ae4d66-f138-4ae1-9df7-46e16249be41)
38
-
39
- Audio: https://github.com/user-attachments/assets/2d7b3967-cd5c-4132-b489-75058ea20921
35
+ #### VN Example (Has Audio)
40
36
 
37
+ https://github.com/user-attachments/assets/ee670fda-1a8b-4dec-b9e6-072264155c6e
41
38
 
42
39
  ### OCR
43
40
 
@@ -54,10 +51,8 @@ GSM runs a fork of [OwOCR](https://github.com/AuroraWright/owocr/) to provide ac
54
51
  * **More Language Support**: Stock OwOCR is hard-coded to Japanese, while in GSM you can use a variety of languages.
55
52
 
56
53
 
57
- ![GameSentenceMiner_efBTEpbZ2A](https://github.com/user-attachments/assets/4b873f9e-c049-428c-9bfd-20907e095054)
58
- ![anki_f3PdqYLN2n](https://github.com/user-attachments/assets/a901221c-6f7c-471b-a1f3-f29e8ced102c)
54
+ https://github.com/user-attachments/assets/07240472-831a-40e6-be22-c64b880b0d66
59
55
 
60
- Audio: https://github.com/user-attachments/assets/8c44780a-9b74-41af-bf16-28a742f4de12
61
56
 
62
57
 
63
58
  ### Game Launcher Capabilities (WIP)
@@ -70,7 +65,7 @@ This is probably the feature I care least about, but if you are lazy like me, yo
70
65
 
71
66
  This feature simplifies the process of launching games and (potentially) hooking them, making the entire workflow more efficient.
72
67
 
73
- ![image](https://github.com/user-attachments/assets/eb630535-d291-4386-a5af-9f54b718896a)
68
+ <img width="2560" height="1392" alt="GameSentenceMiner_1zuov0R9xK" src="https://github.com/user-attachments/assets/205769bb-3dd2-493b-9383-2d6e2ca05c2d" />
74
69
 
75
70
  ## Basic Requirements
76
71
 
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "GameSentenceMiner"
10
- version = "2.11.7"
10
+ version = "2.11.8"
11
11
  description = "A tool for mining sentences from games. Update: Full UI Re-design"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"