TikTok VO Interview Question: Calculate the IoU Filter During Detection

20 Views
No Comments

Calculate the IoU filter during detecting.

Question description

Input = [[x, y, width, length, label, conf], …]

This problem asks you to filter detection boxes using IoU (Intersection over Union). Given boxes in the form [x, y, width, length, label, conf], the key is to compute each rectangle’s overlap and union correctly, then apply the required filtering rule to remove redundant detections or keep the best ones. A careful implementation of box geometry and IoU calculation is the main challenge.

END
 0