Patent ID: 11880919
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A non-transitory computer-readable storage medium, configured to store non-transitory computer-readable instructions which, when executed by a computer, causes the computer to:
acquire an image and a sticker;
determine a target reference line, where the target reference line is used to identify an adding position of the sticker in the image;
detect a position change of the sticker in the image in response to a user's moving operation on the sticker;
determine a final attachment state of a preset reference line on the sticker and the target reference line according to the position change;
move the sticker to the adding position if the final attachment state is an attached state;
wherein the computer is further caused to:
determine an initial attachment state of the preset reference line on the sticker and the target reference line before the position change;
determine a distance between the preset reference line and the target reference line after the position change;
determine the final attachment state of the preset reference line and the target reference line after the position change according to the initial attachment state and the distance;
wherein when the initial attachment state is the attached state and the distance is greater than a preset detachment threshold, the preset reference line is triggered to move away from the target reference line, and the final attachment state is that the preset reference line is not attached to the target reference line.