          if not self.roi:
              return
          color = self.colors[color_id]
          for idx, roi in enumerate(self.roi):
              top_left = [point for point in roi[0].squeeze()[0]]
              top_left = (top_left[0], top_left[1] - 10)
              putText(self.image, str(idx), top_left, FONT_HERSHEY_DUPLEX, 1.0,
                      color, thickness)
              polylines(self.image, roi, True, color, thickness)
  
 
</s> remove             polylines(self.image, roi, True, color, thickness)
 </s> add             polylines(self.image, [roi], True, color, thickness) </s> remove         for matrix in self.matrices:
            original_roi = self.original_roi(matrix)[0].squeeze()
            top_left, top_right = original_roi[0], original_roi[3]
 </s> add         for face in self.faces:
            top_left, top_right = face.original_roi[0], face.original_roi[3] </s> remove         roi = self.extracted_faces.get_roi_for_frame(frame_name,
                                                     faces_updated)
 </s> add         self.extracted_faces.get_faces(frame_name)
        roi = [face.original_roi for face in self.extracted_faces.faces]
 </s> remove         alignments = self.alignments.get_alignments_for_frame(frame)
 </s> add         alignments = self.alignments.get_faces_in_frame(frame) </s> remove     def adjust_avg_color(self,img_old,img_new):
        w,h,c = img_new.shape
        for i in range(img_new.shape[-1]):
            old_avg = img_old[:, :, i].mean()
            new_avg = img_new[:, :, i].mean()
 </s> add     @staticmethod
    def adjust_avg_color(old_face, new_face):
        """ Perform average color adjustment """
        for i in range(new_face.shape[-1]):
            old_avg = old_face[:, :, i].mean()
            new_avg = new_face[:, :, i].mean()
            top_left = [point for point in roi.squeeze()[0]]
          if not self.roi:
              return
          color = self.colors[color_id]
          for idx, roi in enumerate(self.roi):
            top_left = [point for point in roi.squeeze()[0]]
              top_left = (top_left[0], top_left[1] - 10)
              putText(self.image, str(idx), top_left, FONT_HERSHEY_DUPLEX, 1.0,
                      color, thickness)
              polylines(self.image, roi, True, color, thickness)
  
keep keep keep keep replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/annotate.py