Write a python script/function, that finds lines along four dominant straight edges in the given image. The solution should consist of the following steps:
Finally, show the results.
import numpy as np
num_points = 1000
inx = np.random.choice( num_points, 2, False ) # random sample - two indices
inx
%run task_ransac_lines