          """ Get bounding X Y from center """
          pt_x, pt_y = self.center
          width, height = self.dims
          scale = self.interface.get_frame_scaling()
          self.media["bounding_box"] = [int((pt_x / scale) - width / 2),
                                        int((pt_y / scale) - height / 2),
                                        int((pt_x / scale) + width / 2),
                                        int((pt_y / scale) + height / 2)]
  
      def move_bounding_box(self, pt_x, pt_y):
          """ Move the bounding box """
          self.center = (pt_x, pt_y)
          self.bounding_from_center()
 
</s> remove         updated[0] = min(center[0] - minsize, original[0] - move_x)
        updated[1] = min(center[1] - minsize, original[1] - move_y)
        updated[2] = max(center[0] + minsize, original[2] + move_x)
        updated[3] = max(center[1] + minsize, original[3] + move_y)
 </s> add         updated.x = min(center[0] - (minsize // 2), original.x - move_x)
        updated.y = min(center[1] - (minsize // 2), original.y - move_y)
        updated.w = max(minsize, original.w + move_x)
        updated.h = max(minsize, original.h + move_y) </s> remove         minsize = int(10 / scale)
 </s> add         minsize = int(20 / scale) </s> remove         self.media["bounding_box"] = list()
        self.media["bounding_box_orig"] = list()
 </s> add         self.media["bounding_box"] = DetectedFace()
        self.media["bounding_box_orig"] = None </s> remove         logger.trace("Building faces panel. (total_faces: %s", total_faces)
 </s> add         logger.trace("Building faces panel. (total_faces: %s)", total_faces) </s> remove         self.queues["in"].put({"image": self.media["image"],
                               "filename": self.media["frame_id"],
                               "manual_face": self.media["bounding_box"]})
        detected_face = next(self.extractor.detected_faces())["detected_faces"][0]
 </s> add         feed = ExtractMedia(self.media["frame_id"],
                            self.media["image"],
                            detected_faces=[self.media["bounding_box"]])
        self.queues["in"].put(feed)
        detected_face = next(self.extractor.detected_faces()).detected_faces[0]
        self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height
          """ Get bounding X Y from center """
          pt_x, pt_y = self.center
          width, height = self.dims
          scale = self.interface.get_frame_scaling()
        self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height
        self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height
        self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height
        self.media["bounding_box"].x = int((pt_x / scale) - width / 2)
        self.media["bounding_box"].y = int((pt_y / scale) - height / 2)
        self.media["bounding_box"].w = width
        self.media["bounding_box"].h = height
  
      def move_bounding_box(self, pt_x, pt_y):
          """ Move the bounding box """
          self.center = (pt_x, pt_y)
          self.bounding_from_center()
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Bugfix - Manual tool. Use new ExtractMedia class 
tools/lib_alignments/jobs_manual.py