class_docstr: A 2D bounding box
class_docstr_tok: ["A","2D","bounding","box"]
code: def __init__(self, points):
      if len(points) == 0:
          raise ValueError("Can't compute bounding box of empty list")
      self.minx, self.miny = 255, 255
      self.maxx, self.maxy = 0, 0
      for x, y in points:
          # Set min coords
          if x < self.minx:
              self.minx = int(x)
          if y < self.miny:
              self.miny = int(y)
          # Set max coords
          if x > self.maxx:
              self.maxx = int(x)
          if y > self.maxy:
              self.maxy = int(y)
      if self.maxx <= self.minx or self.maxy <= self.miny:
          print("Box failed, return center box")
          self.minx, self.miny = 192, 192
          self.maxx, self.maxy = 64, 64
  
imports: import cvtransforms
  import face_alignment
  import numpy
  import skimage.transform
  import skvideo.io
  import torch
  from models import pretrained
label_desc: Use image node_id 1 to create a new BoundingBox object from inherited base classes: object with example: obj = BoundingBox(points)