class_docstr: convert gt_poly to np.array for rotated bboxes
      
class_docstr_tok: ["convert","gt_poly","to","np.array","for","rotated","bboxes"]
code: def __init__(self):
      super(Poly2Array, self).__init__()
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import division
  from numbers import Number, Integral
  import cv2
  import numpy
  import math
  import copy
  from .operators import register_op, BaseOperator
  from ppdet.modeling.rbox_utils import poly2rbox_le135_np, poly2rbox_oc_np, rbox2poly_np
  from ppdet.utils.logger import setup_logger
  from ppdet.utils.compact import imagedraw_textsize_c
label_desc: Use image node_id 1 to create a new Poly2Array object from inherited base classes: BaseOperator with example: obj = Poly2Array()