-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does anyone know if there's a way to change where the OCR txt is logged to? #37
Comments
Text logging works on a per directory basis rather than per image, so the only way do to this is to rename each text file |
in order to make it per each image file instead of directory, would it be a good idea to change default behavior? Instead of saving to "log.txt", change it to filename.txt? in Poricom/app/components/views/ocr/base.py
so instead of it's been like 10 years since I last coded, so I'm not sure if that'll work. |
The filename of the current image can be accessed using |
Currently, everything is being saved into log.txt. If I have several hundred images, everything is being logged into one txt file which makes it hard to manage and track. So currently, after every image, I rename the log file to the same filename as the image.
Is there a way for it to automatically save txt into individual txt files that have the same filename as the image by default? Or a better way to manage/track the OCR text being added to log.txt?
The text was updated successfully, but these errors were encountered: