Experimental function to find a perfect shape within raw data. All text files are used as samples, all edge cases are welcomed.
This algorithm is able to recognize the following shapes :
- squares (in perspective too)
- rectangles (in perspective too)
Possible return values :