Open kraw-ios opened 1 year ago
I was able to fix it by changing the input image and also the curvature values allowed. Now I'm facing another issue that I can't really find any documentation or solution for it. The dewarped results become way worse than the original ones as you can see in the following examples. I get the following debug info:
Info in dewarpFindVertDisparity: Pass 1: Curvature: medval = 0.000075, meddev = 0.000023 Info in dewarpFindVertDisparity: Pass 2: Min/max curvature = (13, 123) Info in dewarpFindHorizDisparity: Left quad LSF median error = 0.73 Info in dewarpFindHorizDisparity: Left edge slope = 10 Info in dewarpFindHorizDisparity: Left edge curvature = -3 Info in dewarpFindHorizDisparity: Right quad LSF median error = 11.27 Info in dewarpFindHorizDisparity: Right edge slope = 4 Info in dewarpFindHorizDisparity: Right edge curvature = 3 Info in dewarpBuildPageModel: hsuccess = 1
Is it possible to somehow only apply the disparity to one side of the image without reducing the curvature line curv maximum value?
Original
Dewarped
Hey, I have an issue with dewarping this image example. I get the following logs:
I tried to deskew but without any success. Do you think it might be because it's to curved? Because I'm able to get the lines drawn on the document. Here's my code, do you have any suggestions?
Maybe it's worth mentioning that it also fails for the "1555-3.jpg" example and I tried using versions 1.72 and 1.79.