          return header_box
  
      def draw_rect(self, image):
          """ draw border """
          cv2.rectangle(image,    # pylint:disable=no-member
                        (0, 0),
                        (self.size - 1, self.size - 1),
                        (255, 255, 255),
                        1)
          image = np.clip(image, 0.0, 255.0)
          return image.astype("uint8")
  
  
  class ConfigTools():
 
</s> remove                         lineType=cv2.LINE_AA)  # pylint: disable=no-member
 </s> add                         lineType=cv2.LINE_AA) </s> remove             cv2.putText(header_box,  # pylint: disable=no-member
 </s> add             cv2.putText(header_box, </s> remove             image = cv2.copyMakeBorder(image,  # pylint:disable=no-member
 </s> add             image = cv2.copyMakeBorder(image, </s> remove         font = cv2.FONT_HERSHEY_SIMPLEX  # pylint: disable=no-member
 </s> add         font = cv2.FONT_HERSHEY_SIMPLEX </s> remove         image = cv2.warpAffine(image,  # pylint: disable=no-member
                               rotation_matrix,
                               (self.input_size, self.input_size))
 </s> add         image = cv2.warpAffine(image, rotation_matrix, (self.input_size, self.input_size))
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
          return header_box
  
      def draw_rect(self, image):
          """ draw border """
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
        cv2.rectangle(image, (0, 0), (self.size - 1, self.size - 1), (255, 255, 255), 1)
          image = np.clip(image, 0.0, 255.0)
          return image.astype("uint8")
  
  
  class ConfigTools():
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 # pylint:disable=no-member cleanup (#927)

# pylint:disable=no-member cleanup 
tools/preview.py