code: def remove_empty_bboxes(bboxes):
      """
      remove [0., 0., 0., 0.] in structure master bboxes.
      len(bboxes.shape) must be 2.
      :param bboxes:
      :return:
      """
      new_bboxes = []
      for bbox in bboxes:
          if sum(bbox) == 0.0:
              continue
          new_bboxes.append(bbox)
      return np.array(new_bboxes)
  
imports: import os
  import re
  import cv2
  import glob
  import copy
  import math
  import pickle
  import numpy
  from shapely.geometry import Polygon, MultiPoint
label_desc: Use image node_id 1 for calling a global function with example usage: remove_empty_bboxes(bboxes) and returns: np