code: def refine_keypoint_coordinary(kpts, bbox, coord_size):
      """
      This function is used to adjust coordinate values to a fixed scale.
      """
      tl = bbox[:, 0:2]
      wh = bbox[:, 2:] - tl
      tl = np.expand_dims(np.transpose(tl, (1, 0)), (2, 3))
      wh = np.expand_dims(np.transpose(wh, (1, 0)), (2, 3))
      target_w, target_h = coord_size
      res = (
          (kpts - tl)
          / wh
          * np.expand_dims(np.array([[target_w], [target_h]]), (2, 3))
      )
      return res
  
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 6 for calling a global function with example usage: refine_keypoint_coordinary(kpts, bbox, coord_size) and returns: res