          sizes = (self.input_size, self.input_size)
          rois = []
          faces = []
          for face, image in zip(batch["detected_faces"], batch["image"]):
              box = (face.left,
                     face.top,
                     face.right,
 
</s> remove         faces, batch["roi"] = self.align_image(batch)
 </s> add         faces, batch["roi"], batch["offsets"] = self.align_image(batch) </s> remove         return faces, rois
 </s> add             offsets.append(offset)
        return faces, rois, offsets </s> remove             # Pad the image if face is outside of boundaries
            image = self.pad_image(roi, image)
            face = image[roi[1]: roi[3], roi[0]: roi[2]]
 </s> add  </s> remove         for prediction, roi in zip(batch["prediction"], batch["roi"]):
 </s> add         for prediction, roi, offset in zip(batch["prediction"], batch["roi"], batch["offsets"]):
        offsets = []
          sizes = (self.input_size, self.input_size)
          rois = []
          faces = []
        offsets = []
          for face, image in zip(batch["detected_faces"], batch["image"]):
              box = (face.left,
                     face.top,
                     face.right,
keep keep add keep keep keep keep
 bugfix: CV2-DNN aligner. Fix Assertion error when bounding box falls out of frame 
plugins/extract/align/cv2_dnn.py