code: def parse_mot_keypoint(input, coord_size):
      parsed_skeleton_with_mot = {}
      ids = []
      skeleton = []
      for tracker_id, kpt_seq in input:
          ids.append(tracker_id)
          kpts = np.array(kpt_seq.kpts, dtype=np.float32)[:, :, :2]
          kpts = np.expand_dims(
              np.transpose(kpts, [2, 0, 1]), -1
          )  # T, K, C -> C, T, K, 1
          bbox = np.array(kpt_seq.bboxes, dtype=np.float32)
          skeleton.append(
              refine_keypoint_coordinary(kpts, bbox, coord_size)
          )
      parsed_skeleton_with_mot["mot_id"] = ids
      parsed_skeleton_with_mot["skeleton"] = skeleton
      return parsed_skeleton_with_mot
  
imports: import time
  import os
  import ast
  import glob
  import yaml
  import copy
  import numpy
  import subprocess
  from python.keypoint_preprocess import EvalAffine, TopDownEvalAffine, expand_crop
label_desc: Use image node_id 7 for calling a global function with example usage: parse_mot_keypoint(input, coord_size) and returns: parsed_skeleton_with_mot