Added a function to construct the result. The result is obtained by the points in the upper hull that have a certain distance between them (20 pixels seems a fair distance).