CN108924440B - Sticker display method, device, terminal and computer-readable storage medium - Google Patents

Sticker display method, device, terminal and computer-readable storage medium Download PDF

Info

Publication number
CN108924440B
CN108924440B CN201810869458.9A CN201810869458A CN108924440B CN 108924440 B CN108924440 B CN 108924440B CN 201810869458 A CN201810869458 A CN 201810869458A CN 108924440 B CN108924440 B CN 108924440B
Authority
CN
China
Prior art keywords
sticker
image
preset
paster
stickers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810869458.9A
Other languages
Chinese (zh)
Other versions
CN108924440A (en
Inventor
黄旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810869458.9A priority Critical patent/CN108924440B/en
Publication of CN108924440A publication Critical patent/CN108924440A/en
Application granted granted Critical
Publication of CN108924440B publication Critical patent/CN108924440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Abstract

The application belongs to the technical field of image processing, and particularly relates to a sticker display method, device, terminal and computer-readable storage medium, wherein the sticker display method comprises the following steps: receiving a loading instruction of a paster list; acquiring a corresponding image to be processed according to the sticker list loading instruction; loading a plurality of preset stickers to corresponding positions of the image to be processed respectively, generating sticker images corresponding to the preset stickers one by one, and displaying the sticker images in a list form on a display interface; the user can visually check the sticker effects of the preset stickers at the same time, the check efficiency of the sticker effects is improved, and the user can quickly select the proper preset stickers to be synthesized into the image to increase the stickers of the image.

Description

Sticker display method, device, terminal and computer-readable storage medium
Technical Field
The present application belongs to the field of image processing technologies, and in particular, to a method and an apparatus for displaying a sticker, a terminal, and a computer-readable storage medium.
Background
With the development of image processing technology, people can perform beauty processing, filter processing and sticker processing on images through various applications. The process of adding the sticker to the image can be generally realized by synthesizing a pre-made preset sticker into the image.
However, when selecting the preset stickers, the preset stickers are added to the image one by one to check the sticker effect, so that the proper preset sticker can be selected. The selection mode of the preset stickers has the defect of low selection speed, and when the types of the preset stickers are more, the user is not facilitated to quickly select the proper preset stickers to be synthesized into the image so as to realize the processing of adding the stickers to the image.
Disclosure of Invention
The embodiment of the application provides a sticker display method, a device, a terminal and a computer-readable storage medium, which can solve the technical problem that when the types of preset stickers are more, a user is not favorable for quickly selecting proper preset stickers.
A first aspect of an embodiment of the present application provides a method for displaying a sticker, including:
receiving a loading instruction of a paster list;
acquiring a corresponding image to be processed according to the sticker list loading instruction;
and respectively loading a plurality of preset stickers to corresponding positions of the image to be processed, generating a sticker image corresponding to each preset sticker one by one, and displaying the sticker images in a list form on a display interface.
A second aspect of embodiments of the present application provides a sticker display device, including:
a receiving unit for receiving a sticker list loading instruction;
the acquisition unit is used for acquiring a corresponding image to be processed according to the sticker list loading instruction;
and the display unit is used for respectively loading a plurality of preset stickers to corresponding positions of the image to be processed, generating sticker images corresponding to each preset sticker one by one, and displaying the sticker images in a list form on a display interface.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, through after receiving sticker list loading instruction, according to sticker list loading instruction acquires corresponding pending image, loads a plurality of preset stickers respectively extremely pending image's corresponding position generates the sticker image with every preset sticker one-to-one, and finally, through showing with the form of list on the display interface the sticker image for the user can find the sticker effect of a plurality of preset stickers directly perceivedly at the same time, has improved the efficiency of looking over of sticker effect, is favorable to the user to select suitable preset sticker fast and realizes increasing the processing of sticker to the image in synthesizing the image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flow chart illustrating an implementation of a sticker display method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a manner in which a Sticker List load instruction is triggered according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a sticker image display interface provided by an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a specific implementation of step 103 of a sticker display method according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating another specific implementation of step 103 of a method for displaying a sticker provided by an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a sticker display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
In practical application, when the preset sticker is synthesized into the image to realize the processing of adding the sticker to the image, the preset sticker needs to be selected first. At present, the preset stickers are added to the image one by one to check the sticker effect, so that the proper preset sticker can be selected. The selection mode of the preset stickers has the defect of low selection speed, and when the types of the preset stickers are more, the user is not facilitated to quickly select the proper preset stickers to be synthesized into the image to realize the processing of adding the stickers to the image.
In the embodiment of the application, after the paster list loading instruction is received, the corresponding image to be processed is obtained according to the paster list loading instruction, then the preset pasters are loaded to the corresponding positions of the image to be processed respectively, the paster image corresponding to each preset paster one to one is generated, and finally, the paster image is displayed in a list form on a display interface, so that a user can visually check the paster effects of the preset pasters at the same time, the check efficiency of the paster effect is improved, and the user can select the proper preset pasters quickly to synthesize the image to realize the treatment of adding the pasters to the image.
Fig. 1 shows a schematic flow chart of an implementation of a sticker display method provided in an embodiment of the present application, where the method is applied to a terminal, and can be executed by a sticker display device configured on the terminal, and is suitable for a situation where viewing efficiency of a sticker effect needs to be improved, and a user is convenient to quickly select an appropriate preset sticker and synthesize the preset sticker into an image to implement processing of adding a sticker to the image, and the method includes steps 101 to 103.
Step 101, receiving a sticker list loading instruction.
And 102, acquiring a corresponding image to be processed according to the paster list loading instruction.
The terminal comprises terminal equipment such as a smart phone, a tablet personal computer and a learning machine, wherein the terminal equipment is provided with a sticker display device. And, the terminal device can be installed with applications such as a photographing application, a browser, a WeChat, and the like.
In the embodiment of the application, when a user needs to select a proper sticker to increase the sticker processing on the image to be processed, the sticker list loading instruction can be triggered, so that the user can visually check the sticker effects of a plurality of preset stickers at the same time, and quickly select the proper preset sticker from the plurality of preset stickers to be synthesized into the image to increase the sticker processing on the image.
Optionally, in some embodiments of the application, the obtaining of the corresponding to-be-processed image according to the sticker list loading instruction may include: in the process of photographing and previewing, when the loading instruction of the sticker list is triggered, acquiring a preview frame image acquired by a camera in real time; or when the loading instruction of the paster list is triggered, acquiring the image to be processed which is locally stored in the terminal. For example, images sent by other wechat contacts received by the wechat application; alternatively, images downloaded from the internet through a browser application.
In this embodiment of the application, the image to be processed may be a photo image or a video image, and the source and the form of the image to be processed are not limited herein.
103, loading a plurality of preset stickers to corresponding positions of the image to be processed respectively, generating sticker images corresponding to each preset sticker one by one, and displaying the sticker images in a list form on a display interface.
After a terminal receives a sticker list loading instruction and acquires an image to be processed corresponding to the sticker list loading instruction, the terminal needs to load a plurality of preset stickers to corresponding positions of the image to be processed respectively to generate sticker images corresponding to the preset stickers one by one, and each sticker image is displayed on a display interface in a list form, namely, each sticker image is an image generated after different preset stickers are added to the image to be processed, and the terminal displays the sticker images in the list form after the sticker images are generated, so that a user can visually check the sticker effects of the preset stickers at the same time.
For example, as shown in fig. 2, in the photo preview process, when a user needs to add a sticker to a preview frame image, the user may click a sticker list loading control 22 on the photo preview interface 21 to trigger the sticker list loading instruction, so that the terminal obtains a preview frame image acquired by the camera in real time after receiving the sticker list loading instruction, and loads a plurality of preset stickers to corresponding positions of the preview frame image respectively, thereby generating a sticker image corresponding to each preset sticker one by one as shown in fig. 3.
The preset stickers can be stickers corresponding to different sticker types which are manufactured in advance on the terminal, and after the terminal receives a sticker list loading instruction, the preset stickers with preset quantity can be loaded to corresponding positions of the preview frame image respectively to generate sticker images corresponding to the preset stickers one by one.
For example, 9 pre-stickers that have been prepared in advance are loaded to corresponding positions of the preview frame image, and 9 sticker images that correspond to the respective pre-stickers one to one are generated.
In some embodiments of the present application, after the sticker image is displayed, the number of displayed sticker images in the sticker image display interface may also be increased or decreased. For example, as shown in fig. 3, the number of displayed sticker images is reduced by receiving a sticker image reduction instruction triggered by the user clicking on the sticker image reduction control 31 on the sticker image display interface 30, or the number of displayed sticker images is increased by receiving a sticker image increase instruction triggered by the user clicking on the sticker image increase control 32 on the sticker image display interface 30.
In the embodiment of the application, the display size of the paster images in the paster image display interface is changed by changing the display quantity of the paster images in the paster image display interface, so that a user can flexibly view the paster effect of the paster images.
Optionally, in some embodiments of the application, in order to better screen out the required preset sticker by the user, the terminal may further delete the sticker image by receiving a sticker image deletion instruction triggered by the user in the sticker image display interface, and only retain the sticker image meeting the user requirement.
For example, the terminal receives a sticker image deletion instruction from a user to long-press or slide up a sticker image display interface to delete a sticker image. Moreover, after the user deletes the sticker images in the sticker image display interface, the terminal can correspondingly add the sticker images with the same number as the deleted sticker images, namely, how many sticker images are added when many sticker images are deleted.
Optionally, the list shape of the sticker images corresponds to the number of the sticker images one to one. That is, different numbers of sticker images are arranged in different preset list forms on the display interface.
For example, when the number of the preset stickers is 9, the arrangement of the sticker images on the display interface may be arranged in a squared manner. When the number of the preset stickers is more than 9, in order to ensure that the sticker images can be displayed clearly on the display interface, the sticker images can be displayed in the size of the images arranged in the manner of the squared figure, but the sticker images are displayed in a stacked manner according to the number of the sticker images, for example, the part of the sticker not added between the adjacent sticker images is displayed in a stacked manner. When the number of the preset stickers is less than 9, the size of the sticker images can be adaptively increased, and the sticker images can be displayed in a preset arrangement mode. For example, when the number of the preset stickers is 4, the sticker image is displayed in a four-grid form.
In some embodiments of the present application, in order to more accurately add the preset sticker to the image to be processed, as shown in fig. 4, in step 103, the loading a plurality of preset stickers to corresponding positions of the image to be processed respectively, and generating a sticker image corresponding to each preset sticker one by one includes: step 401 to step 402.
Step 401, performing image recognition on the image to be processed, and determining a loading position of each preset sticker on the image to be processed;
and 402, loading the preset stickers to the image to be processed according to the loading positions, and generating sticker images corresponding to the preset stickers one by one.
That is, the loading position of the preset sticker can be determined according to the image recognition result of the image to be processed, so that the terminal can accurately and reasonably add the preset sticker to the image to be processed, and the expression effect of the preset sticker is optimized.
For example, the preset sticker is a blush sticker, an eyebrow sticker, or a glasses sticker to be added to a human face, or the preset sticker is a butterfly sticker to be added to a flower, or when the preset sticker is an apple sticker, a pear sticker, or an orange sticker to be added to a tree and the like to be added to a specific target object, when the preset sticker is added to an image to be processed, image recognition needs to be performed on the image to be processed according to the attribute of each preset sticker, after the loading position of each preset sticker on the image to be processed is determined, the preset sticker is loaded onto the image to be processed according to the loading position, and a sticker image corresponding to each preset sticker one-to-one is generated.
In some embodiments of the present application, the image recognition of the image to be processed includes: and carrying out image recognition on the image to be processed through a target detection algorithm so as to determine the loading position of each preset sticker on the image to be processed.
The target detection algorithm may include: and the local binary pattern algorithm, the directional gradient feature, the support vector machine model, the convolutional neural network model and other algorithms are combined. It should be noted that, the foregoing image recognition method is only an example, and is not meant to limit the scope of the present application, and other methods that can implement image recognition on an image to be processed are also applicable to the present application, and are not listed here.
In some embodiments of the present application, as shown in fig. 5, in the step 103, loading a plurality of preset stickers to corresponding positions of the image to be processed, respectively, and generating a sticker image corresponding to each preset sticker one by one, the method further includes: step 501 to step 503.
Step 501, loading the preset sticker to a preset position of an image to be processed.
Step 502, determining a final loading position of the preset sticker on the image to be processed according to the sliding operation of the user on the preset sticker.
Step 503, loading the preset stickers to the final loading position, and generating sticker images corresponding to the preset stickers one by one.
The preset position is a relative position on the image to be processed, for example, the preset position is a position in the middle of the image, a position in the upper left corner, a position in the upper right corner, or a position such as an edge contour of the image.
In the embodiment of the application, the preset paster can be loaded through image recognition, and meanwhile, the final loading position of the preset paster on the image to be processed can be determined through the sliding operation of the user on the preset paster, so that the loading position of the preset paster can better meet the requirements of the user.
For example, for some preset stickers where the loading position of the preset sticker cannot be determined by image recognition, it is necessary to load the preset sticker to the preset position of the image to be processed and to adjust the position thereof by the user when the user considers necessary.
Optionally, in the step 103, after each of the sticker images is displayed in a list on a display interface, the method includes: receiving a first selection instruction of any one of the sticker images, and displaying the sticker image corresponding to the first selection instruction on the display interface; or receiving a second selected instruction of a plurality of sticker images, synthesizing the sticker images corresponding to the second selected instruction into a synthetic image, and displaying the synthetic image on the display interface.
After the user views one or more satisfactory sticker images on the sticker image display interface, the one or more satisfactory sticker images need to be saved to complete the sticker processing of the image to be processed.
Therefore, after each sticker image is displayed in a list form on the display interface, when a first selection instruction of a user for any one of the sticker images is received, the display of a single image needs to be resumed on the display interface, that is, only the sticker image corresponding to the first selection instruction is displayed on the display interface. Or receiving a second selection instruction of the user to the multiple sticker images at the same time, synthesizing the sticker images corresponding to the second selection instruction into a synthesized image, and displaying only the synthesized image on the display interface.
The first selection instruction can be a first selection instruction triggered by double clicking of any one of the sticker images on the sticker image display interface by a user; the second selection instruction can be a second selection instruction triggered by the user clicking or double clicking the multiple sticker images on the sticker image display interface at the same time by using multiple fingers.
Optionally, the synthesizing the sticker image corresponding to the second selected instruction into a synthesized image includes: the preset paster contained in each paster image corresponding to the second selected instruction is used as a target preset paster; and synthesizing the target preset sticker into the image to be processed to generate the synthesized image.
When the paster processing of the image is carried out, the paster is actually fused into the image, so that the paster becomes a part of the image, therefore, when the paster images corresponding to the second selected instruction are synthesized into a synthesized image, only the preset paster contained in each paster image is needed to be used as the target preset paster, and then a plurality of target preset pasters are synthesized into the image to be processed, so that the synthesized image containing the target paster can be generated; and the synthetic image is obtained without fusing the sticker images corresponding to the second selected instruction, so that the synthetic efficiency and the synthetic quality of the sticker images are improved.
When the target preset sticker is synthesized into the image to be processed, the position of the target preset sticker in the sticker image is consistent with the position of the target preset sticker in the synthesized image.
Optionally, the synthesizing the target preset sticker into the image to be processed to generate the synthesized image includes: and receiving an editing operation on the target preset sticker in the synthesized image, and editing the target preset sticker according to the editing operation.
Wherein, the receiving of the editing operation on the target preset sticker in the composite image and the editing of the target preset sticker according to the editing operation comprise: receiving the sliding operation of a user on the target preset paster, and converting the loading position of the target preset paster to the loading position corresponding to the sliding operation; and/or receiving the stretching operation of the user on the target preset paster, and converting the shape and the size of the target preset paster into the shape and the size corresponding to the stretching operation; and/or receiving the character input operation of the user on the target preset paster, and performing text editing on the target preset paster.
In the embodiment of the application, since the target preset sticker is synthesized into the image to be processed, and after the synthesized image is generated, the position of the target preset sticker in the sticker image is consistent with the position of the target preset sticker in the synthesized image, when the number of the target preset stickers is large, the target preset sticker may need to be edited again, so that the display of the target preset sticker in the synthesized image meets the requirements of a user more, and the flexibility of adding sticker processing to the image is improved.
Optionally, after the displaying the sticker image in the form of a list on the display interface, the method includes: receiving a third selected instruction of any one sticker image; acquiring the same type of preset stickers of the sticker image corresponding to the third selected instruction, and displaying a selection list of the same type of preset stickers; and receiving a fourth selection instruction of the user for the same type of preset stickers in the selection list, and replacing the preset stickers of the sticker images corresponding to the third selection instruction by using the same type of preset stickers corresponding to the fourth selection instruction.
That is, the preset sticker of any one sticker image can be replaced on the sticker image display interface.
For example, when the preset sticker of the sticker image is a blush sticker, because the blush has a plurality of colors, the blush sticker of the sticker image can be replaced by triggering the third selection instruction and the fourth selection instruction, so that different stickers in the preset sticker of the same type can be flexibly changed.
The third selection instruction may be a selection instruction triggered by a two-finger pinch in a display area of any one of the sticker images, and the fourth selection instruction may be a selection instruction triggered by a click.
It should be noted that, the triggering manner of the instruction in each of the foregoing method embodiments is an example, and is not meant to limit the scope of protection of the present application, and in some embodiments of the present application, the triggering manner of the instruction may be used repeatedly in a crossing manner, and only needs to ensure that the triggering logic is correct.
It should also be noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it should be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently in accordance with the invention.
Fig. 6 shows a schematic structural diagram of a sticker display device 600 provided by an embodiment of the present application, which includes a receiving unit 601, an obtaining unit 602, and a display unit 603.
A receiving unit 601, configured to receive a sticker list loading instruction;
an obtaining unit 602, configured to obtain a corresponding to-be-processed image according to the sticker list loading instruction;
a display unit 603, configured to load a plurality of preset stickers to corresponding positions of the image to be processed, generate a sticker image corresponding to each preset sticker one by one, and display the sticker images in a list on a display interface.
In some embodiments of the present application, the display unit 603 is specifically configured to perform image recognition on the image to be processed, and determine a loading position of each preset sticker on the image to be processed; and loading the preset stickers to the image to be processed according to the loading positions to generate sticker images corresponding to the preset stickers one by one.
In some embodiments of the present application, the display unit 603 is further specifically configured to load the preset sticker to a preset position of an image to be processed; determining the final loading position of the preset paster on the image to be processed according to the sliding operation of the user on the preset paster; and loading the preset paster to the final loading position to generate the paster image corresponding to the preset paster one by one.
In some embodiments of the present application, the display device 600 further includes a composition unit, specifically configured to receive a first selection instruction for any one of the sticker images after displaying the sticker images in a list form on a display interface; displaying a sticker image corresponding to the first selected instruction on the display interface; or receiving a second selected instruction of a plurality of sticker images; and synthesizing the paster image corresponding to the second selected instruction into a synthesized image, and displaying the synthesized image on the display interface.
In some embodiments of the application, the synthesizing unit is specifically configured to use a preset sticker included in each sticker image corresponding to the second selected instruction as a target preset sticker; and synthesizing the target preset sticker into the image to be processed to generate the synthesized image.
In some embodiments of the present application, the display device 600 further includes an editing unit, specifically, configured to receive an editing operation on a target preset sticker in the composite image, and edit the target preset sticker according to the editing operation.
Wherein, the receiving of the editing operation on the target preset sticker in the composite image and the editing of the target preset sticker according to the editing operation comprise: receiving the sliding operation of a user on the target preset paster, and converting the loading position of the target preset paster to the loading position corresponding to the sliding operation; and/or receiving the stretching operation of the user on the target preset paster, and converting the shape and the size of the target preset paster into the shape and the size corresponding to the stretching operation; and/or receiving the character input operation of the user on the target preset paster, and performing text editing on the target preset paster.
In some embodiments of the present application, the display device 600 further includes a replacing unit, specifically configured to receive a third selection instruction for any one of the sticker images; acquiring the same type of preset stickers of the sticker image corresponding to the third selected instruction, and displaying a selection list of the same type of preset stickers; and receiving a fourth selection instruction of the user for the same type of preset stickers in the selection list, and replacing the preset stickers of the sticker images corresponding to the third selection instruction by using the same type of preset stickers corresponding to the fourth selection instruction.
It should be noted that, for convenience and brevity of description, the specific working process of the sticker display apparatus 600 described above may refer to the corresponding process of the method described in fig. 1 to fig. 5, and is not described herein again.
As shown in fig. 7, the present application provides a terminal for implementing the above sticker display method, where the terminal may be a mobile terminal, and the mobile terminal may be a terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a learning machine, and includes: one or more input devices 73 (only one shown in fig. 7) and one or more output devices 74 (only one shown in fig. 7). The processor 71, memory 72, input device 73, and output device 74 are connected by a bus 75.
It should be understood that, in the embodiment of the present Application, the Processor 71 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 73 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 74 may include a display, a speaker, etc.
Memory 72 may include both read-only memory and random-access memory and provides instructions and data to processor 71. Some or all of memory 72 may also include non-volatile random access memory. For example, the memory 72 may also store device type information.
The memory 72 stores a computer program that can be executed by the processor 71, and the computer program is, for example, a program of a sticker display method. The processor 71 implements the steps of the sticker display method embodiment, such as the steps 101 to 103 shown in fig. 1, when executing the computer program. Alternatively, the processor 71, when executing the computer program, implements the functions of the modules/units in the device embodiments, for example, the functions of the units 601 to 603 shown in fig. 7.
The computer program may be divided into one or more modules/units, which are stored in the memory 72 and executed by the processor 71 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the terminal for taking pictures. For example, the computer program may be divided into a receiving unit, an acquiring unit, and a displaying unit, and each unit may specifically function as follows: a receiving unit for receiving a sticker list loading instruction; the acquiring unit is used for acquiring a corresponding image to be processed according to the sticker list loading instruction; and the display unit is used for respectively loading a plurality of preset stickers to corresponding positions of the image to be processed, generating sticker images corresponding to the preset stickers one by one, and displaying the sticker images in a list form on a display interface.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A sticker display method, comprising:
receiving a loading instruction of a paster list;
acquiring a corresponding image to be processed according to the sticker list loading instruction;
loading a plurality of preset stickers to corresponding positions of the image to be processed respectively, generating sticker images corresponding to the preset stickers one by one, and displaying the sticker images in a list form on a display interface;
increase or reduce the display quantity of sticker image in sticker image display interface, include: triggering a paster image reduction instruction to reduce the display number of the paster images by receiving that a user clicks a paster image reduction control on a paster image display interface, or triggering a paster image increase instruction to increase the display number of the paster images by receiving that a user clicks a paster image increase control on a paster image display interface;
receiving a third selected instruction of any one sticker image;
acquiring the same type of preset stickers of the sticker image corresponding to the third selected instruction, and displaying a selection list of the same type of preset stickers;
receiving a fourth selection instruction of the user for the same type of preset stickers in the selection list, and replacing the preset stickers of the sticker images corresponding to the third selection instruction with the same type of preset stickers corresponding to the fourth selection instruction; the fourth selection instruction is a selection instruction triggered by clicking.
2. The method for displaying decals according to claim 1, wherein the loading of the plurality of pre-stickers to the corresponding positions of the image to be processed, respectively, to generate a sticker image in one-to-one correspondence with each pre-sticker, comprises:
performing image recognition on the image to be processed, and determining the loading position of each preset sticker on the image to be processed;
and loading the preset stickers to the image to be processed according to the loading positions to generate sticker images corresponding to the preset stickers one by one.
3. The sticker display method of claim 2, wherein the loading of the plurality of preset stickers to corresponding positions of the image to be processed, respectively, generates a sticker image in one-to-one correspondence with each preset sticker, further comprises:
loading the preset paster to a preset position of an image to be processed;
determining the final loading position of the preset paster on the image to be processed according to the sliding operation of the user on the preset paster;
and loading the preset paster to the final loading position to generate the paster image corresponding to the preset paster one by one.
4. The sticker display method of claim 1, after displaying the sticker image in a list on a display interface, comprising:
receiving a first selected instruction of any one of the sticker images;
displaying a paster image corresponding to the first selected instruction on the display interface; alternatively, the first and second electrodes may be,
receiving a second selected instruction of a plurality of the sticker images;
and synthesizing the paster image corresponding to the second selected instruction into a synthesized image, and displaying the synthesized image on the display interface.
5. The method for displaying a sticker of claim 4, wherein synthesizing the sticker image corresponding to the second selected instruction into a synthesized image comprises:
the preset paster contained in each paster image corresponding to the second selected instruction is used as a target preset paster;
and synthesizing the target preset paster into the image to be processed to generate the synthesized image.
6. The sticker display method of claim 5, wherein the synthesizing the target preset sticker into the image to be processed, and after generating the synthesized image, includes:
receiving an editing operation on a target preset sticker in the synthetic image, and editing the target preset sticker according to the editing operation;
receiving an editing operation on a target preset sticker in the composite image, and editing the target preset sticker according to the editing operation, wherein the editing operation comprises:
receiving sliding operation of a user on the target preset paster, and converting the loading position of the target preset paster to a loading position corresponding to the sliding operation; and/or the presence of a gas in the gas,
receiving stretching operation of a user on the target preset paster, and converting the shape and the size of the target preset paster into the shape and the size corresponding to the stretching operation; and/or the presence of a gas in the gas,
and receiving the character input operation of the user on the target preset paster, and performing text editing on the target preset paster.
7. A sticker display device, comprising:
a receiving unit for receiving a sticker list loading instruction;
the acquisition unit is used for acquiring a corresponding image to be processed according to the sticker list loading instruction;
the display unit is used for respectively loading a plurality of preset stickers to corresponding positions of the image to be processed, generating sticker images corresponding to the preset stickers one by one, and displaying the sticker images in a list form on a display interface;
the display quantity adjusting module of the sticker images is used for increasing or reducing the display quantity of the sticker images in the display interface of the sticker images, and comprises the following components: triggering a paster image reduction instruction to reduce the display number of the paster images by receiving that a user clicks a paster image reduction control on a paster image display interface, or triggering a paster image increase instruction to increase the display number of the paster images by receiving that a user clicks a paster image increase control on a paster image display interface;
the sticker replacing unit is used for receiving a third selected instruction of any one sticker image;
acquiring the same type of preset stickers of the sticker image corresponding to the third selected instruction, and displaying a selection list of the same type of preset stickers;
receiving a fourth selection instruction of the user for the same type of preset stickers in the selection list, and replacing the preset stickers of the sticker images corresponding to the third selection instruction with the same type of preset stickers corresponding to the fourth selection instruction; the fourth selection instruction is a selection instruction triggered by clicking.
8. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810869458.9A 2018-08-01 2018-08-01 Sticker display method, device, terminal and computer-readable storage medium Active CN108924440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810869458.9A CN108924440B (en) 2018-08-01 2018-08-01 Sticker display method, device, terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810869458.9A CN108924440B (en) 2018-08-01 2018-08-01 Sticker display method, device, terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108924440A CN108924440A (en) 2018-11-30
CN108924440B true CN108924440B (en) 2021-03-26

Family

ID=64394162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810869458.9A Active CN108924440B (en) 2018-08-01 2018-08-01 Sticker display method, device, terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108924440B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660855B (en) * 2018-12-19 2021-11-02 北京达佳互联信息技术有限公司 Sticker display method, device, terminal and storage medium
CN111783511A (en) * 2019-10-31 2020-10-16 北京沃东天骏信息技术有限公司 Beauty treatment method, device, terminal and storage medium
CN111093035B (en) * 2019-12-31 2022-12-27 维沃移动通信有限公司 Image processing method, electronic device, and storage medium
CN113784165B (en) * 2021-09-17 2023-05-05 北京快来文化传播集团有限公司 Short video filter superposition method, system, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357451A (en) * 2015-12-04 2016-02-24 Tcl集团股份有限公司 Image processing method and apparatus based on filter special efficacies
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137660A1 (en) * 2016-11-11 2018-05-17 Microsoft Technology Licensing, Llc Responsive customized digital stickers
CN107563353B (en) * 2017-09-26 2020-06-23 维沃移动通信有限公司 Image processing method and device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357451A (en) * 2015-12-04 2016-02-24 Tcl集团股份有限公司 Image processing method and apparatus based on filter special efficacies
CN105957123A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 Picture editing method, picture editing device and terminal equipment
CN108012091A (en) * 2017-11-29 2018-05-08 北京奇虎科技有限公司 Image processing method, device, equipment and its storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
利用美图秀秀怎样给人物化妆呢?;爱辉叶子9;《百度经验》;20171122;第1-3页 *

Also Published As

Publication number Publication date
CN108924440A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
US10885608B2 (en) Super-resolution with reference images
CN110766777B (en) Method and device for generating virtual image, electronic equipment and storage medium
CN108921806B (en) Image processing method, image processing device and terminal equipment
US9772771B2 (en) Image processing for introducing blurring effects to an image
US9251169B2 (en) Systems and methods for creating photo collages
EP2811731B1 (en) Electronic device for editing dual image and method thereof
CN108898082B (en) Picture processing method, picture processing device and terminal equipment
CN108961267B (en) Picture processing method, picture processing device and terminal equipment
CN110751218B (en) Image classification method, image classification device and terminal equipment
CN111223045B (en) Jigsaw method and device and terminal equipment
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN113079316B (en) Image processing method, image processing device and electronic equipment
CN107302666A (en) Photographic method, mobile terminal and computer-readable recording medium
US20190053607A1 (en) Electronic apparatus and method for providing makeup trial information thereof
CN111885298B (en) Image processing method and device
CN110677586B (en) Image display method, image display device and mobile terminal
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN113379768A (en) Image processing method, image processing device, storage medium and computer equipment
CN113592983A (en) Image processing method and device and computer readable storage medium
CN112419134A (en) Image processing method and device
CN110688035A (en) Photo album processing method, photo album processing device and mobile terminal
CN108566487B (en) Photo processing method and device and mobile terminal
CN112492206B (en) Image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant