code: def _remove_out_of_image_fraction_(cbaoi, fraction):
      cbaoi.items = [
          item
          for item in cbaoi.items
          if item.compute_out_of_image_fraction(cbaoi.shape) < fraction
      ]
      return cbaoi
  
file_path: imgaug/imgaug/augmentables/utils.py
imports: from __future__ import print_function, division, absolute_import
  import copy
  import numpy
  import six.moves
  import imgaug
label_desc: Use image node_id 13 for calling a global function with example usage: _remove_out_of_image_fraction_(cbaoi, fraction) and returns: cbaoi