OpenNoteScanner icon indicating copy to clipboard operation
OpenNoteScanner copied to clipboard

[FEATURE] Maybe it will be beter on corner recognition.

Open graczu0x0x0x0x0 opened this issue 6 years ago • 2 comments

For now taking fast pictures is really hard when some light drop down on a one side of your paper page, then app cant recognize the borders of a paper page.

I seen some similar app's and they basing on corners recognition.

Something like this:

https://github.com/jbttn/SimpleDocumentScanner-Android

Maybe implement those two methods?

graczu0x0x0x0x0 avatar Feb 22 '19 12:02 graczu0x0x0x0x0

ONS is based on corner recognition. I understand that the OP is asking for the possibility to move edges/corners manually for some wavy not even sheet formats.

kofaysi avatar Sep 25 '21 06:09 kofaysi

Looks like the detection algorithm of the link provided is the same as Open Note Scanner, maybe with some different parameters.

The algorithm is contour detection after an adaptive threshold manipulation of the image. the largest 4-point contour is used as document.

There is an "angle detection" algorithm that ignores the full contour that can be used, but this needs more research and I don't have the time and expertise to work on it, patches are always welcome.

allgood avatar Oct 14 '21 12:10 allgood