2014-09-24 06:02:55 -0600 | received badge | ● Teacher (source) |
2014-09-23 22:37:16 -0600 | received badge | ● Supporter (source) |
2014-09-23 22:36:23 -0600 | commented answer | Drawing Houghlines until they intersect with another Depends on your image... But hough lines must in the end be straight, since each line is described by only two metrics: normal distance from origin and angle (from horizontal I think). You can however lower your rho and theta resolution when searching for hough lines, which will give you a coarser accumulation matrix, giving you some leeway when fitting the lines. If when you say that your lines aren't straight you mean that they are curved, then you are better off with the findContours method, which has served me well in the past |
2014-09-23 21:05:56 -0600 | answered a question | Drawing Houghlines until they intersect with another The code in this tutorial has exactly what you need. |