adjusted line detection to work with skelotinzed images. Still some work to do @skeletonize, lines don't look that great
filtering small lines