def extract_people_sequence(mocap_data):
    """
    Extract all of the matrices for each frame per person. Extracting this
    information will make it possible to simple loop the frames and create
    the mocap data for one person.

    :param dict mocap_data:
    :return: People data
    :rtype: dict
    """
    people = []
    for frame in mocap_data.get("frames"):
        for i, p in enumerate(frame.get("people")):
            if len(people) < i + 1:
                people.append({"frames": []})

            people[i].get("frames").append(p)

    return people