gwxie / Document-Dewarping-with-Control-Points

Document Dewarping with Control Points
MIT License
155 stars 32 forks source link

Document-Dewarping-with-Control-Points

A simple yet effective approach to rectify distorted document image by estimating control points and reference points.

The control points and reference points are composed of the same number of vertices and describe the shape of the document in the image before and after rectifying, respectively. The control points are controllable to facilitate interaction or subsequent adjustment. You can flexibly select post-processing methods and the number of vertices according to different application scenarios.

See “Document Dewarping with Control Points” for more information.

Quick Start

Visualization

image

Dataset

The training dataset can be synthesised using the scripts.