def hough_line(img, theta=None):
 if (theta is None):
  theta = np.linspace(((- np.pi) / 2), (np.pi / 2), 180)
 return _hough_line(img, theta)

def hough_line ( img , theta = None ) : if ( theta is None ) : theta = np . linspace ( ( ( - np . pi ) / 2 ) , ( np . pi / 2 ) , 180 ) return _hough_line ( img , theta )
perform a straight line hough transform .