title: Detecting vertical lines robustly in python
body: <p>I have an image (uploaded) and I am interested in extracting each cell to pass on to my OCR engine. The horizontal lines are just fine and I can extract using houghpp function in cv2 in python. But for vertical lines, there are some very unclear lines that are completely removed when looking at the binary image. Is there anyone with experience in OCR and vision problems how I can do it for this image?
  Also please let me know if you have suggestions, I guess the alternative way is to extract corners of cells. Harris corner detector didn't work that well
  <a href="https://i.stack.imgur.com/gKSGy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gKSGy.jpg" alt="Image used for extracting cells for OCR"></a></p>