Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I detect thinner/gray lines in a table?

Context :http://answers.opencv.org/question/63847/how-to-extract-tables-from-an-image/

I have done the above to extract tables from images.

The problem happens when there are gray row lines with very bold dark column lines. The above approach detects the very bold dark column lines but it misses the less bold, gray-er row lines. I do OTSU thresholding before finding contours. The thresholding removes those gray lines before finding contours.

How do I extract such lines?