              r = ( (fl[16][0]-fl[27][0]) + (fl[15][0]-fl[28][0]) + (fl[14][0]-fl[29][0]) ) / 3.0
              return r-l
              
          import_FaceLandmarksExtractor()
          input_dir = self.arguments.input_dir
      
          img_list = []
          for x in tqdm( self.find_images(input_dir), desc="Loading", file=sys.stdout):
              d = FaceLandmarksExtractor.extract(cv2.imread(x), 'cnn', True, input_is_predetected_face=True)
              img_list.append( [x, calc_landmarks_face_yaw(np.array(d[0][1])) ] )
  
 
</s> remove             l = ( (fl[27][0]-fl[0][0]) + (fl[28][0]-fl[1][0]) + (fl[29][0]-fl[2][0]) ) / 3.0   
            r = ( (fl[16][0]-fl[27][0]) + (fl[15][0]-fl[28][0]) + (fl[14][0]-fl[29][0]) ) / 3.0
            return r-l
            
 </s> add             l = ((fl[27][0] - fl[0][0]) + (fl[28][0] - fl[1][0]) + (fl[29][0] - fl[2][0])) / 3.0
            r = ((fl[16][0] - fl[27][0]) + (fl[15][0] - fl[28][0]) + (fl[14][0] - fl[29][0])) / 3.0
            return r - l
 </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, calc_landmarks_face_yaw(np.array(d[0][1])) ] )
 </s> add             img_list.append([x, calc_landmarks_face_yaw(np.array(d[0][1]))]) </s> remove         print ("Sorting by face-cnn similarity...")
 </s> add         print("Sorting by face-cnn similarity...") </s> remove             return b-t
 </s> add             return b - t

        input_dir = self.args.input_dir

              r = ( (fl[16][0]-fl[27][0]) + (fl[15][0]-fl[28][0]) + (fl[14][0]-fl[29][0]) ) / 3.0
              return r-l
              
          import_FaceLandmarksExtractor()
        input_dir = self.args.input_dir

        input_dir = self.args.input_dir

          img_list = []
          for x in tqdm( self.find_images(input_dir), desc="Loading", file=sys.stdout):
              d = FaceLandmarksExtractor.extract(cv2.imread(x), 'cnn', True, input_is_predetected_face=True)
              img_list.append( [x, calc_landmarks_face_yaw(np.array(d[0][1])) ] )
  
keep keep keep keep replace 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