Aspect ratio change is defined as the average of per-frame aspect ratio changes.
The aspect ratio change at frame t
is calculated as the ratio of the bounding box width
and height in frame t
divided by the ratio of the bounding box width and height in the first frame.
Input:
Output:
mean_val : mean value of aspect ratio changes for the sequence
val_val : variance of aspect ratio changes for the sequence
frames : aspect ratio change for each frame