-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[FEATURE REQUEST] Workflow for automatic OCR, PDF Export, sync and delete #356
Comments
@supaeasy the WebDAV sync (PDF /images) can be used for people not using paperless. Or people.using paperless where a folder on the WebDAV server would be read by paperless. So in your request only the auto OCR / delete is not possible right now. PDF auto generate sync already exist. About the delete not sure I want to.add this. Too dangerous people would.complain they document werr deleted . what you could easily do for now is add those doc in a folder. And regularly simply select that folder and do delete (one op). |
Thanks for your reply. Yes, this is kind of what I want to do. But would this also auto export the PDF? I would need:
|
Yes if you setup PDF sync (either webdav or local folder) it should trigger as soon as you create a new (or update) doc As for the confirmation, right now the UX is redrawn on sync success but now confirmation/event/message. I could add a broadcast if you want to notify of sync change |
That would be great, thank you. |
@supaeasy it is released https://github.com/Akylas/OSS-DocumentScanner/releases/tag/com.akylas.documentscanner%2Fandroid%2Fgithub%2F1.13.0%2F106. Now about your export question. No a PDF is created automatically when you "show" the pdf menu. It is created only when using each of the commands (share, export,...) The difference is that with export it is created where you want, while for other options it is created in a temp folder so that it gets removed |
Thank you very much, that was way quicker than I expected! But may I ask where that option is to be found? Or is Auto-OCR now just the default? |
@supaeasy you can enable it within your sync configuration settings. Go into sync settings -> PDF sync. Click on your sync config. Their you can enable it |
Great, I found it. Thank you! Did you also implement the "broadcast" you mentioned when a sync event ended successfully? (Actually I don't know what that means but I assume this is some kind of event that I can pick up with MacroDroid for a deletion trigger as discussed, yes?) Maybe to elaborate why I am kind of pushy about this: I sync directly to a so called "consume" folder for Paperless. This is a constantly monitored watchfolder and every document in there will be deleted after it has been processed by Paperless. So your App will see an empty folder after a couple of seconds and will re-sync all documents. This process creates neverending duplicates after duplicates and is especially annoying when using auto-sync. Do you understand why this is a major pain point to me? :-) |
@supaeasy what actually do you want to delete? Do you want to delete the document from OSS Document scanner app? Or is it deleting files in the local folder? |
Well, both actually. I just want to transfer a scan to my WebDAV folder and delete it from my cellphone afterwards. |
@supaeasy ok :
|
Oh, I misunderstood you: as in 'local folder' on the phone. Deletion from my synced folder is done automatically by paperless. To me that would be the remote folder. Deletion in App: does the app not get a feedback when syncing is done? |
Yes it does but syncing happens in a background thread in a parallel way. So the sync for which you want deletion might have finished while others are still running. And i would need to handle the deletion on a per sync basis. It is tricky. Not saying it is not feasible, just saying have to be done right and for now not easily done. |
Is your feature request related to a problem? Please describe.
No, it is a feature request to use it as the scanner and OCR App for paperless-ngx and alike
Describe the solution you'd like
I would love to be able to define a fixed workflow/profile to start automatically after a picture has been taken:
Describe alternatives you've considered
Right now I have to do all steps after white paper manually. I use this app to send a PDF to my consume folder of Paperless-ngx
Additional context
If this whole this is too complicated please at least two things: I dont really get the point of "syncing" with WebDAV-Folder. The file is not deleted after it is synced and when I sync it again, I get a duplicate in my consume folder. And: Auto-OCR. I keep forgetting it and Paperless OCR is crap.
The text was updated successfully, but these errors were encountered: