fasdfsa commited on
Commit
f73275f
·
1 Parent(s): be59bf2
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. main.py +4 -2
  2. pdfs/jp/新明解日汉词典/0001.jpg +3 -0
  3. pdfs/jp/新明解日汉词典/0001.json +3 -0
  4. pdfs/jp/新明解日汉词典/0002.jpg +3 -0
  5. pdfs/jp/新明解日汉词典/0002.json +3 -0
  6. pdfs/jp/新明解日汉词典/0003.jpg +3 -0
  7. pdfs/jp/新明解日汉词典/0003.json +3 -0
  8. pdfs/jp/新明解日汉词典/0004.jpg +3 -0
  9. pdfs/jp/新明解日汉词典/0004.json +3 -0
  10. pdfs/jp/新明解日汉词典/0005.jpg +3 -0
  11. pdfs/jp/新明解日汉词典/0005.json +3 -0
  12. pdfs/jp/新明解日汉词典/0006.jpg +3 -0
  13. pdfs/jp/新明解日汉词典/0006.json +3 -0
  14. pdfs/jp/新明解日汉词典/0007.jpg +3 -0
  15. pdfs/jp/新明解日汉词典/0007.json +3 -0
  16. pdfs/jp/新明解日汉词典/0008.jpg +3 -0
  17. pdfs/jp/新明解日汉词典/0008.json +3 -0
  18. pdfs/jp/新明解日汉词典/0009.jpg +3 -0
  19. pdfs/jp/新明解日汉词典/0009.json +3 -0
  20. pdfs/jp/新明解日汉词典/0010.jpg +3 -0
  21. pdfs/jp/新明解日汉词典/0010.json +3 -0
  22. pdfs/jp/新明解日汉词典/0011.jpg +3 -0
  23. pdfs/jp/新明解日汉词典/0011.json +3 -0
  24. pdfs/jp/新明解日汉词典/0012.jpg +3 -0
  25. pdfs/jp/新明解日汉词典/0012.json +3 -0
  26. pdfs/jp/新明解日汉词典/0013.jpg +3 -0
  27. pdfs/jp/新明解日汉词典/0013.json +3 -0
  28. pdfs/jp/新明解日汉词典/0014.jpg +3 -0
  29. pdfs/jp/新明解日汉词典/0014.json +3 -0
  30. pdfs/jp/新明解日汉词典/0015.jpg +3 -0
  31. pdfs/jp/新明解日汉词典/0015.json +3 -0
  32. pdfs/jp/新明解日汉词典/0016.jpg +3 -0
  33. pdfs/jp/新明解日汉词典/0016.json +3 -0
  34. pdfs/jp/新明解日汉词典/0017.jpg +3 -0
  35. pdfs/jp/新明解日汉词典/0017.json +3 -0
  36. pdfs/jp/新明解日汉词典/0018.jpg +3 -0
  37. pdfs/jp/新明解日汉词典/0018.json +3 -0
  38. pdfs/jp/新明解日汉词典/0019.jpg +3 -0
  39. pdfs/jp/新明解日汉词典/0019.json +3 -0
  40. pdfs/jp/新明解日汉词典/0020.jpg +3 -0
  41. pdfs/jp/新明解日汉词典/0020.json +3 -0
  42. pdfs/jp/新明解日汉词典/0021.jpg +3 -0
  43. pdfs/jp/新明解日汉词典/0021.json +3 -0
  44. pdfs/jp/新明解日汉词典/0022.jpg +3 -0
  45. pdfs/jp/新明解日汉词典/0022.json +3 -0
  46. pdfs/jp/新明解日汉词典/0023.jpg +3 -0
  47. pdfs/jp/新明解日汉词典/0023.json +3 -0
  48. pdfs/jp/新明解日汉词典/0024.jpg +3 -0
  49. pdfs/jp/新明解日汉词典/0024.json +3 -0
  50. pdfs/jp/新明解日汉词典/0025.jpg +3 -0
main.py CHANGED
@@ -201,7 +201,7 @@ def ocr_one_pdf(pth_pdf):
201
 
202
  for nth_page in range(1, number_of_pages+1):
203
 
204
- if nth_page > 1900:
205
  break
206
 
207
  img_color = get_page_image(reader, nth_page)
@@ -325,6 +325,8 @@ if __name__ == '__main__':
325
 
326
  # ocr_one_pdf('pdfs/en/TIME单挑1000/TIME单挑1000.pdf')
327
 
328
- ocr_one_pdf('pdfs/en/TIME片挑200/TIME片挑200.pdf')
 
 
329
 
330
 
 
201
 
202
  for nth_page in range(1, number_of_pages+1):
203
 
204
+ if nth_page > 100:
205
  break
206
 
207
  img_color = get_page_image(reader, nth_page)
 
325
 
326
  # ocr_one_pdf('pdfs/en/TIME单挑1000/TIME单挑1000.pdf')
327
 
328
+ # ocr_one_pdf('pdfs/en/TIME片挑200/TIME片挑200.pdf')
329
+
330
+ ocr_one_pdf('pdfs/jp/新明解日汉词典/新明解日汉词典.pdf')
331
 
332
 
pdfs/jp/新明解日汉词典/0001.jpg ADDED

Git LFS Details

  • SHA256: ccc222f773a1f5554c9d94185893b97f0b7aea3a885a26a6691f5133f4bc2067
  • Pointer size: 131 Bytes
  • Size of remote file: 216 kB
pdfs/jp/新明解日汉词典/0001.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29939f78be3abdac6cb53a39698e245a1f8562e9bdcfb6b6ecc50ea158f8caa7
3
+ size 6922
pdfs/jp/新明解日汉词典/0002.jpg ADDED

Git LFS Details

  • SHA256: 48a4f4936cefbf7c8f8d6c35b83813cb1dd4dd9179e38dc637d348c0445d179e
  • Pointer size: 131 Bytes
  • Size of remote file: 249 kB
pdfs/jp/新明解日汉词典/0002.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4435c55bbbe3836706e7bd0cb88ae502f113a284996248379468aadbfef72490
3
+ size 17842
pdfs/jp/新明解日汉词典/0003.jpg ADDED

Git LFS Details

  • SHA256: ca55a008fdf597a949671c9494e2eddbd667d8e3d11fd91abe05d9d1ded146f7
  • Pointer size: 131 Bytes
  • Size of remote file: 227 kB
pdfs/jp/新明解日汉词典/0003.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48cfe3d7b110c3e7491ced3494d5b31e626aa0a21c2fd8ddcdab197d39ee0f2a
3
+ size 7990
pdfs/jp/新明解日汉词典/0004.jpg ADDED

Git LFS Details

  • SHA256: 10f4a9dcdc44afc211085adb5813f6c3f9bde74da6afcb63cdd52da205ca9a4e
  • Pointer size: 131 Bytes
  • Size of remote file: 459 kB
pdfs/jp/新明解日汉词典/0004.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0aaf4c3ca8cb9c7046cce68184061a923c92a0220c241826cbaa08283654a52
3
+ size 60536
pdfs/jp/新明解日汉词典/0005.jpg ADDED

Git LFS Details

  • SHA256: 3a816bc241165e1cf5c3d98f86fbc6b08f7ab31de9513cc914cd49552c7fc352
  • Pointer size: 131 Bytes
  • Size of remote file: 204 kB
pdfs/jp/新明解日汉词典/0005.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b24015cbb31e9645196e2f9e1db012c20c826f437849e2932de5135f1322848
3
+ size 17163
pdfs/jp/新明解日汉词典/0006.jpg ADDED

Git LFS Details

  • SHA256: 093b514d387f259de87ac23c763eab12fd069e5a6ae21b32373bae6ef1282813
  • Pointer size: 131 Bytes
  • Size of remote file: 746 kB
pdfs/jp/新明解日汉词典/0006.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc391637c56436db3b13dc3e35b9ceb9150d9fd255a16097c7e98b53a68739e
3
+ size 70273
pdfs/jp/新明解日汉词典/0007.jpg ADDED

Git LFS Details

  • SHA256: 2e445dff664e2bce5ad8244a7d669751abb8d995c228f4166b47abed16bdd28b
  • Pointer size: 131 Bytes
  • Size of remote file: 466 kB
pdfs/jp/新明解日汉词典/0007.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45a227dd36935923f3bf69b170219f118d9962ca59d133dacc1f3d99324c852e
3
+ size 57874
pdfs/jp/新明解日汉词典/0008.jpg ADDED

Git LFS Details

  • SHA256: c61eafea52654492ff66467c2dd8f00b2445616c6cd538c18c6106cc2c102e32
  • Pointer size: 131 Bytes
  • Size of remote file: 611 kB
pdfs/jp/新明解日汉词典/0008.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb1cfd58fbeda5c8c8460f5f4adfa06972cdf6f1f459ca0b008fbe37a9a837be
3
+ size 68453
pdfs/jp/新明解日汉词典/0009.jpg ADDED

Git LFS Details

  • SHA256: b85dcf6b40eb96b4b7bbdd41af061c42dadf6778e6b2d5dfe2db1de915a04726
  • Pointer size: 131 Bytes
  • Size of remote file: 550 kB
pdfs/jp/新明解日汉词典/0009.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77ffde6a608ee7f878a0cd352ee30657fa96714b26bf8c22fab78d2ca5ed7767
3
+ size 64652
pdfs/jp/新明解日汉词典/0010.jpg ADDED

Git LFS Details

  • SHA256: 5056d89c8ef400080de67c54e5eff164fe3c5970a252ebdda4ef600a00138895
  • Pointer size: 131 Bytes
  • Size of remote file: 476 kB
pdfs/jp/新明解日汉词典/0010.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51bbc047ff4430f94bc7f616485927554dc456d3292a59c07305206b7decd656
3
+ size 85939
pdfs/jp/新明解日汉词典/0011.jpg ADDED

Git LFS Details

  • SHA256: 5fa4698270523b9a64ef5db9848bbadba42e92de13478159a9d3936e8a391e63
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB
pdfs/jp/新明解日汉词典/0011.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3425da4163c41b3846b27343e01a5a4114085f9b7dc736ab833eeccbf9841b7d
3
+ size 23626
pdfs/jp/新明解日汉词典/0012.jpg ADDED

Git LFS Details

  • SHA256: 960a325d8d64943c37ee140d6fadd7f574f9905b99a7784c26945083312b0a99
  • Pointer size: 131 Bytes
  • Size of remote file: 231 kB
pdfs/jp/新明解日汉词典/0012.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7d16e3156aae2cb6c3a90efa2bda9043de8f1a9e2946cd8689e2c20aec7d977
3
+ size 26096
pdfs/jp/新明解日汉词典/0013.jpg ADDED

Git LFS Details

  • SHA256: 17a2f718fbf4824d7d0b2bf4c9f6246e40faf923b655b229ce787f6732cce09d
  • Pointer size: 131 Bytes
  • Size of remote file: 833 kB
pdfs/jp/新明解日汉词典/0013.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d7e8c94b79b370111eff53935dfa5227ceaa875dd77df6c7b930ff7974fbdbb
3
+ size 135968
pdfs/jp/新明解日汉词典/0014.jpg ADDED

Git LFS Details

  • SHA256: c8948bed97f9b85dea9fe0bd497e521837caf102f985339085420895b98b01c5
  • Pointer size: 131 Bytes
  • Size of remote file: 966 kB
pdfs/jp/新明解日汉词典/0014.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5076571cdbcf94edf838df9829a068b573a27a042d2cacb2c65da5b0579a7ce
3
+ size 143201
pdfs/jp/新明解日汉词典/0015.jpg ADDED

Git LFS Details

  • SHA256: d2c11ecbbba2a4cf9ec7d9d759f2d5d85346edc945913665440fe91c58892f1f
  • Pointer size: 131 Bytes
  • Size of remote file: 922 kB
pdfs/jp/新明解日汉词典/0015.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68dc2e0399d359712119e5f363b340ffa6a44778f6f9362272fa22874db67b5f
3
+ size 140974
pdfs/jp/新明解日汉词典/0016.jpg ADDED

Git LFS Details

  • SHA256: eb3ec729fad55d4280b441afe77379aac162b73535e1fbb8a41621b53dc48dbc
  • Pointer size: 131 Bytes
  • Size of remote file: 903 kB
pdfs/jp/新明解日汉词典/0016.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b139b76b8e5f41ce6a6ca5ccc20b2155acce82ff3dd5a39cfc57415ac7212e
3
+ size 137343
pdfs/jp/新明解日汉词典/0017.jpg ADDED

Git LFS Details

  • SHA256: 972cee97f399c26cf9779f7bfbbadd021e585d4943ef2304c09ad12afa4e8c2f
  • Pointer size: 131 Bytes
  • Size of remote file: 897 kB
pdfs/jp/新明解日汉词典/0017.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b158d21a08f2eebe65a6718f224827c14022f6f2295a4f0f72b2baa1812f6ecf
3
+ size 138193
pdfs/jp/新明解日汉词典/0018.jpg ADDED

Git LFS Details

  • SHA256: 2d39214b37b282bb27286de6b9b254c6d4a02a6d188858b031ffe48437916448
  • Pointer size: 131 Bytes
  • Size of remote file: 996 kB
pdfs/jp/新明解日汉词典/0018.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b561f9871d52b24d9a8842879e50bf6d2596fd3f2604a67352942923526dd35b
3
+ size 140461
pdfs/jp/新明解日汉词典/0019.jpg ADDED

Git LFS Details

  • SHA256: ec5d249533540e6c82031e578af61f621c87a5c4340404f674b4c345cfbf299d
  • Pointer size: 131 Bytes
  • Size of remote file: 917 kB
pdfs/jp/新明解日汉词典/0019.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7e68e140399c69f4036867033bb0c81b317b6fabc175d5369993bd5d50c917e
3
+ size 142527
pdfs/jp/新明解日汉词典/0020.jpg ADDED

Git LFS Details

  • SHA256: 63d10856b152e51d6eb1cd087466f36b2e15fb9a53ef878b04cc6a666676a073
  • Pointer size: 131 Bytes
  • Size of remote file: 974 kB
pdfs/jp/新明解日汉词典/0020.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:920e521b4c713d9ae283c4b00c381cba1e02f546e23d1d69e156993512752c8a
3
+ size 137364
pdfs/jp/新明解日汉词典/0021.jpg ADDED

Git LFS Details

  • SHA256: b33874c12fa45a56dbd19b2e2406785d0d2a7f94f6daffaf94b0796e25b18354
  • Pointer size: 131 Bytes
  • Size of remote file: 909 kB
pdfs/jp/新明解日汉词典/0021.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a37a333683926a1e7d277be59cdcb9bf3c56f1cb80336251fa84330bf5c81f57
3
+ size 145832
pdfs/jp/新明解日汉词典/0022.jpg ADDED

Git LFS Details

  • SHA256: 66dfc5760e46e7151d1cfb9ccb519ef2282b930db163c7c929566ab656b5fcf7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.01 MB
pdfs/jp/新明解日汉词典/0022.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d927df5811190bc6147fa03c52a8321610b7b4740bce2eec74dbc1b23e8733ea
3
+ size 139721
pdfs/jp/新明解日汉词典/0023.jpg ADDED

Git LFS Details

  • SHA256: 01bc052b4ba30f8a5ec740cf263c7e589001979d097088e4e673747c36befb44
  • Pointer size: 131 Bytes
  • Size of remote file: 929 kB
pdfs/jp/新明解日汉词典/0023.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c18f69f8cdab443f16f42ab5a63db0fe162aeab95307b463f267db4696e70cc
3
+ size 137819
pdfs/jp/新明解日汉词典/0024.jpg ADDED

Git LFS Details

  • SHA256: d0ad9cf89638840b9504df291fb53f39eceecc79de12ce7171f7027acab229d8
  • Pointer size: 131 Bytes
  • Size of remote file: 983 kB
pdfs/jp/新明解日汉词典/0024.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f41a05dd150a89a538fa8b467c43893925cbf11b7ae94e1d65751d213a09b78
3
+ size 139729
pdfs/jp/新明解日汉词典/0025.jpg ADDED

Git LFS Details

  • SHA256: 88b42192384b5875eb303123255b997b972de48303d6f8421fa92dd021d08934
  • Pointer size: 131 Bytes
  • Size of remote file: 953 kB