code: def register_op(cls):
      registered_ops.append(cls.__name__)
      if not hasattr(BaseOperator, cls.__name__):
          setattr(BaseOperator, cls.__name__, cls)
      else:
          raise KeyError(
              "The {} class has been registered.".format(cls.__name__)
          )
      return serializable(cls)
  
imports: from __future__ import absolute_import
  import cv2
  import numpy
  import math
  import copy
  import random
  import uuid
  from numbers import Number, Integral
  from ...modeling.keypoint_utils import get_affine_mat_kernel, warp_affine_joints, get_affine_transform, affine_transform, get_warp_matrix
  from ppdet.core.workspace import serializable
  from ppdet.utils.logger import setup_logger
  import matplotlib.pyplot
  from PIL import Image, ImageDraw
  from mpl_toolkits.mplot3d import Axes3D
label_desc: Use image node_id 2 for calling a global function with example usage: register_op(cls) and returns: serializable