You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implemented working OCR which works locally and relevant code to work with upload.py, but struggling with integrating it into Docker container. Currently stuck on Docker not being able find uploaded file to start extracting text through OCR. File can be found in acmas_media_files, but path to file in ocr.py may be incorrect (trying to figure out how to fix this).
Currently, this is meant to automatically create an empty .txt file with the same name as the uploaded file when it is uploaded. The ocr_driver(pdf_name) function is called in upload.py and would use OCR to extract text from the uploaded file into the associated .txt file.