Options for Specifying Skew Angle #63
-
|
I am looking for a cmd option that can be used to specify the angle that is being calculated before but i was not able to find it in the given set of options. I am applying some preprocessing on same image but has different preprocessed version. But when I run deskew on both of these images I get different skew angles. I want to use same angle for both versions of same image. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You could run Deskew in detection only mode and then rotate both images in some other tool. |
Beta Was this translation helpful? Give feedback.
-
|
If by cmd you refer to windows then gives me in the out2.txt file Note I have not tidied up the leading space nor added any other averaging to get perhaps a common value of -0.350 result is -350 as expected so needs to be returned as -0.350 |
Beta Was this translation helpful? Give feedback.
If by cmd you refer to windows then
gives me in the out2.txt file
Note I have not tidied up the leading space nor added any other averaging to get perhaps a common value of -0.350
Since cmd has exceptionally poor integer math you need to move decimal points three digits right, do addition and divide by 1000
so in this case roughly we strip the decimal points and any leading zeros and using variables would attempt