          :return: img_list but with the comparative values that the chosen
          grouping method expects.
          """
          input_dir = self.arguments.input_dir
          print("Preparing to group...")
          if group_method == 'group_blur':
              temp_list = [[x, self.estimate_blur(cv2.imread(x))] for x in tqdm(self.find_images(input_dir), desc="Reloading", file=sys.stdout)]
 
</s> remove             from lib import FaceLandmarksExtractor
 </s> add             import_FaceLandmarksExtractor()
        import_face_recognition()

          :return: img_list but with the comparative values that the chosen
          grouping method expects.
          """
        import_face_recognition()

          input_dir = self.arguments.input_dir
          print("Preparing to group...")
          if group_method == 'group_blur':
              temp_list = [[x, self.estimate_blur(cv2.imread(x))] for x in tqdm(self.find_images(input_dir), desc="Reloading", file=sys.stdout)]
keep keep add keep keep keep keep
 Only import DLIB related modules when required and minor import relocations (#315)

* Move imports to top and add conditions to load modules requiring GPU

* Fix type

* Fix typo

* Import relocation and dlib import on demand

* refactor to remove extra code lines

* remove unnecessary sys import 
tools/sort.py