Having rather rudimentary understanding of both Python and OpenCV, I have tough time finding a solution to deskew some of my pictures, as most examples I have found only use page edges as markers, which are not visible in my case. However, there is always a "central" vertical line that I think I can use, like this: https://i.stack.imgur.com/FDGbX.jpg
What I would like to do is to find this line—I guess using Hough Line Transform?—but only this line (discarding any other potential lines) and calculate the angle between it's extreme points to apply deskew algorithms.
How can that be done in Python?