tshrinivasan / OCR4wikisource

OCR for WikiSource using Google Drive OCR
GNU General Public License v2.0
33 stars 24 forks source link

Regarding to save scan PDF files in computer instead of Wikisource upload #108

Closed pooja7795 closed 6 years ago

pooja7795 commented 6 years ago

I want to save scanned PDF file on my computer only. Right now after scanning its uploading directly on Wikisource . Please help in that to resolve.

Is that any change I have to make in do_ocr.py ??

tshrinivasan commented 6 years ago

delete or comment the last 4 lines in do_ocr.py, to avoid uploading to wikisource.

add # in front of those lines to comment them like below. or delete them. if pdf_count == result_text_count: logger.info("\n\nThe PDF files and result text files are equval. Now running the mediawiki_uploader.py script\n\n") command = "python mediawiki_uploader.py" os.system(command)