class_docstr: A bounding box in VOC detection format.
  
  Args:
      xmin: the top-left x coordinate
      ymin: the top-left y coordinate
      xmax: the bottom-right x coordinate
      ymax: the bottom-right y coordinate
class_docstr_tok: ["A","bounding","box","in","VOC","detection","format",".","Args",":","xmin",":","the","top-left","x","coordinate","ymin",":","the","top-left","y","coordinate","xmax",":","the","bottom-right","x","coordinate","ymax",":","the","bottom-right","y","coordinate"]
docstr: Creates a :class:`VOCBoundingBox` from a ``bndbox`` dict.
  
  Args:
      d: a ``bndbox`` dict
  
  Returns:
      a :class:`VOCBoundingBox`
docstr_tok: ["Creates","a",":","class",":","`","VOCBoundingBox","`","from","a","``","bndbox","``","dict",".","Args",":","d",":","a","``","bndbox","``","dict","Returns",":","a",":","class",":","`","VOCBoundingBox","`"]
code: def from_bndbox_dict(cls, d):
      """Creates a :class:`VOCBoundingBox` from a ``bndbox`` dict.
  
      Args:
          d: a ``bndbox`` dict
  
      Returns:
          a :class:`VOCBoundingBox`
      """
      return cls(
          int(float(d["xmin"])),
          int(float(d["ymin"])),
          int(float(d["xmax"])),
          int(float(d["ymax"])),
      )
  
imports: import logging
  import os
  import jinja2
  import eta.core.utils
  import fiftyone.constants
  import fiftyone.core.labels
  import fiftyone.core.metadata
  import fiftyone.core.storage
  import fiftyone.core.utils
  import fiftyone.utils.data
label_desc: Use image node_id 2 for calling the VOCBoundingBox obj's underlying member method code with example usage: obj.from_bndbox_dict(cls, d) and returns: cls