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
I am using DocTr to enhance quality of few images in my project and I am finding that DocTr is introducing distortions in the file output. Pls let me know if I am using it incorrectly.
Steps I followed.
Cloned the DocTr project to my google drive.
Copied the 3 .pth files and the image to desired location.
Ran the following command in the colab.
%cd /content/drive/MyDrive/MSProject/DocTr-cloned-repo/DocTr/
! python inference.py --ill_rec True --distorrted_path '/content/drive/MyDrive/MSProject/temp/' --isave_path '/content/drive/MyDrive/MSProject/DocTr_output_images/'
The original file that has been used is this
The image output from DocTr is this
Comparison for ease of reference
Please let me know if this is a desired behavior or am I doing anything wrong
Request your immediate response, as I have to conclude my research and submit my project as a part of my MS program.
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hi, I am sorry for the late reply.
For our DocTr, we aim to cope with the document images captured by smartphones.
In your case, the input image seems to have been binarized, different from the data distribution used in our training.
I hope this helps!
Hello there,
I am using DocTr to enhance quality of few images in my project and I am finding that DocTr is introducing distortions in the file output. Pls let me know if I am using it incorrectly.
Steps I followed.
%cd /content/drive/MyDrive/MSProject/DocTr-cloned-repo/DocTr/
! python inference.py --ill_rec True --distorrted_path '/content/drive/MyDrive/MSProject/temp/' --isave_path '/content/drive/MyDrive/MSProject/DocTr_output_images/'
The original file that has been used is this
The image output from DocTr is this
Comparison for ease of reference
Please let me know if this is a desired behavior or am I doing anything wrong
Request your immediate response, as I have to conclude my research and submit my project as a part of my MS program.
Thank you in advance
The text was updated successfully, but these errors were encountered: