Skip to content
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

Scanning+Cropping documents cuts off the bottom part #60

Open
ThePurox opened this issue Dec 12, 2021 · 3 comments
Open

Scanning+Cropping documents cuts off the bottom part #60

ThePurox opened this issue Dec 12, 2021 · 3 comments
Labels
bug Something isn't working scanner

Comments

@ThePurox
Copy link

Hi, I really enjoy using your app. I found the following bug:
When scanning a document and then cropping the image to the document, the bottom part of the document is cut off.
Below you find screenshots that show the process with a ruler instead of a document.
Taking the image and selecting the region to crop:
Screenshot_20211212-204405_Paperless

Which results in this crop, where the bottom 1.5cm are missing:

Screenshot_20211212-204430_Paperless
Also when the image is rotated the part is missing:
Screenshot_20211212-204451_Paperless

This then finally results in the following document in paperless:
2021-12-12 rotate_1796.pdf

I'm using the current version in F-Droid (0.0.11) on LineageOS 17.1 (Android 10) on a OnePlus2.

Best Regards
Purox

@bauerj
Copy link
Owner

bauerj commented Dec 28, 2021

Thanks for reporting this.

I can reproduce the bug on my device. Let's see if I can find the cause.

@bauerj bauerj added bug Something isn't working scanner labels Dec 28, 2021
@cristiano-belloni
Copy link

Happens to me too on Galaxy Note 10

@ThePurox
Copy link
Author

It seems that the bug is caused upstream of your fork of edge_detection.
It got fixed ~2 weeks ago. See this Issue
Maybe merging this pull-request into your fork, might also fix the bug in paperless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scanner
Projects
None yet
Development

No branches or pull requests

3 participants