Performance Evaluation of Object Tracking Algorithms in Matlab

Réponses (1)

Hi Nora,
For evaluating the performance of a tracking algorithm, you can follow the below given steps:
  • Identifying performance metrics: You can decide a favourable metrics as per the requirement like accuracy, robustness.
  • You will need ground truth annotations to serve as a benchmark for evaluating the tracking results.
  • Implement the tracking algorithms like KLT and Camshift, execute them both.
  • Calculate the metrics, for tracking algorithm you can utilize IoU(Intersection over Union) metrics. Refer to the code snippet below for calculating IoU.
function iou = bboxOverlapRatio(bboxA, bboxB)
intersectionArea = rectint(bboxA, bboxB);
areaA = bboxA(3) * bboxA(4);
areaB = bboxB(3) * bboxB(4);
unionArea = areaA + areaB - intersectionArea;
iou = intersectionArea / unionArea;
end
  • Compare the IoU value for both the algorithms.
For more information, refer to the MathWorks Documentation of 'rectint' function.
I hope this helps in getting started.

Produits

Version

R2018b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by