The role of this program is to draw Houghlines on an external window, when lines are detected in a game. However, when I implemented the ROI to avoid having useless lines detected, the border of the ROI is still detected as a line (obviously it is)
As shown in the image below, you may notice how the arrow show the detected line from the ROI.
How can I make it that it ignores the lines around the border? I tried to overlap the ROI with other lines but openCV still detects the borders as lines.
I am using Python.
Thanks!