paperless_app icon indicating copy to clipboard operation
paperless_app copied to clipboard

Scanning+Cropping documents cuts off the bottom part

Open ThePurox opened this issue 2 years ago • 3 comments

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

ThePurox avatar Dec 12 '21 20:12 ThePurox

Thanks for reporting this.

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

bauerj avatar Dec 28 '21 16:12 bauerj

Happens to me too on Galaxy Note 10

cristiano-belloni avatar Jan 21 '22 11:01 cristiano-belloni

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.

ThePurox avatar Feb 18 '22 12:02 ThePurox