  
      def close(self):
          """ Closes down and joins the internal threads """
          logger.debug("Received Close")
          self._thread.join()
          logger.debug("Closed")
  
  
  class ImagesLoader(ImageIO):
      """ Perform image loading from a folder of images or a video.
 
</s> remove             face = detected_face["face"]
 </s> add             face = detected_face.aligned_face </s> remove             face = detected_face["face"]
 </s> add             face = detected_face.aligned_face
        if self._thread is not None:
            self._thread.join()
  
      def close(self):
          """ Closes down and joins the internal threads """
          logger.debug("Received Close")
        if self._thread is not None:
            self._thread.join()
          logger.debug("Closed")
  
  
  class ImagesLoader(ImageIO):
      """ Perform image loading from a folder of images or a video.
keep keep keep keep replace keep keep keep keep keep
 extract bugfixes - post_processing, correctly reference aligned face 
lib/image.py