A method for tracking a target, comprising: generating (201, 401), based on a region proposal network and a feature map of a to-be-processed image, a position of a candidate box of a to-be-tracked target in the to-be-processed image, wherein the generating (201, 401) comprises: inputting a feature map of a template image of the to-be-tracked target and the feature map of the to-be-processed image into the region proposal network, to obtain the position of the candidate box of the to-be-tracked target in the to-be-processed image outputted from the region proposal network, wherein the template image of the to-be-tracked target corresponds to a local region within a bounding box of the to-be-tracked target in an original image of the to-be-tracked target, wherein the position of the candidate box of the to-be-tracked target is the position of the candidate box where the to-be-tracked target is located in the to-be-processed image; determining (202, 402), for a pixel in the to-be-processed image, a probability that each anchor box of at least one anchor box arranged for the pixel includes the to-be-tracked target, and determining a deviation of the candidate box corresponding to the each anchor box relative to the each anchor box; determining, based on positions of at least two anchor boxes corresponding to at least two probabilities among the determined probabilities and deviations corresponding to the at least two anchor boxes respectively, candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively; and combining (204, 404) at least two candidate positions among the determined candidate positions to obtain a position of the to-be-tracked target in the to-be-processed image, characterized in that the deviation comprises a size scaling amount and a specified point position offset amount; and the determining, based on the positions of the at least two anchor boxes corresponding to the at least two probabilities among the determined probabilities and the deviations corresponding to the at least two anchor boxes respectively, the candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively comprises: performing, based on the positions of the at least two anchor boxes corresponding to the at least two probabilities, size scaling and specified point position offsetting on the at least two anchor boxes respectively according to size scaling amounts and specified point offset amounts corresponding to the at least two anchor boxes respectively, to obtain the candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively. generating (201, 401), based on a region proposal network and a feature map of a to-be-processed image, a position of a candidate box of a to-be-tracked target in the to-be-processed image, wherein the generating (201, 401) comprises: inputting a feature map of a template image of the to-be-tracked target and the feature map of the to-be-processed image into the region proposal network, to obtain the position of the candidate box of the to-be-tracked target in the to-be-processed image outputted from the region proposal network, wherein the template image of the to-be-tracked target corresponds to a local region within a bounding box of the to-be-tracked target in an original image of the to-be-tracked target, wherein the position of the candidate box of the to-be-tracked target is the position of the candidate box where the to-be-tracked target is located in the to-be-processed image; determining (202, 402), for a pixel in the to-be-processed image, a probability that each anchor box of at least one anchor box arranged for the pixel includes the to-be-tracked target, and determining a deviation of the candidate box corresponding to the each anchor box relative to the each anchor box; determining, based on positions of at least two anchor boxes corresponding to at least two probabilities among the determined probabilities and deviations corresponding to the at least two anchor boxes respectively, candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively; and combining (204, 404) at least two candidate positions among the determined candidate positions to obtain a position of the to-be-tracked target in the to-be-processed image, characterized in that the deviation comprises a size scaling amount and a specified point position offset amount; and the determining, based on the positions of the at least two anchor boxes corresponding to the at least two probabilities among the determined probabilities and the deviations corresponding to the at least two anchor boxes respectively, the candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively comprises: performing, based on the positions of the at least two anchor boxes corresponding to the at least two probabilities, size scaling and specified point position offsetting on the at least two anchor boxes respectively according to size scaling amounts and specified point offset amounts corresponding to the at least two anchor boxes respectively, to obtain the candidate positions of the to-be-tracked target corresponding to the at least two anchor boxes respectively.