code: def _rect_to_css(rect):
      """
      Convert a dlib 'rect' object to a plain tuple in (top, right, bottom, left) order
  
      :param rect: a dlib 'rect' object
      :return: a plain tuple representation of the rect in (top, right, bottom, left) order
      """
      return rect.top(), rect.right(), rect.bottom(), rect.left()
  
file_path: face_recognition/face_recognition/api.py
imports: import PIL.Image
  import dlib
  import numpy
  from PIL import ImageFile
label_desc: Use image node_id 1 for calling a global function with example usage: _rect_to_css(rect) and returns: rect,  rect,  rect,  rect