Line detection as only one line
I have scanned papers with some quite straight lines. I'd like to get every line as a mathematical function. In openCV there is HoughLinesP that detect lines but it shows upper edge of my line and bottom edge of my line. The second problem is that there is usually few lines very close to themselves (because lines are not perfect). I need method that show me only one line the most closest to my scanned line.
What should I use?
hi peter,
put your entire code here then easy to understand exactly what is goingon in code
Thank you,
it's gov...