Sticker Placement Using Reference-Line Alignment for Precise Positioning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods fail to accurately position stickers in images due to user-selected approximations, leading to imprecise placement.
Innovation Solution
A method and apparatus that utilize a target reference line to identify the adding position of a sticker, detect position changes through user operations, determine a final attachment state, and move the sticker to the precise position based on predefined reference lines.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a user selects an adding position of a sticker through eyes and drags the sticker directly, then the operation is simple and fast, but the positioning precision is poor
Solution Approach 1:
The patent introduces reference lines as an intermediary element between the user's dragging operation and the final sticker placement. The reference line serves as a mediator that captures the user's intent while providing a mechanism for precise positioning. When the user drags the sticker, the system detects when a reference line is covered and uses that reference line's predefined position to accurately place the sticker, thus resolving the contradiction between simple operation and precise positioning.
2Device complexity
If the sticker is positioned by approximate user selection, then the operation process is simple, but the adding position cannot be accurately controlled
Solution Approach 1:
The patent applies preliminary action by pre-defining reference lines at specific positions before the user performs the sticker adding operation. These reference lines are prepared in advance with known coordinates and positions. When the user drags the sticker, the system checks against these pre-defined reference lines to determine the final placement position, thereby achieving accurate positioning without requiring complex real-time calculation or multiple adjustment steps.
Data Source
Figure 1
Figure 2~3
AI summary
The present disclosure discloses a sticker processing method, an apparatus, an electronic device and a computer-readable storage medium. The method includes: acquiring an image and a sticker; determining a target reference line, where the target reference line is used to identify an adding position of the sticker in the image; detecting a position change of the sticker in the image in response to a user's moving operation on the sticker; determining a final attachment state of a preset reference line on the sticker and the target reference line according to the position change; and moving the sticker to the adding position if the final attachment state is an attached state. In embodiments of the present disclosure, the position of the sticker can be positioned precisely by determining coordinates of the target reference line, determining the final state of the preset reference line of the sticker and the target reference line according to the position change of the sticker in the image, and moving the sticker to the adding position if the final attachment state is the attached state.