code: def detector_to_alpha_pose(
      img,
      class_ids,
      scores,
      bounding_boxs,
      output_shape=(256, 192),
      ctx=mx.cpu(),
      thr=0.5,
  ):
      boxes, scores = alpha_pose_detection_processor(
          img, bounding_boxs, class_ids, scores, thr=thr
      )
      pose_input, upscale_bbox = alpha_pose_image_cropper(
          img, boxes, scores, output_shape=output_shape
      )
      return pose_input, upscale_bbox
  
imports: from __future__ import absolute_import
  from __future__ import division
  import math
  import random
  import numpy
  import mxnet
  from mxnet import nd, image
  from mxnet.gluon.data.vision import transforms
  from ...utils.filesystem import try_import_cv2
label_desc: Use image node_id 28 for calling a global function with example usage: detector_to_alpha_pose(img, class_ids, scores, bounding_boxs, output_shape, ctx, thr) and returns: pose_input,  upscale_bbox