Detecting goalpost in image
Visual Studio with OpenCV setup. Main file: Opencv_test.cpp
Green circles are the detected points in the second image below. Red lines are the hough lines. White lines represent the segmented image over which hough transform was applied.