画出两个多边形并且计算它们的并交比iou
import numpy as np
import shapely
from shapely.geometry import Polygon, MultiPoint # 多边形
from PIL import Image, ImageDraw, ImageFont
import math
from graham_scan import graham_scan
def calulate_iou(line1, line2):
# 代码来源:https://blog.csdn.net/u012433049/article/details/829
1