class_docstr: This structure stores a list of rotated boxes as a Nx5 torch.Tensor.
  It supports some common methods about boxes
  (`area`, `clip`, `nonempty`, etc),
  and also behaves like a Tensor
  (support indexing, `to(device)`, `.device`, and iteration over all boxes)
docstr: Returns:
      The box centers in a Nx2 array of (x, y).
docstr_tok: ["Returns",":","The","box","centers","in","a","Nx2","array","of","(","x",",","y",")","."]
code: def get_centers(self) -> torch.Tensor:
      """
      Returns:
          The box centers in a Nx2 array of (x, y).
      """
      return self.tensor[:, :2]
  
imports: import math
  from typing import List, Tuple
  import torch
  from detectron2.layers.rotated_boxes import pairwise_iou_rotated
  from .boxes import Boxes
label_desc: Use image node_id 12 for calling the RotatedBoxes obj's underlying member method code with example usage: obj.get_centers() and returns: self