      def sort_face_yaw(self):
          input_dir = self.args.input_dir
  
          img_list = []
          for x in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
              d = face_alignment.Extract(
                  input_image_bgr=cv2.imread(x),
                  detector='dlib-cnn',
                  verbose=True,
                  input_is_predetected_face=True).landmarks
              img_list.append([x,
                               self.calc_landmarks_face_yaw(np.array(d[0][1]))])
 
</s> remove         for x in tqdm(self.find_images(input_dir),
                      desc="Loading",
                      file=sys.stdout):
            d = face_alignment.Extract(
                input_image_bgr=cv2.imread(x),
 </s> add         for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img), </s> remove         for x in tqdm(self.find_images(input_dir),
                      desc="Loading",
                      file=sys.stdout):
            d = face_alignment.Extract(
                input_image_bgr=cv2.imread(x),
 </s> add         for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img), </s> remove             for x in tqdm(self.find_images(input_dir),
                          desc="Reloading",
                          file=sys.stdout):
                d = face_alignment.Extract(
                    input_image_bgr=cv2.imread(x),
 </s> add             for img in tqdm(self.find_images(input_dir),
                            desc="Reloading",
                            file=sys.stdout):
                landmarks = face_alignment.Extract(
                    input_image_bgr=cv2.imread(img), </s> remove             for x in tqdm(self.find_images(input_dir),
                          desc="Reloading",
                          file=sys.stdout):
                d = face_alignment.Extract(
                    input_image_bgr=cv2.imread(x),
 </s> add             for img in tqdm(self.find_images(input_dir),
                            desc="Reloading",
                            file=sys.stdout):
                landmarks = face_alignment.Extract(
                    input_image_bgr=cv2.imread(img),
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
      def sort_face_yaw(self):
          input_dir = self.args.input_dir
  
          img_list = []
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
        for img in tqdm(self.find_images(input_dir),
                        desc="Loading",
                        file=sys.stdout):
            landmarks = face_alignment.Extract(
                input_image_bgr=cv2.imread(img),
                  detector='dlib-cnn',
                  verbose=True,
                  input_is_predetected_face=True).landmarks
              img_list.append([x,
                               self.calc_landmarks_face_yaw(np.array(d[0][1]))])
keep keep keep keep replace replace replace replace replace 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