- Step 1: Run script.sh
blender --background --python render_meshGT.py -- 10 0 0 0
Refer to render images python groudntruthgen.py
python groudntruthgen.py
Refer to generate ground_truth
- Step 2: Check the images
Source images will saved in fold source_img/
GroundTruth images will saved in fold target_img/
Source image name
1_1-4-0019b0s0l1h0-0001.png
1_1-4-0019(source image id)b(blur)0(no)s(stain&stamp)0l(low brightness)1(yes)h(high brightness)0-0001.png
If you use the dataset or this code, please consider citing our work-
@inproceedings{SagnikKeICCV2019,
Author = {Sagnik Das*, Ke Ma*, Zhixin Shu, Dimitris Samaras, Roy Shilkrot},
Booktitle = {Proceedings of International Conference on Computer Vision},
Title = {DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks},
Year = {2019}}
Thanks to the awesome software, Blender, thanks to it's developers and also to the super awesome community.