class_docstr: Compute the bounding boxes and object classes from segmentation masks.
code: def __init__(self, keep_masks):
      self.keep_masks = keep_masks
  
imports: from typing import Any, Dict
  import tensorflow
label_desc: Use image node_id 1 to create a new GetCocoBboxFromMasks object  with example: obj = GetCocoBboxFromMasks(keep_masks)