          return img_list
  
      def sort_hist_dissim(self):
          input_dir = self.args.input_dir
  
          print("Sorting by histogram dissimilarity...")
  
 
</s> remove         img_list = [[x, face_recognition.face_encodings(cv2.imread(x)), 0]
                    for x in
 </s> add         img_list = [[img, face_recognition.face_encodings(cv2.imread(img)), 0]
                    for img in </s> remove 
 </s> add         """ Sort by dlib CNN similarity """
        """ Sort by histigram of face dissimilarity """
          return img_list
  
      def sort_hist_dissim(self):
        """ Sort by histigram of face dissimilarity """
          input_dir = self.args.input_dir
  
          print("Sorting by histogram dissimilarity...")
  
keep keep add keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py