From 1739cb77fc31f46d4444b1f5289b9423b046b898 Mon Sep 17 00:00:00 2001 From: Cherry Bommu <36799406+c-bommu@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:16:22 -0500 Subject: [PATCH] Created wiki --- ACMAS/app/ACMAS_Web/ocr_files/wiki | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ACMAS/app/ACMAS_Web/ocr_files/wiki diff --git a/ACMAS/app/ACMAS_Web/ocr_files/wiki b/ACMAS/app/ACMAS_Web/ocr_files/wiki new file mode 100644 index 0000000..c744e9c --- /dev/null +++ b/ACMAS/app/ACMAS_Web/ocr_files/wiki @@ -0,0 +1,3 @@ +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.