code: def to_array(self):
      np_array = [
          self._round(self.corner_points[1].x()),
          self._round(self.corner_points[1].y()),  # topLeft
          self._round(self.w),
          self._round(self.h),
      ]
      return np_array
  
file_path: PaddleSeg/EISeg/eiseg/widget/bbox.py
imports: from qtpy import QtWidgets, QtGui, QtCore
  from qtpy.QtCore import Qt
label_desc: Use image node_id 10 for calling the BBoxAnnotation obj's underlying member method code with example usage: obj.to_array() and returns: np_array