  
      For each source frame, the plugin must pass a dict to finalize containing:
      {"filename": <filename of source frame>,
       "image": <source image>,
       "detected_faces": <list of dlib.rectangles>}
      """
  
  import logging
  import os
  import traceback
 
</s> remove      "detected_faces": <list of dlibRectangles>,
 </s> add      "detected_faces": <list of BoundingBoxes>, (Class defined in /lib/faces_detect) </s> remove      "detected_faces": <list of DlibRectangles>}
 </s> add      "detected_faces": <list of BoundingBoxes>} </s> remove import dlib
 </s> add  </s> remove from dlib import rectangle as d_rectangle  # pylint: disable=no-name-in-module
 </s> add  </s> remove             logger.error("Error initializing FAN. Trying Dlib")
 </s> add             logger.error("Error initializing FAN. Trying CV2-DNN")
     "detected_faces": <list of BoundingBoxes>} (Class defined in /lib/faces_detect)
  
      For each source frame, the plugin must pass a dict to finalize containing:
      {"filename": <filename of source frame>,
       "image": <source image>,
     "detected_faces": <list of BoundingBoxes>} (Class defined in /lib/faces_detect)
      """
  
  import logging
  import os
  import traceback
keep keep keep keep replace keep keep keep keep keep
 Remove dlib.rectangles. Replace with BoundingBox class 
plugins/extract/detect/_base.py