I have a 2D Numpy array of the following form (up to 5000 lines):
[ 247.68512 182.67136]
[ 248.71936 182.67136]
[ 249.74336 182.67136]
[ 253.85984 269.1072 ]
[ 254.89408 269.1072 ]
[ 255.91808 269.1072 ]
[ 249.74336 182.67136]
[ 250.7776 182.67136]
[ 251.8016 182.67136]
...
Where column 0 corresponds to x and column 1 corresponds to y.
When building data, the data should resemble the shape of a drop.


How can I reduce this data to only have an edge or outline around the drop?
I looked through some skimage edge detection functions, but I think there is a clean numpy solution.
Any help? If edge detection is the best way?
thank
--- Edit ---- Data is also unsorted, but I can sort around orgin blob with some code I have. Not sure if this helps.

--- Edit 2 --- Stumbled upon this great solution from KD
I think this should work fine for this application. Try it.