      # Methods for sorting
      def sort_blur(self):
          input_dir = self.args.input_dir
  
          print("Sorting by blur...")
          img_list = [[img, self.estimate_blur(cv2.imread(img))]
                      for img in
                      tqdm(self.find_images(input_dir),
 
</s> remove         img_list = [[x, self.estimate_blur(cv2.imread(x))]
                    for x in
 </s> add         img_list = [[img, self.estimate_blur(cv2.imread(img))]
                    for img in </s> remove         img_list = [[x, face_recognition.face_encodings(cv2.imread(x))]
                    for x in
 </s> add         img_list = [[img, face_recognition.face_encodings(cv2.imread(img))]
                    for img in </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             temp_list = [[x, self.estimate_blur(cv2.imread(x))]
                         for x in
 </s> add             temp_list = [[img, self.estimate_blur(cv2.imread(img))]
                         for img in
        """ Sort by blur amount """
      # Methods for sorting
      def sort_blur(self):
        """ Sort by blur amount """
          input_dir = self.args.input_dir
  
          print("Sorting by blur...")
          img_list = [[img, self.estimate_blur(cv2.imread(img))]
                      for img in
                      tqdm(self.find_images(input_dir),
keep add keep keep keep keep keep keep
 Merge staging to Master (#470)

* DLib scaling amends (#461)

* Scaling area fix and rework of frames and bounding boxes

* Update DLib scaling and initialization

* Extract - Detector reinitialization bugfix

* Slight OriginaHightRes Model re-factoring (#464)

* Model re-factoring, might fix red screen of death on multi-gpu configurations

* Limited trainer support for various INPUT_SIZE

* Auto Extraction multiprocess bugfix

* Sort tool bugfixes and linting 
tools/sort.py