gwxie / Document-Dewarping-with-Control-Points

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

HI,thans for your contribution, but how can I evaluate MS-SSIM and LD metrics? #20

Open samaritan1998 opened 1 year ago

samaritan1998 commented 1 year ago

请问一下,如何评测MS-SSIM 和 LD 这两个指标呢?

gwxie commented 1 year ago

请问一下,如何评测MS-SSIM 和 LD 这两个指标呢?

Hi, Modify the path of the image to get the rectified image.

python test.py --data_path_test=./your/test/data/path/ --parallel None --schema test --batch_size 1

samaritan1998 commented 1 year ago

test.py can get the rectified image ,but can't get the value of MS-SSIM 和 LD?