          face = DetectedFace(x=0, w=width, y=0, h=height)
          return {"image": image,
                  "detected_faces": [face]}
  
      def get_landmarks(self, filename):
          """ Get landmarks for current image """
          image = cv2.imread(filename)
          queue_manager.get_queue("in").put(self.alignment_dict(image))
          face = queue_manager.get_queue("out").get()
          return face["detected_faces"][0].landmarksXY
  
 
</s> remove         queue_manager.get_queue("in").put(self.alignment_dict(image))
 </s> add         queue_manager.get_queue("in").put(Sort.alignment_dict(image)) </s> remove         return face["detected_faces"][0].landmarksXY
 </s> add         landmarks = face["landmarks"][0]
        return landmarks </s> remove         self.launch_aligner()
 </s> add         self.launch_aligner(self.args.loglevel) </s> remove         self.launch_aligner()
 </s> add         self.launch_aligner(self.args.loglevel)
    @staticmethod
    def get_landmarks(filename):
        """ Extract the face from a frame (If not alignments file found) """
          face = DetectedFace(x=0, w=width, y=0, h=height)
          return {"image": image,
                  "detected_faces": [face]}
  
    @staticmethod
    def get_landmarks(filename):
        """ Extract the face from a frame (If not alignments file found) """
    @staticmethod
    def get_landmarks(filename):
        """ Extract the face from a frame (If not alignments file found) """
          image = cv2.imread(filename)
          queue_manager.get_queue("in").put(self.alignment_dict(image))
          face = queue_manager.get_queue("out").get()
          return face["detected_faces"][0].landmarksXY
  
keep keep keep keep replace replace keep keep keep keep keep
 Staging sort fix (#584)

* fixed several bugs that prevented sort algorithms from beeing working in staging branch.
face-cnn, face-cnn-dissim and face-yaw now working again
blur, face, hist, hist-dissim already worked before
face-dissim still has an error

* applied requested changes from torzdf 
tools/sort.py