GameSentenceMiner 2.13.13__py3-none-any.whl → 2.13.15__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/owocr/owocr/ocr.py +5 -4
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/top_level.txt +0 -0
@@ -368,20 +368,21 @@ class GoogleLens:
|
|
368
368
|
if furigana_filter_sensitivity:
|
369
369
|
for word in line['words']:
|
370
370
|
if 'geometry' not in word:
|
371
|
-
res += word['plain_text']
|
371
|
+
res += word['plain_text'] + word['text_separator']
|
372
372
|
continue
|
373
373
|
word_width = word['geometry']['bounding_box']['width'] * img.width
|
374
374
|
word_height = word['geometry']['bounding_box']['height'] * img.height
|
375
375
|
if word_width > furigana_filter_sensitivity and word_height > furigana_filter_sensitivity:
|
376
|
-
res += word['plain_text']
|
376
|
+
res += word['plain_text'] + word['text_separator']
|
377
377
|
else:
|
378
378
|
skipped.extend([word['plain_text'] for word in line['words']])
|
379
379
|
continue
|
380
380
|
else:
|
381
381
|
for word in line['words']:
|
382
|
-
res += word['plain_text']
|
382
|
+
res += word['plain_text'] + word['text_separator']
|
383
|
+
|
383
384
|
previous_line = paragraph
|
384
|
-
|
385
|
+
res += '\n'
|
385
386
|
# logger.info(
|
386
387
|
# f"Skipped {len(skipped)} chars due to furigana filter sensitivity: {furigana_filter_sensitivity}")
|
387
388
|
# widths = []
|
@@ -28,7 +28,7 @@ GameSentenceMiner/owocr/owocr/__init__.py,sha256=87hfN5u_PbL_onLfMACbc0F5j4KyIK9
|
|
28
28
|
GameSentenceMiner/owocr/owocr/__main__.py,sha256=XQaqZY99EKoCpU-gWQjNbTs7Kg17HvBVE7JY8LqIE0o,157
|
29
29
|
GameSentenceMiner/owocr/owocr/config.py,sha256=qM7kISHdUhuygGXOxmgU6Ef2nwBShrZtdqu4InDCViE,8103
|
30
30
|
GameSentenceMiner/owocr/owocr/lens_betterproto.py,sha256=oNoISsPilVVRBBPVDtb4-roJtAhp8ZAuFTci3TGXtMc,39141
|
31
|
-
GameSentenceMiner/owocr/owocr/ocr.py,sha256=
|
31
|
+
GameSentenceMiner/owocr/owocr/ocr.py,sha256=beArOJgVPhK7aeEwC5qAdbXzGRkNIpGNiM8rAnQ6cbg,68508
|
32
32
|
GameSentenceMiner/owocr/owocr/run.py,sha256=TSSZnHO_sPoTtUCsDol-v4TWPPzz_Nbf24TeBUea5I4,68498
|
33
33
|
GameSentenceMiner/owocr/owocr/screen_coordinate_picker.py,sha256=Na6XStbQBtpQUSdbN3QhEswtKuU1JjReFk_K8t5ezQE,3395
|
34
34
|
GameSentenceMiner/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -67,9 +67,9 @@ GameSentenceMiner/web/templates/index.html,sha256=Gv3CJvNnhAzIVV_QxhNq4OD-pXDt1v
|
|
67
67
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
68
68
|
GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
|
69
69
|
GameSentenceMiner/wip/get_overlay_coords.py,sha256=IK3ZLKOygHmk02bUGl7GDQF7LV_FEDmSMWRniWGPvBk,20435
|
70
|
-
gamesentenceminer-2.13.
|
71
|
-
gamesentenceminer-2.13.
|
72
|
-
gamesentenceminer-2.13.
|
73
|
-
gamesentenceminer-2.13.
|
74
|
-
gamesentenceminer-2.13.
|
75
|
-
gamesentenceminer-2.13.
|
70
|
+
gamesentenceminer-2.13.15.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
71
|
+
gamesentenceminer-2.13.15.dist-info/METADATA,sha256=ovhoy-qvPB2qkIRV9pqrj3DkRg9nZbAPikRNBABW9os,1464
|
72
|
+
gamesentenceminer-2.13.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
73
|
+
gamesentenceminer-2.13.15.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
74
|
+
gamesentenceminer-2.13.15.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
75
|
+
gamesentenceminer-2.13.15.dist-info/RECORD,,
|
File without changes
|
{gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/entry_points.txt
RENAMED
File without changes
|
{gamesentenceminer-2.13.13.dist-info → gamesentenceminer-2.13.15.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|