Calculating metrics for one frame - not tested