  
      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
 
</s> remove      "detected_faces": <list of BoundingBoxes>, (Class defined in /lib/faces_detect)
 </s> add      "detected_faces": <list of bounding box dicts as defined in lib/plugins/extract/detect/_base>, </s> remove      "detected_faces": <list of BoundingBoxes>}
 </s> add      "detected_faces": <list of bounding box dicts as defined in lib/plugins/extract/detect/_base>} </s> remove from ._base import BoundingBox, cv2, Detector, logger
 </s> add from ._base import cv2, Detector, logger </s> remove from ._base import BoundingBox, Detector, logger
 </s> add from ._base import Detector, logger </s> remove from ._base import BoundingBox, Detector, logger
 </s> add from ._base import Detector, logger
     "detected_faces": <list of dicts containing bounding box points>}}

    - Use the function self.to_bounding_box_dict(left, right, top, bottom) to define the dict
  
      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 dicts containing bounding box points>}}

    - Use the function self.to_bounding_box_dict(left, right, top, bottom) to define the dict
      """
  
  import logging
  import os
  import traceback
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
plugins/extract/detect/_base.py