Symmetry represents the body is divided into left and right sides, and the similarity between the symmetrical joints is calculated. Near the maximum value, the less symmetry there is between the left and right sides of the body with moving only one side of arm or leg, and near the minimum value, the more symmetry there is between the left and right sides of the body. 

To find the local maxima, we identify the ranges where the values reach a peak within the dataset. A local maximum is a point where the value is higher than its neighboring values. This indicates periods of high activity or dynamic movement. The detection is based on a threshold percentage (e.g., 80% of the maximum value) to focus on the most significant peaks. The output lists the frame ranges where these peaks occur and their respective values.