- main.py +1 -2
- pdfs/jp/高木直子学日语文法不要想太多/fileState.txt +2 -2
main.py
CHANGED
|
@@ -222,8 +222,7 @@ def ocr_one_pdf(pth_pdf):
|
|
| 222 |
label_left = f'{Path(dir).stem}/{img_name}' # for ppocrlabel
|
| 223 |
label_right = []
|
| 224 |
|
| 225 |
-
|
| 226 |
-
pp_state_text += 'E:\\huggingface\\'+ dir.replace('/', '\\') + '\\' + "{:04d}.jpg".format(nth_page) + '\t' + '1\n'
|
| 227 |
|
| 228 |
jsn = None
|
| 229 |
|
|
|
|
| 222 |
label_left = f'{Path(dir).stem}/{img_name}' # for ppocrlabel
|
| 223 |
label_right = []
|
| 224 |
|
| 225 |
+
pp_state_text += 'E:\\huggingface\\pdf_ocr\\'+ dir.replace('/', '\\') + '\\' + "{:04d}.jpg".format(nth_page) + '\t' + '1\n'
|
|
|
|
| 226 |
|
| 227 |
jsn = None
|
| 228 |
|
pdfs/jp/高木直子学日语文法不要想太多/fileState.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0e97fc45a1ea030048c3e95d922f0fdefa00092c85de87cba46f35db8440134
|
| 3 |
+
size 14620
|