Removing noise in doctr #1656
-
|
Hi team, Does doctr remove noise in the document or if there is a better way to remove the noise? Please suggest. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @navaneeth-nagu 👋, The only things we do by default are resizing the inputs and normalizing so no we don't remove noise :) The DocumentFile returns a list of numpy arrays so you could do with it whatever you want (for example any OpenCV operation) before passing the list of np arrays to the model/pipeline Or you use a AutoEncoder to remove noise i have worked on something a few years ago (maybe useful as reference): |
Beta Was this translation helpful? Give feedback.
Hi @navaneeth-nagu 👋,
The only things we do by default are resizing the inputs and normalizing so no we don't remove noise :)
The DocumentFile returns a list of numpy arrays so you could do with it whatever you want (for example any OpenCV operation) before passing the list of np arrays to the model/pipeline
Or you use a AutoEncoder to remove noise i have worked on something a few years ago (maybe useful as reference):
https://github.com/felixdittrich92/Document_Scanner#denoising-image