shape_detection For part 1, the file ShapeDetectionPart1.py can be executed. For part 2, it is sufficient to execute the file main.py. The source codes for the shape detection with the algorithm of Ramer-Douglas-Peucker are in the file ShapesDetectionPart2.py.