OpenNoteScanner icon indicating copy to clipboard operation
OpenNoteScanner copied to clipboard

Enhancement request: detect paper with folded angle

Open callegar opened this issue 5 years ago • 1 comments

The current page detection algorithm only works if the paper is rectangular.

In many cases, one may have pages to scan that have a folded angle. This common if you are trying to scan the second page of a document that is stapled at the left top corner. You get something like

 __________
/          |
|          |
|          |
|          |
|          |
------------

The folded angle is enough to make the paper detection fail miserably (possibly because the algorithm looks for a rectangle and here you have a pentagon).

Steps to reproduce

Take a document made of at least two pages. Staple it at the top left corner. Fold it to see the second page to the max of its extension, by placing the first page on the back. You get a folded corner. Try to acquire the page.

Expected behaviour

The software should be able to detect the page from the background, regardless of the folded angle.

Actual behaviour

The paper detection algorithm cannot detect the page from the background.

callegar avatar Mar 02 '20 12:03 callegar

ONS 1.0.35-fdroid:

Screenshot_20210922-160637_Open_Note_Scanner

IMG_20210922_160659

kofaysi avatar Sep 25 '21 05:09 kofaysi