          logger.trace("Updating tk image")
          self.build_faces_image()
          img = np.vstack((self.faces_source, self.faces_dest))
          size = self.get_scale_size(img)
          img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)  # pylint:disable=no-member
          img = Image.fromarray(img)
          img = img.resize(size, Image.ANTIALIAS)
          self.tk_image = ImageTk.PhotoImage(img)
          self.tk_vars["refresh"].set(False)
          logger.trace("Updated tk image")
 
</s> remove         font = cv2.FONT_HERSHEY_SIMPLEX  # pylint: disable=no-member
 </s> add         font = cv2.FONT_HERSHEY_SIMPLEX </s> remove         text_sizes = [cv2.getTextSize(self.faces["filenames"][idx],  # pylint: disable=no-member
 </s> add         text_sizes = [cv2.getTextSize(self.faces["filenames"][idx], </s> remove                 scale_img = cv2.resize(crop_img, (48, 48))  # pylint:disable=no-member
 </s> add                 scale_img = cv2.resize(crop_img, (48, 48)) </s> remove                 scale_img = cv2.resize(crop_img, (24, 24))  # pylint:disable=no-member
 </s> add                 scale_img = cv2.resize(crop_img, (24, 24)) </s> remove             image = cv2.copyMakeBorder(image,  # pylint:disable=no-member
 </s> add             image = cv2.copyMakeBorder(image,
        img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
          logger.trace("Updating tk image")
          self.build_faces_image()
          img = np.vstack((self.faces_source, self.faces_dest))
          size = self.get_scale_size(img)
        img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
          img = Image.fromarray(img)
          img = img.resize(size, Image.ANTIALIAS)
          self.tk_image = ImageTk.PhotoImage(img)
          self.tk_vars["refresh"].set(False)
          logger.trace("Updated tk image")
keep keep keep keep replace keep keep keep keep keep
 # pylint:disable=no-member cleanup (#927)

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