CN112199534A - Sticker recommendation method and device, electronic equipment and storage medium - Google Patents

Sticker recommendation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112199534A
CN112199534A CN202011080468.8A CN202011080468A CN112199534A CN 112199534 A CN112199534 A CN 112199534A CN 202011080468 A CN202011080468 A CN 202011080468A CN 112199534 A CN112199534 A CN 112199534A
Authority
CN
China
Prior art keywords
sticker
target
target object
input
candidate
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.)
Pending
Application number
CN202011080468.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011080468.8A priority Critical patent/CN112199534A/en
Publication of CN112199534A publication Critical patent/CN112199534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5854Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using shape and object relationship
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a sticker recommendation method and device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: the method includes the steps of receiving a first input of a target object on a target image, responding to the first input, and displaying candidate stickers corresponding to the target object on an editing interface according to attribute information of the target object, so that the candidate stickers corresponding to the target object can be recommended to a user according to the target object selected by the user, the user does not need to manually screen the stickers, time for the user to select the stickers is saved, and picture editing efficiency is improved.

Description

Sticker recommendation method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a sticker recommendation method and device, electronic equipment and a storage medium.
Background
With the improvement of software and hardware technologies on electronic equipment, more and more people like to take pictures or record videos by using a camera shooting function on the electronic equipment, and then edit the taken pictures and videos, for example, a user selects a sticker of a heart instrument to be attached to a picture, so as to obtain a new picture with the sticker.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: the user needs to manually select the interested stickers from a large number of stickers, which causes the problems that the user is time-consuming in selecting the stickers and the picture editing efficiency is low.
Disclosure of Invention
The embodiment of the application aims to provide a sticker recommendation method and device, electronic equipment and a storage medium, and the problems that in the prior art, when a user selects a sticker, time is consumed and picture editing efficiency is low are solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a sticker recommendation method, where the method includes:
receiving a first input of a target object on a target image;
and responding to the first input, and displaying the candidate paster corresponding to the target object on an editing interface according to the attribute information of the target object.
In a second aspect, an embodiment of the present application provides a sticker recommendation device, including;
a first receiving module for receiving a first input to a target object on a target image;
and the first display module is used for responding to the first input and displaying the candidate paster corresponding to the target object on an editing interface according to the attribute information of the target object.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the first input of the target object on the target image is received, the candidate paster corresponding to the target object is displayed on the editing interface according to the attribute information of the target object in response to the first input, so that the candidate paster corresponding to the target object can be recommended to a user according to the target object selected by the user, the paster does not need to be screened manually by the user, the time for the user to select the paster is saved, and the picture editing efficiency is improved.
Drawings
FIG. 1 is a flow chart of the steps of a method for sticker recommendation provided in an embodiment of the present application;
FIG. 2 is a schematic view of an interface for sticker recommendation provided in an embodiment of the present application;
FIG. 3 is a flow chart of steps of another method for recommending decals provided by an embodiment of the present application;
FIG. 4 is a schematic view of an interface for another sticker recommendation provided in an embodiment of the present application;
FIG. 5 is a schematic view of an interface for another sticker recommendation provided in an embodiment of the present application;
FIG. 6 is a schematic view of an interface for another sticker recommendation provided in an embodiment of the present application;
fig. 7 is a schematic interface diagram for editing a picture according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an interface after copying a sticker provided by an embodiment of the present application;
FIG. 9 is a flowchart illustrating steps of another method for recommending decals provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of an interface for further sticker recommendation provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of an interface for further sticker recommendation provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of an interface for further sticker recommendation provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of an interface for further sticker recommendation provided by an embodiment of the present application;
FIG. 14 is a schematic diagram of a sticker recommendation device provided in an embodiment of the present application;
fig. 15 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application;
fig. 16 is a schematic hardware configuration diagram of another electronic device for implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The sticker recommendation method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for recommending stickers provided in an embodiment of the present application, where the method may include the following steps:
step 101, receiving a first input of a target object on a target image.
Referring to fig. 2, fig. 2 is a schematic view of an interface of sticker recommendation provided in an embodiment of the present application. The target image is, for example, a picture shown in fig. 2 displayed on an editing interface, a user can click "AI matte" on the editing interface, and the electronic device can automatically identify an object in the picture in response to the user clicking "AI matte", where the object is not limited to a portrait. The user may select an object that the user wishes to handle, for example, click on an object 201 (a dolomitic cloud) in the picture as shown in fig. 2, i.e., the target image is the picture as shown in fig. 2, and the first input may be an operation of the user clicking on the object 201 in the picture as shown in fig. 2.
And 102, responding to the first input, and displaying the candidate paster corresponding to the target object on the editing interface according to the attribute information of the target object.
The attribute information includes at least one of the type of the target object, the object contour of the target object, and the scene in which the target object is located. For example, if the attribute information is the type of the target object and the target object is the object 201 shown in fig. 2, a sticker of the same type as the object 201 may be displayed on the editing interface, and the sticker of the same type as the object 201 is a candidate sticker corresponding to the object 201, that is, the candidate sticker may be a cloud-type sticker.
If the attribute information is the object outline of the target object and the target object is the object 201 shown in fig. 2, a sticker having the same outline as the object 201 may be displayed on the editing interface, and the sticker having the same outline as the object 201 is a candidate sticker corresponding to the object 201, that is, the candidate sticker may be a sticker having the same outline as the cloud.
If the attribute information is the scene where the target object is located, and the target object is the object 201 shown in fig. 2, a sticker that is the same as the scene where the object 201 is located may be displayed on the editing interface, and the sticker that is the same as the scene where the object 201 is located is the candidate sticker corresponding to the object 201, that is, the candidate sticker may be a sticker that is the same as the scene where the cloud is located, and for example, stickers such as hawk, sun, bird, kite, dragon, etc. are candidate stickers.
If the attribute information includes the type of the target object, the object outline of the target object, and various information in the scene in which the target object is located, the candidate sticker may be displayed according to the various information included in the attribute information.
It should be noted that, as shown in fig. 2, each object on the identified target image may also be displayed in text on the editing interface, where an object 1 represents an object 201, an object 2 represents an object 202 (the object 202 is, for example, two clouds shown in fig. 2), and an object 3 represents an object 203 (the object 203 is, for example, the sun shown in fig. 2), and due to the area limitation of the interface area, the object 204 is not represented by an object 4 on the editing interface, and the object 204 is, for example, a background of a picture, such as a lawn.
According to the sticker recommendation method provided by the embodiment, the first input of the target object on the target image is received, the candidate sticker corresponding to the target object is displayed on the editing interface according to the attribute information of the target object in response to the first input, so that the candidate sticker corresponding to the target object can be recommended to the user according to the target object selected by the user, the user does not need to manually screen the sticker, the time for the user to select the sticker is saved, and the picture editing efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of another method for recommending stickers according to an embodiment of the present application, the method including the steps of:
step 301, receiving a first input to a target object on a target image.
Step 302, receiving a second input to a target grouping control in the grouping controls on the editing interface.
The grouping control comprises at least one of a first grouping control, a second grouping control and a third grouping control, the attribute information comprises at least one of information of a type of the target object, an object contour of the target object and a scene where the target object is located, the first grouping control corresponds to the type, the second grouping control corresponds to the object contour, and the third grouping control corresponds to the scene.
Referring to fig. 4, fig. 4 is a schematic view of another sticker recommendation interface provided in an embodiment of the present application. In conjunction with fig. 2 and 4, if the user clicks the first grouping control after clicking the object 201, that is, the first grouping control ("belonging" control) is the target grouping control, the second input may be an operation of clicking the first grouping control by the user.
And 303, responding to the first input and the second input, acquiring target attribute information corresponding to the target object according to the target grouping control, and displaying the candidate paster corresponding to the target attribute information of the target object in a preset area of the editing interface.
The electronic equipment can respond to the first input and the second input, acquire target attribute information corresponding to the target object according to the target grouping control, and display candidate stickers corresponding to the target attribute information of the target object in a preset area of the editing interface. As shown in fig. 4, in the case where the target grouping control is the first grouping control, the acquired target attribute information corresponding to the target object is the type information of the target object, and therefore, the sticker candidates 401, 402, 403, 404 corresponding to the type information of the target object (for example, the target object is the object 201) may be displayed in the preset area of the editing interface, and the sticker candidates 401, 402, 403, 404 may be clouds having different shapes.
If the first input is an operation of the user clicking a target object shown in fig. 2 (the target object is, for example, the object 2, that is, the object 2 is two clouds), and the second input is an operation of the user clicking a "same-contour" control shown in fig. 4, that is, the "same-contour" control is a target grouping control, the contours of the two clouds may be regarded as an overall contour, and the obtained target attribute information corresponding to the target object is contour information of the two clouds. As shown in fig. 5, fig. 5 is a schematic interface diagram of still another sticker recommendation provided in an embodiment of the present application, and candidate stickers corresponding to target attribute information of a target object are displayed in a preset area of an editing interface, where the candidate stickers include, for example, a candidate sticker 501, a candidate sticker 502, a candidate sticker 503, and a candidate sticker 504. Namely, under the condition that the target grouping control is the control with the same contour, the candidate stickers corresponding to the target object and the target grouping control are recommended to the user according to the overall contour of the target object.
If the first input is an operation of clicking a target object (for example, the target object is the object 1) shown in fig. 2 by the user, and the second input is an operation of clicking a "same scene" control shown in fig. 4 by the user, that is, the "same scene" control is a target grouping control, and the acquired target attribute information corresponding to the target object is the scene information where the object 1 is located, the candidate sticker corresponding to the target attribute information of the target object is displayed in a preset area of the editing interface. As shown in fig. 6, fig. 6 is a schematic interface diagram of still another sticker recommendation provided in an embodiment of the present application, and candidate stickers corresponding to target attribute information of a target object are displayed in a preset area of an editing interface, where the candidate stickers include, for example, a candidate sticker 601, a candidate sticker 602, a candidate sticker 603, and a candidate sticker 604. Namely, under the condition that the target grouping control is the 'same scene' control, the candidate stickers corresponding to the target object and the target grouping control are recommended to the user according to the scene where the target object is located.
It should be noted that, when the second input is that the user clicks the "same scene" control, a preset number of stickers may be sequentially selected for recommendation, starting from the sticker with the maximum degree of fitting with the scene in the stickers, according to the scene where the target object is located. For example, if the target object is a cloud (e.g., object 201) on the sky, stickers such as "dragon", "bird", "rabbit", "kite", etc. are preferably recommended. If the target object is an object 204 as shown in fig. 2 (the object 204 is a lawn, for example), stickers such as "tree", "tent", etc. are preferentially recommended, and the stickers have a scene with a high degree of fitting with the scene where the target object is located.
Step 304, a third input is received for a first target one of the candidate stickers.
If the first input is an operation of clicking the object 201 by the user, the second input is an operation of clicking the "same thing" control by the user, and the third input is an operation of clicking the candidate sticker 403 shown in fig. 4 by the user, the first target sticker is the candidate sticker 403.
Step 305, in response to a third input, replacing the target object in the target image with the first target sticker.
The electronic device replaces the object 1 with the first target sticker replacement (candidate sticker 403) in response to the third input. Fig. 7 shows an interface diagram after replacing the object 1, and fig. 7 is a schematic interface diagram for picture editing according to an embodiment of the present application. After the candidate sticker 403 is used to replace the object 1, as shown in fig. 7, "copy", "rotate", "mirror image", and "delete" operations may be performed, as shown in fig. 8, fig. 8 is a schematic diagram of an interface after copying a sticker according to an embodiment of the present application.
It should be noted that, the present embodiment also provides a function for the user to select the sticker by user definition. As shown in fig. 4, the "+" control, after the user clicks on the control, the user can select the picture in the gallery as the first sticker to replace the selected target object.
The sticker recommendation method provided by this embodiment may not only replace the target object in the picture with the static sticker, but also replace the target object in the video picture with the static sticker, that is, replace the target object in the video picture with the static sticker when the target image is the video picture. An example of replacing a target object in a picture with a still sticker has been described in the above-described embodiment, and a case of replacing a target object in a video screen with a still sticker is described below.
Referring to fig. 9, fig. 9 is a flowchart illustrating steps of another method for recommending stickers according to an embodiment of the present application, where the method includes the following steps:
step 901, receiving a first input of a target object on a target image.
Referring to fig. 10, fig. 10 is a schematic view of an interface of still another sticker recommendation provided in an embodiment of the present application. Displayed on the editing interface is, for example, a video screen shown in fig. 10.
And 902, responding to the first input, and displaying candidate stickers corresponding to the target object on an editing interface according to the attribute information of the target object.
If the first input is an operation of clicking the person 1001 in the video screen as shown in fig. 10 by the user, the electronic device displays a candidate sticker corresponding to the person 1001 in a preset area of the editing interface according to the attribute information of the person 1001 in response to the first input.
In the case where the target image is a video screen, the attribute information includes a posture of the target object, and the candidate sticker includes at least one of a static sticker and a dynamic sticker.
In the case that the target image is a video image, the method for recommending the candidate sticker is basically the same as that in the case that the target image is a picture, but different from the above-described case that the target image is a video image, the attribute information further includes the posture of the target object, that is, the candidate sticker may be displayed according to the type of the target object, the object outline of the target object, the scene where the target object is located, and the posture of the target object.
And 903, under the condition that a fourth input for a second target paster in the static pasters is received, responding to the fourth input, replacing the target object with the second target paster, and identifying the motion trail of the target object in the video picture.
For example, referring to fig. 11, fig. 11 is a schematic view of an interface of still another sticker recommendation provided in an embodiment of the present application. After the user clicks and selects the girl sticker in fig. 11, the character 1001 in fig. 10 is replaced with the girl sticker, and the replaced interface is schematically shown in fig. 11. And identifying the motion track of the target object in the video picture, namely under the condition that the target image is the video picture, replacing the target object in the video picture by using the static sticker and identifying the motion track of the target object in the video picture.
And 904, controlling the second target sticker to move in the video picture according to the motion track.
For example, as shown in fig. 12, fig. 12 is a schematic view of an interface of still another sticker recommendation provided by an embodiment of the present application. When the character 1001 in the video screen moves from the right side as shown in fig. 10 to the left side as shown in fig. 12, as shown in fig. 13, fig. 13 is a schematic view of an interface recommended by another sticker provided in the embodiment of the present application, and the second target sticker also moves to the left side and covers the character 1001.
In the sticker recommendation method provided by this embodiment, when a fourth input to a second target sticker in a static sticker is received, in response to the fourth input, the second target sticker is used to replace a target object, a motion trajectory of the target object in a video picture is identified, and the second target sticker is controlled to move in the video picture according to the motion trajectory, so that a sticker suitable for editing the video picture is recommended for a user, and the video picture is edited, thereby saving time for the user to find the sticker required for editing the video picture, saving time required for editing the video picture, and improving video picture editing efficiency.
The sticker recommendation method provided by this embodiment may replace the target object in the picture with the static sticker, replace the target object in the video picture with the dynamic sticker, and describe a case where the target object in the video picture is replaced with the dynamic sticker.
Optionally, the candidate stickers include dynamic stickers, and after the candidate sticker corresponding to the target object is displayed on the editing interface, the method further includes:
in a case where a fifth input to a target one of the dynamic stickers is received, in response to the fifth input, controlling a size of a frame video sticker in the target dynamic sticker to coincide with a size of a target object in a frame picture corresponding to the frame video sticker, and controlling a position of the frame video sticker to coincide with a position of the target object in the frame picture corresponding to the frame video sticker.
Optionally, after the candidate sticker corresponding to the target object is displayed on the editing interface, the method further includes:
displaying candidate information matched with the scene according to the scene where the target object is located, wherein the candidate information comprises at least one of text and audio;
in a case where a sixth input of the target information among the candidate information is received, the target information is embedded in the target image.
In this embodiment, the content of the picture scene may be identified based on the picture and the video picture scene, and then at least one of the current mainstream text and audio may be recommended based on a crawler and an algorithm. For example, in the case where the target image is a picture, text may be selected to be embedded on the picture. If the picture is a scene related to the student, poetry and American English sentences can be recommended. If the picture is based on the landscape type, the network romantic words and sentences can be recommended. Different types of mainstream texts can be recommended according to different scenes where the target object is located. For example: identified as a country landscape, text may be recommended: the smoke and fire gas in the four houses, the four houses and the four villages can be removed from the house, and the heart of people can be stroked. Identifying as sunrise sunset, recommendable: the person is awakened when the person comes out of the east, and the person is not in mind when the person knows the sunset, and the person finally becomes spring and autumn. Identifying as an unwell street view of the impairment, it may be recommended: south of the city is no longer south, north of the city is no longer America, and the like.
Aiming at the condition that the target image is a video picture, at least one of audio and text can be recommended, a user can select at least one of the audio and the text and use the selected at least one of the audio and the text as target information, so that the target information can be embedded into the video picture, and an edited video picture meeting the requirements of the user can be obtained.
It should be noted that, in the sticker recommendation method provided in the embodiment of the application, the execution subject may be a sticker recommendation device, or a control module in the sticker recommendation device for executing the sticker recommendation method. The method for executing sticker recommendation by using the sticker recommendation device in the embodiment of the application is taken as an example to explain the device for recommending stickers in the embodiment of the application.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a sticker recommendation device provided in an embodiment of the present application, where the sticker recommendation device 1400 includes:
a first receiving module 1410, configured to receive a first input of a target object on a target image;
and a first display module 1420, configured to display, in response to the first input, a candidate sticker corresponding to the target object on an editing interface according to the attribute information of the target object.
The sticker recommendation device provided by the embodiment receives the first input of the target object on the target image, responds to the first input, and displays the candidate sticker corresponding to the target object on the editing interface according to the attribute information of the target object, so that the candidate sticker corresponding to the target object can be recommended to the user according to the target object selected by the user, the user does not need to manually screen the sticker, the time for the user to select the sticker is saved, and the picture editing efficiency is improved.
Optionally, the first receiving module 1410 is further configured to receive a second input to a target grouping control in the grouping controls on the editing interface;
the first display module 1420 is specifically configured to, in response to the first input and the second input, obtain target attribute information corresponding to the target object according to the target grouping control, and display a candidate sticker corresponding to the target attribute information of the target object in a preset area of the editing interface.
Optionally, the grouping control includes at least one of a first grouping control, a second grouping control and a third grouping control, the attribute information includes at least one of information of a category of the target object, an object contour of the target object and a scene in which the target object is located, the first grouping control corresponds to the category, the second grouping control corresponds to the object contour, and the third grouping control corresponds to the scene.
Optionally, the method further includes:
a second receiving module for receiving a third input for a first target sticker of the candidate stickers;
a replacement module to replace a target object in the picture with the first target sticker in response to the third input.
Optionally, in a case that the target image is a video image, the attribute information further includes a posture of the target object, and the candidate sticker includes a static sticker and/or a dynamic sticker.
Optionally, the method further includes:
the identification module is used for responding to a fourth input when the fourth input of a second target paster in the static pasters is received, replacing the target object with the second target paster and identifying the motion trail of the target object in the video picture;
and the first control module is used for controlling the second target sticker to move in the video picture according to the motion track.
Optionally, the method further includes:
and the second control module is used for responding to the fifth input under the condition of receiving the fifth input of the target dynamic paster in the dynamic paster, controlling the size of the frame video picture paster in the target dynamic paster to be consistent with the size of the target object in the frame picture corresponding to the frame video picture paster and controlling the position of the frame video picture paster to be consistent with the position of the target object in the frame picture corresponding to the frame video picture paster.
The frame image corresponding to the frame video image paster is one frame image corresponding to the frame video image paster in the video image, and one frame image in the video image corresponds to one frame video image paster in the target dynamic paster.
Optionally, the method further includes:
the second display module is also used for displaying texts and/or audios matched with the scene according to the scene where the target object is located;
an embedding module, configured to embed the target text into the target image if a sixth input to target information in the candidate information is received, and/or embed the target audio into the target image if a seventh input to a target audio in the audio is received.
The sticker recommendation device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The sticker recommendation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The sticker recommendation device provided in the embodiment of the application can implement each process implemented by the sticker recommendation device in the method embodiments of fig. 1, fig. 3, and fig. 9, and is not repeated here to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 15, fig. 15 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application. The electronic device 1500 includes a processor 1501, a memory 1502, and a program or an instruction stored in the memory 1502 and executable on the processor 1501, where the program or the instruction is executed by the processor 1501 to implement each process of the embodiment of the sticker recommendation method, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 16 is a schematic hardware configuration diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 1600 includes, but is not limited to: radio frequency unit 1601, network module 1602, audio output unit 1603, input unit 1604, sensor 1605, display unit 1606, user input unit 1607, interface unit 1608, memory 1609, and processor 1610.
Those skilled in the art will appreciate that the electronic device 1600 may further include a power supply (e.g., a battery) for supplying power to various components, which may be logically coupled to the processor 1610 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 16 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The user input unit 1607 is configured to receive a first input for a target object on a target image.
A processor 1610, configured to, in response to the first input, display, on an editing interface through a display unit 1606, a sticker candidate corresponding to the target object according to the attribute information of the target object.
The processor 1610 is further configured to control the user input unit 1607 to receive a second input to a target grouping control in the grouping controls on the editing interface;
and responding to the first input and the second input, acquiring target attribute information corresponding to the target object according to the target grouping control, and displaying candidate stickers corresponding to the target attribute information of the target object in a preset area of the editing interface through a display unit 1606.
The grouping control comprises at least one of a first grouping control, a second grouping control and a third grouping control, the attribute information comprises at least one of category information of the target object, object contour information of the target object and scene information where the target object is located, the first grouping control corresponds to the category information, the second grouping control corresponds to the object contour information, and the third grouping control corresponds to the scene information.
A processor 1610, further configured to control the user input unit 1607 to receive a third input for a first target one of the candidate stickers;
in response to the third input, replacing a target object in the target image with the first target sticker.
In a case where the target image is a video picture, the attribute information includes a pose of the target object, and the candidate sticker includes at least one of a static sticker and a dynamic sticker.
The candidate stickers include a static sticker, and processor 1610 is further configured to, in a case where control user input unit 1607 receives a fourth input to a second target sticker of the static stickers, replace the target object with the second target sticker and identify a motion trajectory of the target object in the video screen in response to the fourth input;
and controlling the second target paster to move in the video picture according to the motion track.
Candidate sticker includes dynamic sticker, and processor 1610 is still used for receiving right in control user input unit 1607 under the condition of the fifth input of target dynamic sticker in the dynamic sticker, respond to the fifth input, adopt the replacement of target dynamic sticker target object, and control the size of the frame video sticker in the target dynamic sticker with the size of the target object in the frame picture that the frame video sticker corresponds is unanimous and control the position of the frame video sticker with the position of the target object in the frame picture that the frame video sticker corresponds is unanimous.
A processor 1610, further configured to display candidate information matching with a scene in which the target object is located through a display unit 1606, where the candidate information includes at least one of text and audio;
the processor 1610 is further configured to embed the target information in the target image if the user input unit 1607 receives a sixth input of the target information in the candidate information.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above noise reduction function control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
It should be understood that in the embodiment of the present application, the input Unit 1604 may include a Graphics Processing Unit (GPU) 16041 and a microphone 16042, and the Graphics processor 16041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1607 includes a touch panel 16071 and other input devices 16072. Touch panel 16071, also referred to as a touch screen. The touch panel 16071 may include two parts of a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 1610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1610.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing sticker recommendation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A sticker recommendation method, the method comprising:
receiving a first input of a target object on a target image;
and responding to the first input, and displaying the candidate paster corresponding to the target object on an editing interface according to the attribute information of the target object.
2. The method of claim 1, further comprising, after said receiving a first input for a target object on a target image:
receiving a second input to a target grouping control in the grouping controls on the editing interface;
the displaying the candidate sticker corresponding to the target object in a preset area of an editing interface according to the attribute information of the target object in response to the first input comprises:
and responding to the first input and the second input, acquiring target attribute information corresponding to the target object according to the target grouping control, and displaying candidate stickers corresponding to the target attribute information of the target object in a preset area of the editing interface.
3. The method of claim 2, wherein the grouped controls comprise at least one of a first grouped control, a second grouped control and a third grouped control, wherein the attribute information comprises at least one of category information of the target object, object contour information of the target object and scene information where the target object is located, wherein the first grouped control corresponds to the category information, wherein the second grouped control corresponds to the object contour information, and wherein the third grouped control corresponds to the scene information.
4. The method of claim 1, wherein after the editing interface displays the candidate sticker corresponding to the target object, further comprising:
receiving a third input for a first target one of the candidate stickers;
in response to the third input, replacing a target object in the target image with the first target sticker.
5. The method according to claim 1, wherein the attribute information includes a pose of the target object and the candidate sticker includes at least one of a static sticker and a dynamic sticker in a case where the target image is a video picture.
6. The method of claim 5, wherein the candidate sticker comprises a static sticker, and after displaying the candidate sticker corresponding to the target object on the editing interface, further comprising:
in the event that a fourth input to a second target sticker of the static stickers is received, replacing the target object with the second target sticker and identifying a motion trail of the target object in the video picture in response to the fourth input;
and controlling the second target paster to move in the video picture according to the motion track.
7. The method of claim 5, wherein the candidate sticker comprises a dynamic sticker, and after displaying the candidate sticker corresponding to the target object on the editing interface, further comprising:
in response to a fifth input received on a condition that a fifth input is to a target dynamic sticker of the dynamic stickers, controlling a size of a frame video sticker of the target dynamic sticker to be consistent with a size of a target object in a frame picture corresponding to the frame video sticker and controlling a position of the frame video sticker to be consistent with a position of the target object in the frame picture corresponding to the frame video sticker.
8. The method of claim 1, after displaying the candidate sticker corresponding to the target object on an editing interface, further comprising:
displaying candidate information matched with the scene according to the scene where the target object is located, wherein the candidate information comprises at least one of text and audio;
in a case where a sixth input of target information among the candidate information is received, the target information is embedded into the target image.
9. A sticker recommendation device, the device comprising:
a first receiving module for receiving a first input to a target object on a target image;
and the first display module is used for responding to the first input and displaying the candidate paster corresponding to the target object on an editing interface according to the attribute information of the target object.
10. The apparatus of claim 9,
the first receiving module is further configured to receive a second input to a target grouping control in the grouping controls on the editing interface;
the first display module is specifically configured to, in response to the first input and the second input, obtain target attribute information corresponding to the target object according to the target grouping control, and display candidate stickers corresponding to the target attribute information of the target object in a preset area of the editing interface.
11. The apparatus of claim 10, wherein the grouping control comprises at least one of a first grouping control, a second grouping control and a third grouping control, wherein the attribute information comprises at least one of category information of the target object, object contour information of the target object and scene information where the target object is located, wherein the first grouping control corresponds to the category information, wherein the second grouping control corresponds to the object contour information, and wherein the third grouping control corresponds to the scene information.
12. The apparatus of claim 9, further comprising:
a second receiving module for receiving a third input for a first target sticker of the candidate stickers;
a replacement module to replace a target object in the target image with the first target sticker in response to the third input.
13. The apparatus according to claim 9, wherein the attribute information includes a pose of the target object and the candidate sticker includes at least one of a static sticker and a dynamic sticker in a case where the target image is a video picture.
14. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the sticker recommendation method of any one of claims 1-8.
15. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the sticker recommendation method according to any one of claims 1-8.
CN202011080468.8A 2020-10-10 2020-10-10 Sticker recommendation method and device, electronic equipment and storage medium Pending CN112199534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011080468.8A CN112199534A (en) 2020-10-10 2020-10-10 Sticker recommendation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011080468.8A CN112199534A (en) 2020-10-10 2020-10-10 Sticker recommendation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112199534A true CN112199534A (en) 2021-01-08

Family

ID=74014276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011080468.8A Pending CN112199534A (en) 2020-10-10 2020-10-10 Sticker recommendation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112199534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613067A (en) * 2021-08-03 2021-11-05 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN114222191A (en) * 2021-11-24 2022-03-22 星际互娱(北京)科技股份有限公司 System for chat reloading video playing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106777329A (en) * 2017-01-11 2017-05-31 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image information
CN106803057A (en) * 2015-11-25 2017-06-06 腾讯科技(深圳)有限公司 Image information processing method and device
CN108230283A (en) * 2018-01-19 2018-06-29 维沃移动通信有限公司 A kind of textures material recommends method and electronic equipment
CN108521578A (en) * 2018-05-15 2018-09-11 北京奇虎科技有限公司 It can textures region, the method for realizing textures in video in a kind of detection video
CN109977868A (en) * 2019-03-26 2019-07-05 深圳市商汤科技有限公司 Image rendering method and device, electronic equipment and storage medium
CN110675310A (en) * 2019-07-02 2020-01-10 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803057A (en) * 2015-11-25 2017-06-06 腾讯科技(深圳)有限公司 Image information processing method and device
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106777329A (en) * 2017-01-11 2017-05-31 维沃移动通信有限公司 The processing method and mobile terminal of a kind of image information
CN108230283A (en) * 2018-01-19 2018-06-29 维沃移动通信有限公司 A kind of textures material recommends method and electronic equipment
CN108521578A (en) * 2018-05-15 2018-09-11 北京奇虎科技有限公司 It can textures region, the method for realizing textures in video in a kind of detection video
CN109977868A (en) * 2019-03-26 2019-07-05 深圳市商汤科技有限公司 Image rendering method and device, electronic equipment and storage medium
CN110675310A (en) * 2019-07-02 2020-01-10 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613067A (en) * 2021-08-03 2021-11-05 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN113613067B (en) * 2021-08-03 2023-08-22 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN114222191A (en) * 2021-11-24 2022-03-22 星际互娱(北京)科技股份有限公司 System for chat reloading video playing
CN114222191B (en) * 2021-11-24 2023-09-08 星际数科科技股份有限公司 Chat reloading video playing system

Similar Documents

Publication Publication Date Title
US10909425B1 (en) Systems and methods for mobile image search
CN106250421A (en) A kind of method shooting process and terminal
CN112752121B (en) Video cover generation method and device
WO2021031733A1 (en) Method for generating video special effect, and terminal
US11680814B2 (en) Augmented reality-based translations associated with travel
CN112199534A (en) Sticker recommendation method and device, electronic equipment and storage medium
US20200327733A1 (en) Augmented reality image retrieval systems and methods
CN111770375A (en) Video processing method and device, electronic equipment and storage medium
US20150177960A1 (en) Digital art systems and methods
CN111158924A (en) Content sharing method and device, electronic equipment and readable storage medium
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN116017043A (en) Video generation method, device, electronic equipment and storage medium
CN113079273A (en) Watermark processing method, device, electronic equipment and medium
CN114666637A (en) Video editing method, audio editing method and electronic equipment
CN113596574A (en) Video processing method, video processing apparatus, electronic device, and readable storage medium
CN114758054A (en) Light spot adding method, device, equipment and storage medium
CN111831186B (en) Information processing method and device and electronic equipment
CN112287141A (en) Photo album processing method and device, electronic equipment and storage medium
KR20170098113A (en) Method for creating image group of electronic device and electronic device thereof
CN113132780A (en) Video synthesis method and device, electronic equipment and readable storage medium
US20220222432A1 (en) Recommending theme patterns of a document
CN113362426B (en) Image editing method and image editing device
CN110415019A (en) The advertisement recommended method and Related product of display screen
CN115767141A (en) Video playing method and device and electronic equipment
CN111796733B (en) Image display method, image display 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