Fix bug in square detection
Improvements :
Save all of the resample points etc
Implement the shape detection for rectangle, trapeze, losange
Add button to display Shapes
Improve the algorithm