              d = FaceLandmarksExtractor.extract(cv2.imread(x), 'cnn', True, input_is_predetected_face=True)
              img_list.append( [x, np.array(d[0][1]) if len(d) > 0 else np.zeros ( (68,2) ), 0 ] )
  
          img_list_len = len(img_list)
          for i in tqdm( range(0, img_list_len-1), desc="Sorting", file=sys.stdout):
              score_total = 0
              for j in range(i+1,len(img_list)):
                  if i == j:
                      continue
                  fl1 = img_list[i][1]
 
</s> remove             img_list.append( [x, np.array(d[0][1]) if len(d) > 0 else np.zeros ( (68,2) ), 0 ] )
 </s> add             img_list.append([x, np.array(d[0][1]) if len(d) > 0 else np.zeros((68, 2)), 0]) </s> remove         for i in tqdm ( range(0, img_list_len-1), desc="Sorting", file=sys.stdout):
 </s> add         for i in tqdm(range(0, img_list_len - 1), desc="Sorting", file=sys.stdout): </s> remove         for x in tqdm( self.find_images(input_dir), desc="Loading", file=sys.stdout):
 </s> add         for x in tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout): </s> remove             img_list.append( [x, np.array(d[0][1]) if len(d) > 0 else np.zeros ( (68,2) ) ] )
 </s> add             img_list.append([x, np.array(d[0][1]) if len(d) > 0 else np.zeros((68, 2))]) </s> remove         for x in tqdm( self.find_images(input_dir), desc="Loading", file=sys.stdout):
 </s> add         for x in tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout):
        for i in tqdm(range(0, img_list_len - 1), desc="Sorting", file=sys.stdout):
              d = FaceLandmarksExtractor.extract(cv2.imread(x), 'cnn', True, input_is_predetected_face=True)
              img_list.append( [x, np.array(d[0][1]) if len(d) > 0 else np.zeros ( (68,2) ), 0 ] )
  
          img_list_len = len(img_list)
        for i in tqdm(range(0, img_list_len - 1), desc="Sorting", file=sys.stdout):
              score_total = 0
              for j in range(i+1,len(img_list)):
                  if i == j:
                      continue
                  fl1 = img_list[i][1]
keep keep keep keep replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
tools/sort.py