class_docstr: In debug mode, visualize images according to `gt_box`.
  (Currently only supported when not cropping and flipping image.)
class_docstr_tok: ["In","debug","mode",",","visualize","images","according","to","`","gt_box","`",".","(","Currently","only","supported","when","not","cropping","and","flipping","image",".",")"]
code: def __init__(self, output_dir="debug"):
      super(VisibleRBox, self).__init__()
      self.output_dir = output_dir
      if not os.path.isdir(output_dir):
          os.makedirs(output_dir)
  
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 VisibleRBox object from inherited base classes: BaseOperator with example: obj = VisibleRBox(output_dir)