Currently I am implementing the zhang-suen method but my images are 300 ppi and it takes a couple of minutes. Can someone point me in the right direction. I need the skeleton to be connected and there are parallel lines so the the algorithm I've seen in python that uses open and closing is not good. Thanks