def is_point_in_bbox(point, bbox):
  """
  :param point: array of x,y
  :param bbox: array of xmin,ymin,xmax,ymax
  """
  x = point[0]
  y = point[1]
  xmin = bbox[0]
  ymin = bbox[1]
  xmax = bbox[2]
  ymax = bbox[3]
  #print ("{}, {}".format(point, bbox))
  return x >= xmin and x <= xmax and y >= ymin and y <= ymax