Domanda di colloquio di Xpeng Motors

How to compute iou for two triangle objects