Where to cut? Automatic document cropping strategies

When you start a scan in FairScan and point your device to a document, the app detects the document and displays a quadrilateral on top of the image to show how it will crop it when you press the capture button. Two separate steps happen one after the other: A machine-learning segmentation model detects which pixels of the image are part of the document. An algorithm derives a quadrilateral from…