检测精度和检测速度

检测精度

  • 混淆矩阵 confusion matrix

    | | possitive | negative |
    |-------|-----------|----------|
    | true | TP | FN |
    | false | FP | TN |

    • 精度 Precision ( 查准率 )
      $$ precision = \frac{TP}{TP+FP} $$

    • 召回率 Recall ( 查全率 )
      $$ recall = \frac{TP}{TP+FN} $$
    • Accuracy ( 准确率 )
      $$ accuracy = \frac{TP+TN}{TP+FN+FP+TN} $$
    • F1 score
      $$ F1 score = \frac{2\times Precision \times Recall}{Precision+Recall} $$
  • IoU (Interscection over Union)
    $$ IoU = \frac{Area\ of\ Overlap}{Area \ of \ Union}= \frac{TP}{TP+FP+FN} $$
  • AP (Average Precision)
  • mAP (Mean Average Precision)

检测速度