def init(self, image: "PIL.JpegImagePlugin.JpegImageFile", box: np.ndarray):  # type: ignore
        """
        Method `init` for GOT-10k trackers.

        :param image: Current image.
        :param box: Initial boxes.
        :return: Predicted box.
        """
        import torch

        self.prev = np.array(image) / 255.0
        if self.clip_values is not None:
            self.prev = self.prev * self.clip_values[1]
        self.box = torch.from_numpy(np.array([box[0], box[1], box[2] + box[0], box[3] + box[1]])).to(self.device)

        Method `init` for GOT-10k trackers.

        :param image: Current image.
        :param box: Initial boxes.
        :return: Predicted box.
        
art/estimators/object_tracking/pytorch_goturn.py