class_docstr: PP-TinyPose Model.
class_docstr_tok: ["PP-TinyPose","Model","."]
docstr: Run as a service.
docstr_tok: ["Run","as","a","service","."]
code: def serving_method(self, images: list, **kwargs):
      """
      Run as a service.
      """
      images_decode = [base64_to_cv2(image) for image in images]
      results = self.predict(img=images_decode[0], **kwargs)
      results = json.dumps(results)
      return results
  
imports: import argparse
  import json
  import os
  import time
  from typing import Union
  import cv2
  import numpy
  from .det_keypoint_unite_infer import predict_with_given_det
  from .infer import Detector
  from .keypoint_infer import KeyPointDetector
  from .preprocess import base64_to_cv2
  from .preprocess import decode_image
  from .visualize import visualize_pose
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
label_desc: Use image node_id 3 for calling the PP_TinyPose obj's underlying member method code with example usage: obj.serving_method(images) and returns: results