DocUNet: Document Image Unwarping via A Stacked U-Net
how to run
- prepare some scans and background images
- use flow scipt to generated some images and labels
python3 data_generator/generator.py -i scan_images_path -b background_images_path -o output_path
- change
trainroot
inconfig.py
- use flow scipt to train
python3 train.py
how to eval
- change
model_path
andimg_path
inpredict.py
- use flow scipt to train
python3 predict.py
generated images sample
result
result on training data
result on really data