Add buttons to see resampled poitns, line, not resampled points and corners
Improvements :
Error when just touch the screen
Implement the shpae detection
Improve the algorithm