Line Detection: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with '==Design Choice== <p> The purpose of detecting lines is to identify the lines that enclose the field and be able to referee an out of pitch ball or a goal scored. Along with ball…')
 
Line 8: Line 8:


<p>  1. Undistort image to get straight lines (In case a wide/fisheye camera is used)</p>
<p>  1. Undistort image to get straight lines (In case a wide/fisheye camera is used)</p>
<p>  2. Apply a color mask to get only the lines on the frame</p>
<p>  2. Apply a color mask to get only the lines on the frame</p>
<p>  3. Line Detection</p>
<p>  3. Line Detection</p>

Revision as of 11:35, 27 March 2016

Design Choice

The purpose of detecting lines is to identify the lines that enclose the field and be able to referee an out of pitch ball or a goal scored. Along with ball detection, a vision based method was required to gain accuracy while refereeing without using invasive methods on the ball or the pitch.

Similar to the circular shape matching described in the ball detection approach, here the Hough transform is used to detect lines. Before doing so, several steps must be performed:.


1. Undistort image to get straight lines (In case a wide/fisheye camera is used)

2. Apply a color mask to get only the lines on the frame

3. Line Detection