make_valid_poly# tiatoolbox . utils . misc . make_valid_poly make_valid_poly(poly, origin=None)[source]# Helper function to make a valid polygon. Parameters: poly (Polygon) – The polygon to make valid. origin (Tuple[float, float]) – The x and y coordinates to use as the origin for the annotation. Returns: A valid geometry.