奇牛C++從入門到精通
信度得分和IoU均用作確定檢測(cè)是真陽(yáng)性還是假陽(yáng)性的標(biāo)準(zhǔn)。下面的偽代碼顯示了如何:
for each detection that has a confidence score > threshold:
?among the ground-truths, choose one that belongs to the same class and has the highest IoU with the detection ?if no ground-truth can be chosen or IoU < threshold (e.g., 0.5):
? ?the detection is a false positive ?else:
? ?the detection is a true positive
?
標(biāo)簽: