CN108628976A - A kind of material methods of exhibiting, terminal and computer storage media - Google Patents
A kind of material methods of exhibiting, terminal and computer storage media Download PDFInfo
- Publication number
- CN108628976A CN108628976A CN201810381655.6A CN201810381655A CN108628976A CN 108628976 A CN108628976 A CN 108628976A CN 201810381655 A CN201810381655 A CN 201810381655A CN 108628976 A CN108628976 A CN 108628976A
- Authority
- CN
- China
- Prior art keywords
- image data
- instruction
- material object
- data
- output
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
Abstract
The embodiment of the invention discloses a kind of material methods of exhibiting, terminal and computer storage medias.The method includes:The first image data is obtained, described first image data are exported in output display interface;The operating area for being deployed in the output display interface includes multiple material objects;Detect the first instruction, the at least partly material object in the multiple material object is determined based on first instruction, and the corresponding material data of at least partly material object is added to according to preset rules in described first image data successively and generates the second image data, it is sequentially output the second image data including material data in the output display interface.
Description
Technical field
The present invention relates to the information processing technologies, and in particular to a kind of material methods of exhibiting, terminal and computer storage media.
Background technology
Existing short-sighted frequency or U.S. figure tool are static display for the exhibition scheme of material, i.e. material passes through list
Form shows that user wants to experience which material can only be shown by selecting material manually.If there is such a material
The carousel of material can be presented in exhibition scheme, selected convenient for user, can also promote user experience, reduce interaction cost.
Invention content
To solve existing technical problem, a kind of material methods of exhibiting of offer of the embodiment of the present invention, terminal and calculating
Machine storage medium.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is realized in:
An embodiment of the present invention provides a kind of material methods of exhibiting, the method includes:
The first image data is obtained, described first image data are exported in output display interface;It is aobvious to be deployed in the output
Show that the operating area at interface includes multiple material objects;
It detects the first instruction, at least partly material pair in the multiple material object is determined based on first instruction
As, and the corresponding material data of at least partly material object is added to described first image successively according to preset rules
The second image data is generated in data, and the second image data including material data is sequentially output in the output display interface.
It is described to detect the first instruction in said program, it is determined in the multiple material object based on first instruction
At least partly material object, including:
When detecting the first operation for the first specific function button, the first instruction is confirmly detected, based on described the
One instruction determines the multiple material object;Alternatively,
When detecting certain gestures operation, the first instruction is confirmly detected, it is the multiple based on the first instruction determination
Material object;Alternatively,
When detecting the second operation for the tag identifier belonging to the multiple material object, the first finger is confirmly detected
It enables, the multiple material object is determined based on first instruction;Alternatively,
When detecting the third operation for the first material object in the multiple material object, first is confirmly detected
Instruction;Wherein, the first material object is any material object in the multiple material object;Based on first instruction
Other material objects for determining the first material object and sorting after the first material object;Alternatively,
It is detected respectively for the 4th operation of the second material object in the multiple material object and third material pair
When the 5th operation of elephant, the first instruction is confirmly detected;Wherein, the second material object and third material object difference
For any two material objects in the multiple material object;The second material object and institute are determined based on first instruction
State the material object between third material object;Alternatively,
It detects the first instruction, the choosing of each material object in the multiple material object is activated based on first instruction
Positioning;The 6th operation for receiving the selected position for the portion material object in the multiple material object, based on described the
Six operations determine the portion material object in the multiple material object.
In said program, during being sequentially output the second image data including material data, the method further includes:
It detects the second instruction, suspends or terminate the second picture number that output includes material data according to second instruction
According to;
Wherein, described to detect the second instruction, including:
When detecting the 7th operation for the second specific function button, the second instruction is confirmly detected;Alternatively,
When detecting the operation of the second certain gestures, the second instruction is confirmly detected;Alternatively,
When detecting the 8th operation for the tag identifier belonging to the multiple material object, the second finger is confirmly detected
It enables.
In said program, it is described according to it is described second instruction pause output include material data the second image data after,
The method further includes:
It detects that third instructs, the second image data for restoring that output includes material data is instructed according to the third;Or
Person,
Determine the 4th material object;4th material object material pair corresponding with the second image data of pause output
As identical or different;
Detect that third instructs, it includes described to restore output since the 4th material object according to third instruction
Second image data of the corresponding material data of the 4th material object.
In said program, during being sequentially output the second image data including material data, the method further includes:
It detects the 4th instruction, confirmly detects the material data in the second image data exported when the 4th instruction
Corresponding material object;
The material object is added in first set based on the 4th instruction;
Wherein, described to detect that the 4th instructs, including:
When detecting the 9th operation for third specific function button, the 4th instruction is confirmly detected;Alternatively,
It is active in image collection assembly and described first image data is continued by described image acquisition component
When acquisition, identify in second image data whether include specific identifier;The specific identifier includes at least one of:It is special
Earnest body, specific hand, particular emotion;
When it includes specific identifier to identify second image data, the 4th instruction is confirmly detected.
In said program, the method further includes:The corresponding material number of material object for including to the first set
It is shown according to being compared;Wherein, comparing display mode includes:
Display includes the second image data of material data successively;Alternatively,
Display includes the second figure of material data respectively at least two sub-interfaces that the output display interface divides
As data.
In said program, when image collection assembly is active, described first image data pass through described image
Acquisition component persistently obtains, during being sequentially output the second image data including material data, the method includes:
Identify whether the target object in second image data meets preset condition;
When identifying that the target object in second image data is unsatisfactory for preset condition, pause output includes material
Second image data of data;
Wherein, whether the target object in identification second image data meets preset condition, including:
Identify in second image data whether include target object;It is not wrapped when identifying in second image data
When including target object, determine that the target object in second image data is unsatisfactory for preset condition;Alternatively,
Identify whether the display parameters of the target object in second image data reach predetermined threshold value;When identifying
When stating the display parameters of the target object in the second image data and being not up to predetermined threshold value, determine in second image data
Target object is unsatisfactory for preset condition.
In said program, the method further includes:When identifying that it is pre- that target object in second image data meets
If when condition, restoring the second image data that output includes material data.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal includes:Image acquisition unit, display unit and processing
Unit;Wherein,
Described image acquiring unit, for obtaining the first image data;
The display unit, the described first image for being obtained in output display interface output described image acquiring unit
Data;The operating area for being deployed in the output display interface includes multiple material objects;
The processing unit determines the multiple material object for detecting the first instruction based on first instruction
In at least partly material object, and will described at least partly the corresponding material data of material object according to preset rules successively
It is added in described first image data and generates the second image data;By the display unit the output display interface according to
Secondary output includes the second image data of material data.
The embodiment of the present invention additionally provides a kind of computer storage media, is stored thereon with computer instruction, the instruction quilt
The step of material methods of exhibiting described in the embodiment of the present invention is realized when processor executes.
The embodiment of the present invention additionally provides a kind of terminal, including memory, processor and storage are on a memory and can be
The computer program run on processor, the processor realize material displaying described in the embodiment of the present invention when executing described program
The step of method.
Material methods of exhibiting, terminal and computer storage media provided in an embodiment of the present invention, the method includes:It obtains
First image data exports described first image data in output display interface;It is deployed in the operation of the output display interface
Region includes multiple material objects;It detects the first instruction, is determined in the multiple material object based on first instruction
At least partly material object, and the corresponding material data of at least partly material object is added successively according to preset rules
To the second image data is generated in described first image data, it is sequentially output including material data in the output display interface
Second image data.Using the technical solution of the embodiment of the present invention, the carousel of material is realized, especially exists with user and interacts
Picture material carousel, solve user once interaction be only capable of experience one material data caused by user experience it is bad, behaviour
Make cumbersome problem, greatly improve the operating experience of user, reduces the interaction cost of user.
Description of the drawings
Fig. 1 is the flow diagram of the material methods of exhibiting of the embodiment of the present invention one;
Fig. 2 a to Fig. 2 f are respectively the application scenarios schematic diagram of the material methods of exhibiting of the embodiment of the present invention;
Fig. 3 is the first application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;
Fig. 4 is second of application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;
Fig. 5 is the third application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;
Fig. 6 is a kind of composed structure schematic diagram of the terminal of the embodiment of the present invention;
Fig. 7 is another composed structure schematic diagram of the terminal of the embodiment of the present invention;
Fig. 8 is the hardware composed structure schematic diagram of the terminal of the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Embodiment one
An embodiment of the present invention provides a kind of material methods of exhibiting.Fig. 1 is the material methods of exhibiting of the embodiment of the present invention
Flow diagram;As shown in Figure 1, the method includes:
Step 101:The first image data is obtained, described first image data are exported in output display interface;It is deployed in institute
The operating area for stating output display interface includes multiple material objects.
Step 102:It detects the first instruction, at least portion in the multiple material object is determined based on first instruction
Point material object, and the corresponding material data of at least partly material object is added to according to preset rules successively described
The second image data is generated in first image data, and the second figure including material data is sequentially output in the output display interface
As data.
The material methods of exhibiting of the embodiment of the present invention is applied in terminal, and terminal can be mobile phone, computer, number
Broadcast terminal, information transceiving equipment, game console, tablet device, personal digital assistant etc..There is application program in terminal
(such as third party application) after application program activation, can export picture number by the output display interface of the application program
According to;The output display interface of the application program has toolbar, activates the toolbar can be in the operating area of output display interface
Show that multiple material objects, material object can generate new image data by operating to be combined with described image data.
Wherein, material object is the material mark shown in operating area, and there are one materials for each material object correspondence
Data.When any material object of user's operation, which is added in image data and is generated
New image data.
Fig. 2 a to Fig. 2 f are respectively the application scenarios schematic diagram of the material methods of exhibiting of the embodiment of the present invention;Such as Fig. 2 a to figure
Shown in 2f, the application schematic diagram for the material object that respectively different application programs provides;As can be seen that material object can be
The corresponding material mark of any material data in image data can be added;Wherein, material data can increase image
The data of display content in data, for example, cartoon style the corresponding material data of photo frame etc.;On the other hand, material data
It can also be the data for changing the display parameters in image data, such as change the style of image data, such as by coloured image
Be converted to black white image etc..
In the embodiment of the present invention, the first image data can be the image data stored in terminal;Can also be terminal with
The image data that network equipment interaction obtains, such as network album;It can also be that terminal activation image collection assembly (such as images
Head), the image data obtained in real time by image collection assembly.Wherein, image data can be picture, dynamic picture, also may be used
To be video etc..
In the embodiment of the present invention, at least partly material object in multiple material objects can be triggered in several ways successively
Display.
It is described to detect the first instruction as the first embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:When detecting the first operation for the first specific function button, inspection is determined
The first instruction is measured, the multiple material object is determined based on first instruction.
Specifically, being deployed with the first specific function button in exporting display interface, the first specific function button can
To be virtual key;Alternatively, have the first specific function button in terminal disposition, the first specific function button can be physics by
Key.When then detecting the first operation for the first specific function button, the first instruction is confirmly detected, it is true according to the first instruction
Fixed the multiple material object, and execute by the corresponding material data of the multiple material object according to preset rules according to
Secondary be added in described first image data generates the second image data, is sequentially output including material in the output display interface
Second image data of data.
It is described to detect the first instruction as second of embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:When detecting certain gestures operation, the first instruction is confirmly detected, is based on
First instruction determines the multiple material object.
Specifically, terminal has touch control detection component, gesture operation can detect by touch control detection component;Wherein, should
Gesture operation can be the gesture operation being in contact with the detection faces of touch control detection component, can also be and touch control detection component
Detection faces have the hanging gesture operation of certain distance.In practical application, terminal can be pre-configured with to match with the first instruction
Certain gestures when detecting the certain gestures, confirmly detect the first instruction, and the multiple material pair is determined according to the first instruction
As, and execute and the corresponding material data of the multiple material object is added to described first according to preset rules successively
The second image data is generated in image data, and the second picture number including material data is sequentially output in the output display interface
According to.
It is described to detect the first instruction as the third embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:Detect for the tag identifier belonging to the multiple material object
When two operations, the first instruction is confirmly detected, the multiple material object is determined based on first instruction.
Specifically, present embodiment is suitable for belonging to the field that same kind of material object is provided with corresponding tag identifier
Scape;For example, multiple material objects being bonded on hair can be correspondingly arranged as hair decorations class, multiple materials with picture frame feature
Object can be correspondingly arranged as picture frame class etc..In practical application, multiple materials pair are disposed in the operating area of output display interface
As when, corresponding with the multiple material objects tag identifier of deployment can be corresponded to;The operation of different tag identifiers is directed to by user,
It can switch to the display for belonging to multiple material objects under the tag identifier.Based on this, detecting for tag identifier
When the second operation, the first instruction is confirmly detected, the multiple elements for belonging to the tag identifier are determined based on first instruction
Material object, and execute the corresponding material data of the multiple material object is added to according to preset rules successively it is described
The second image data is generated in first image data, and the second figure including material data is sequentially output in the output display interface
As data.
In above-mentioned three kinds of embodiments, the multiple material objects determined can be all materials shown in operating area
Object;In another embodiment, if material object is by implementing step increment method, it can be understood as, it belongs to of a sort
The quantity of material object is more, can not show all material objects in operating area completely, then needs to operate by " page turning "
Or the material object for showing " next screen " is operated by " drop-down ", in this case, the multiple material objects determined can be with
It is all objects shown in current operating region, can also be to belong to of a sort all material objects.
It is described to detect the first instruction as the 4th kind of embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:It detects for the first material object in the multiple material object
When third operates, the first instruction is confirmly detected;Wherein, the first material object is any in the multiple material object
Material object;Determine the first material object and sequence after the first material object based on first instruction
Other material objects.
It is described to detect the first instruction as the 5th kind of embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:It is detected respectively for the second material pair in the multiple material object
When the 4th operation of elephant and the 5th of third material object operate, the first instruction is confirmly detected;Wherein, second material pair
As being respectively any two material objects in the multiple material object with the third material object;Based on first instruction
Determine the material object between the second material object and the third material object.
Wherein, the 4th operation and the 5th operation can be input operations, be operated by touch control detection component detection
Scene under, the 4th operation and the 5th operation can be single-click operation.
It is described to detect the first finger in another embodiment under the scene operated by touch control detection component detection
It enables, at least partly material object in the multiple material object is determined based on first instruction, can also include:By touching
When control detection components detect slip gesture operation, the first instruction is confirmly detected;Starting based on slip gesture operation
Position and final position determine the second material object and third material object, determine the second material object and third element
Material object between material object.
In above-mentioned 4th kind of embodiment, by detecting in multiple material objects for determining initial position (i.e. first
Material object) third operation, so that it is determined that being started with the first material object and its after the first material object of sorting
His material object.And in above-mentioned 5th kind of embodiment, by detecting in multiple material objects for determining initial position (i.e.
Second material object) the 4th operation and final position (i.e. third material object) the 5th operate, so that it is determined that the second material
All material objects between object and third material object, and execute the determining corresponding material number of material object
The second image data is generated according to being added to successively in described first image data according to preset rules, in the output display interface
It is sequentially output the second image data including material data.
It is described to detect the first instruction as the 6th kind of embodiment, the multiple element is determined based on first instruction
At least partly material object in material object, including:It detects the first instruction, the multiple element is activated based on first instruction
The selected position of each material object in material object;It receives for the selected of the portion material object in the multiple material object
6th operation of position determines the portion material object in the multiple material object based on the 6th operation.
Specifically, terminal can activate the selected position of each material object by the first instruction detected;The selected position branch
It holds to select or cancel by the operation detected and select.In practical application, after selected position is activated, can material object at least
Subregion shows selected frame, if detecting operation, selected frame can be particularly shown mode by one and (such as be shown in selected frame
One specific identifier) indicate that corresponding material object has been selected;If correspondingly, being detected again for the material object being selected
To operation, then selected frame is particularly shown mode (such as select to cancel in frame and show the specific identifier) expression correspondence by cancelling this
Material object be deselected.It is targetedly selected wherein by the above-mentioned means, user can be directed to multiple material objects
Portion material object, such as select favorite material object, without equal to the more corresponding material data of material object
It shows successively.
In the embodiment of the present invention, it is described will described at least partly the corresponding material data of material object according to preset rules according to
Secondary be added in described first image data generates the second image data, including:Identify the target in described first image data
Object;The corresponding material data of at least partly material object is added to successively in described first image data and generates second
Image data.
Specifically, terminal passes through artificial intelligence (AI, Artificial Intelligence) the first image data of module pair
In target object be identified, carry out depth detection particular by the first image data of AI modules pair, identify described the
Target object in one image data;Wherein, the target object can be people, animal etc.;Wherein, target object can be people
Face (or animal face) can also be the whole body (or whole body of animal) of people.Wherein, AI modules can be located at server side, then eventually
End is interacted when the first image data is identified with server, by the first image data of AI modules pair of server into
Row identification, identifies target object.Another embodiment, terminal can obtain AI modules by server or terminal is advance
AI modules are configured, then terminal can be identified without networking by the target object in the first image data of AI modules pair.
Further, the corresponding material data of at least partly material object is added to successively in the target object
Generate the second image data.It is to be understood that the quantity of at least partly material object how many, then it is corresponding to generate same number
Second image data of amount.In practical application, depth detection is carried out by the target object in the first image data of AI modules pair;
Such as when target object is face, after identifying face by the depth detection of AI modules, material data and face are carried out
It is bonded, such as the material datas such as the rabbit ear of cartoon type, cat ear is conformed to the second image data of head generation of face,
The perception for strengthening user's What You See Is What You Get greatly improves the operating experience of user.
Here, the corresponding material data of material object is added in the first image data and can refer to existing image procossing
Mode, which is not described herein again.
It is described to be sequentially output the second image data including material data in the output display interface in the present embodiment,
Including:It is sequentially output the second image data process including the target object and material data in the output display interface
In, the output duration of each second image data meets preset duration, which is, for example, 2 seconds, in this way, also allowing for user
The effect of each material data is clearly seen that during the display successively of material data.
In one embodiment, during being sequentially output the second image data including material data, the method is also wrapped
It includes:It detects the second instruction, suspends or terminate the second image data that output includes material data according to second instruction;
Wherein, described to detect the second instruction, including:When detecting the 7th operation for the second specific function button,
Confirmly detect the second instruction;Alternatively, when detecting the operation of the second certain gestures, the second instruction is confirmly detected;Alternatively, detection
When being operated to the 8th for the tag identifier belonging to the multiple material object, the second instruction is confirmly detected.
Specifically, the second specific function button may be the same or different with the first specific function button.
When one specific function button is identical as the second specific function button, held by the first operation for the first specific function button
Row includes the display successively of the second image data of material data;During display, again by for the first specific work(
7th operation of energy button, pause or termination the second image data of output;Wherein, user can export the second picture number by pause
According to the effect of material data added in the second image data of viewing for a long time of mode, can subsequently restore the second image data
Output.And it terminates the second image data of output and then shows that the output of the second image data cannot be restored.
Second certain gestures operate identical or different with the operation of the first certain gestures.The correlation of second certain gestures operation is retouched
The associated description that can refer to aforementioned first certain gestures operation is stated, the associated description of the 8th operation can refer to aforementioned second operation
Associated description, which is not described herein again.
In one embodiment, described that the second image data that output includes material data is suspended according to second instruction
Afterwards, the method further includes:It detects that third instructs, the second figure for restoring that output includes material data is instructed according to the third
As data;Alternatively, determining the 4th material object;4th material object element corresponding with the second image data of pause output
Material object is identical or different;It detects that third instructs, restores defeated since the 4th material object according to third instruction
Go out the second image data for including the corresponding material data of the 4th material object.
As an implementation, in the case of the second image data of paused output, detect that third instructs, then root
Restore output since the second image data of pause according to third instruction.Equally it is temporarily as another embodiment
In the case that stopping transportation goes out the second image data, by operating other 4th material pair of material target area for determining and being removed with current hang
As further detecting that third instructs, then being exported and the 4th material pair since the 4th material object according to third instruction
As corresponding second image data.
Here, described to detect that third instructs, including:It detects the operation for the 4th specific function button, determines inspection
Measure third instruction;Wherein, the 4th specific function button and the second specific function button are identical or different;Alternatively,
When detecting the operation of third certain gestures, third instruction is confirmly detected;Wherein, third certain gestures operation and described the
The operation of two certain gestures is identical or different;Alternatively, detecting the operation for the tag identifier belonging to the multiple material object
When, confirmly detect third instruction.
Fig. 3 is the first application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;As shown in figure 3, including:
Step 201:User's click tools column button specifically clicks the tool shown in the image display interfaces of client
Column button, for showing material data.
Step 202:Client asks material data to server-side.This step can be when client uses for the first time to server-side
Material data is asked, or material data is asked to server-side when material data needs update.It is to be understood that only upper
Client needs to obtain material data with server-side networking under the conditions of stating two kinds, and in other cases, client can be by
It obtains and the material data stored carries out subsequent processing.
Step 203:Client shows material mark.Specifically, client can pass through the operating area of output display interface
Show that material indicates.The operating area is the region that can listen to action event.
Step 204:User double-clicks certain a kind of material label.It, can be pre- advanced for a large amount of material data in practical application
Row classification, per an a kind of corresponding material label.
Step 205:Client listens to double click event, generates carousel and ability call instruction.
Step 206:Client call AI services, to carry out depth detection to the target object in image data.
Step 207:Material data is combined with image data to be generated new images and is shown, and the duration of displaying reaches default
Duration, such as 2 seconds.
In one embodiment, can also include:User carries out pausing operation, and client listens to time out, and carousel is temporary
Stop.
In one embodiment, can also include:User carries out termination operation, and client listens to termination event, then terminates
Carousel.
Using the technical solution of the embodiment of the present invention, the carousel of material is realized, especially there is the figure interacted with user
The carousel of pixel material, solve user once interaction be only capable of experience one material data caused by user experience it is bad, operation it is numerous
Trivial problem greatly improves the operating experience of user, reduces the interaction cost of user.
In one embodiment, during being sequentially output the second image data including material data, the method is also wrapped
It includes:Detect the 4th instruction, the material data confirmly detected in the second image data exported when the 4th instruction corresponds to
Material object;The material object is added in first set based on the 4th instruction.
Wherein, described to detect that the 4th instructs, including:When detecting the 9th operation for third specific function button,
Confirmly detect the 4th instruction;Alternatively, image collection assembly be active and described first image data pass through it is described
When image collection assembly persistently obtains, identify in second image data whether include specific identifier;The specific identifier packet
Include at least one of:Certain objects, specific hand, particular emotion;When identifying that second image data includes specific
When mark, the 4th instruction is confirmly detected.
Specifically, in the present embodiment, for the material data that user likes, the element that can will be liked by a variety of realization methods
The corresponding material object of material data is added in first set, and the first set can be used as " the material set that user likes ".
As the first embodiment, material mark can be added by the 9th operation of the third specific function button of deployment
It adds in first set.In the second image data during being sequentially output, if liking the material in which the second image data
Data, then during the display of second image data, user can be by operating third specific function button, by second figure
As the corresponding material mark of data is added in first set.
As another embodiment, it is active in image collection assembly and described first image data passes through
Under the scene that described image acquisition component persistently obtains, then can by identify the second image data in whether include specific identifier,
Specific identifier includes at least one of:Certain objects, specific hand, particular emotion;It is that " V words hand " is with specific identifier
Example, then in the second image data during being sequentially output, if liking the material data in which the second image data, Yong Huke
" V words hand " is shown by lifting hand, includes " the V words hand ", terminal in the image data that image collection assembly acquires in real time
It identifies " the V words hand ", is then added to the corresponding material object of material data in the second image data currently shown
In first set.
In one embodiment, the method further includes:The corresponding material of material object for including to the first set
Display is compared in data;Wherein, comparing display mode includes:Display includes the second image data of material data successively;Or
Person, display includes the second picture number of material data respectively at least two sub-interfaces that the output display interface divides
According to.
Specifically, for the material object in first set, it can be by way of comparing and showing to the element in first set
The corresponding material data of material object is shown, so that user carries out effect comparison.As an implementation, for the first collection
Material object in conjunction can be used and be sequentially output the mode of display and be shown.As another embodiment, split screen can be passed through
Mode show respectively, such as by output display interface be divided at least two sub-interfaces, shown respectively by each sub-interface
The second image data including material data, so as to make user disposably browse at least two second image datas, just
In progress effect comparison.
Fig. 4 is second of application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;As shown in figure 4, including:
Step 301:User clicks " liking " button during carousel.
Step 302:Client listens to " liking " event, adds current material and identifies to " liking " queue.Wherein, client
End " can also will like " the material synchronizing information in queue to server-side.
Step 303:User clicks the comparison operation of the material data of " liking ".
Step 304:Client listens to comparison action event, generative capacity call instruction.
Step 305:Client call AI services, for the detection to the target object in image data.
Step 306:Client, which combines the material data of user's " liking " with image data, to be generated new images and shows.
Using the technical solution of the present embodiment, realizes material data and the material data liked is carried out during carousel
Small-scale comparison display, greatly improves the operating experience of user.
In one embodiment, when image collection assembly is active, described first image data pass through the figure
As acquisition component persistently obtains, during being sequentially output the second image data including material data, the method includes:
Identify whether the target object in second image data meets preset condition;When identifying in second image data
When target object is unsatisfactory for preset condition, pause output includes the second image data of material data.The method further includes:When
When identifying that the target object in second image data meets preset condition, restore the second figure that output includes material data
As data.
Wherein, whether the target object in identification second image data meets preset condition, including:Identification institute
Whether state in the second image data includes target object;When it does not include target object to identify in second image data,
Determine that the target object in second image data is unsatisfactory for preset condition;Alternatively, in identification second image data
Whether the display parameters of target object reach predetermined threshold value;When the display for identifying the target object in second image data
When parameter is not up to predetermined threshold value, determine that the target object in second image data is unsatisfactory for preset condition.Wherein, described
Display parameters may include clarity and/or resolution ratio.
Specifically, when present embodiment is active suitable for image collection assembly, described first image data are logical
The scene that described image acquisition component persistently obtains is crossed, for example, scene of the user by the front camera recorded video of terminal,
Under this scene, the target object in the second image data can be the face of user.If stabilization does not lead to the second figure to terminal
As the face in data occurs that acutely shake either obscures or acute variation has occurred in the physical location of terminal leads to the second figure
Without including target object in picture data, then material data cannot be combined with the target object in the second image data well,
It also indicates that the target object in the second image data is unsatisfactory for preset condition, then suspends the second image that output includes material data
Data.
Fig. 5 is the third application interaction schematic diagram of the material methods of exhibiting of the embodiment of the present invention;As shown in figure 5, including:
Step 401:User removes terminal or terminal since the maloperation of user causes position moving range excessive.
Step 402:It is abnormal that client determines that the identification of the target object in image data occurs by the calling that AI is serviced,
It does not include target object that this exception, which includes in image data, or even if include target object, but target object shake is violent,
Or target object is fuzzy, it is abnormal that these above-mentioned situations all can be identified as identification.
Step 403:Client suspends carousel.
Step 404:User restores terminal location so that image data includes the user.
Step 405:Client by AI service calling determine image data in recongnition of objects it is normal, it is this just
Often include target object including image data, and the display of target object also meets preset condition, such as target object
Clarity reaches predetermined threshold value etc..
Step 406:Client restores carousel.
Using the technical solution of the present embodiment, suspend carousel under the abnormal scene of identification, such as the terminal that user holds
It does not hold steadily on the ground, detects that identification is abnormal at this time, if current wheel, which casts to the 4th material, identifies corresponding material data,
Then suspend carousel, after user back into carousel is restored after mirror since identifying the 5th material, avoid user do not see or
It sees the effect of material mark and jumps directly to other materials.
In various embodiments of the present invention, operation can also be by the operation of the input equipments such as mouse or keyboard
The touch control operation arrived by touch control detection component detection.Operation be touch control operation when, can be single-click operation, double click operation,
Meet the pressure operation of certain pressure value.
Embodiment two
The embodiment of the present invention additionally provides a kind of terminal.Fig. 6 is that a kind of composed structure of the terminal of the embodiment of the present invention is shown
It is intended to;As shown in fig. 6, the terminal includes:Image acquisition unit 51, display unit 52 and processing unit 53;Wherein,
Described image acquiring unit 51, for obtaining the first image data;
The display unit 52, described first for being obtained in output display interface output described image acquiring unit 51
Image data;The operating area for being deployed in the output display interface includes multiple material objects;
The processing unit 53 determines the multiple material pair for detecting the first instruction based on first instruction
At least partly material object as in, and will described at least partly the corresponding material data of material object according to preset rules according to
Secondary be added in described first image data generates the second image data;By the display unit 52 boundary is shown in the output
Face is sequentially output the second image data including material data.
In one embodiment, as shown in fig. 7, the terminal further includes detection unit 54, the first spy is directed to for detecting
Determine the first operation of function button;Alternatively, detecting that certain gestures operate;Alternatively, detecting for the multiple material object
Second operation of affiliated tag identifier;Alternatively, detecting for the first material object in the multiple material object
Three operations;Wherein, the first material object is any material object in the multiple material object;Alternatively, detecting respectively
To the 5th operation of the 4th operation and third material object for the second material object in the multiple material object;Its
In, the second material object and the third material object are respectively any two materials pair in the multiple material object
As;
The processing unit 53 detects the first operation for the first specific function button for the detection unit 54
When, the first instruction is confirmly detected, the multiple material object is determined based on first instruction;Alternatively, the detection unit
54 when detecting certain gestures operation, the first instruction is confirmly detected, based on the multiple material pair of the first instruction determination
As;Alternatively, when the detection unit 54 detects the second operation for the tag identifier belonging to the multiple material object, really
Regular inspection measures the first instruction, and the multiple material object is determined based on first instruction;Alternatively, the detection unit 54 detects
When being operated to the third for the first material object in the multiple material object, the first instruction is confirmly detected;Based on institute
State other material objects that the first instruction determines the first material object and sorts after the first material object;Or
Person, the detection unit 54 are detected respectively for the 4th operation of the second material object in the multiple material object and the
When the 5th operation of three material objects, the first instruction is confirmly detected;Second material pair is determined based on first instruction
As the material object between the third material object;Alternatively, the first instruction is detected, based on the first instruction activation institute
State the selected position of each material object in multiple material objects;It receives for the portion material pair in the multiple material object
6th operation of the selected position of elephant determines the portion material object in the multiple material object based on the 6th operation.
In one embodiment, the processing unit 53, for identification target object in described first image data;By institute
It states at least partly corresponding material data of material object and is added to successively in the target object and generate the second image data.
Specifically, the processing unit 53, for defeated successively in the output display interface by the display unit 52
Go out during the second image data including the target object and material data, when output of each second image data covers with
Sufficient preset duration.
In one embodiment, the processing unit 53 is additionally operable to detect the second instruction, is suspended according to second instruction
Or terminate the second image data that output includes material data;It is additionally operable to detect that third instructs, be instructed according to the third extensive
Multiple output includes the second image data of material data;Alternatively, determining the 4th material object;The 4th material object and pause
The corresponding material object of the second image data of output is identical or different;Detect third instruct, according to the third instruction from
The 4th material object starts to restore the second image data that output includes the corresponding material data of the 4th material object.
As an implementation, as shown in fig. 7, the terminal further includes detection unit 54, the is directed to for detecting
7th operation of two specific function buttons;Alternatively, detecting that the second certain gestures operate;Alternatively, detecting for the multiple
8th operation of the tag identifier belonging to material object;
The processing unit 53 detects the 7th operation for the second specific function button for the detection unit 54
When, confirmly detect the second instruction;Alternatively, when the detection unit 54 detects the operation of the second certain gestures, confirmly detect
Second instruction;Alternatively, the detection unit 54 detects the 8th behaviour for the tag identifier belonging to the multiple material object
When making, the second instruction is confirmly detected.
In one embodiment, the processing unit 53 confirmly detects the 4th instruction for detecting the 4th instruction
When the second image data for exporting in the corresponding material object of material data;It is instructed the material object based on the described 4th
It is added in first set.
In one embodiment, the processing unit 53, for by the display unit 52 to being wrapped in the first set
Display is compared in the corresponding material data of material object included;Wherein, comparing display mode includes:Display includes material successively
Second image data of data;Alternatively, display includes respectively at least two sub-interfaces that the output display interface divides
Second image data of material data.
As an implementation, as shown in fig. 7, the terminal further includes detection unit 54, the is directed to for detecting
9th operation of three specific function buttons;
The processing unit 53 detects the 9th operation for third specific function button for the detection unit 54
When, confirmly detect the 4th instruction;
Alternatively, described image acquiring unit 51 is realized by image collection assembly, activation shape is in image collection assembly
State and when described first image data are persistently obtained by described image acquisition component, the processing unit 53, for identification institute
Whether state in the second image data includes specific identifier;The specific identifier includes at least one of:Certain objects, specific hand
Shape, particular emotion;When it includes specific identifier to identify second image data, the 4th instruction is confirmly detected.
In one embodiment, when image collection assembly is active, described first image data pass through the figure
As acquisition component persistently obtains;The processing unit 53 is additionally operable to be sequentially output including material by the display unit 52
During second image data of data, identify whether the target object in second image data meets preset condition;
When identifying that the target object in second image data is unsatisfactory for preset condition, pause is defeated by the display unit 52
Go out the second image data including material data;It is pre- to be additionally operable to identify that the target object in second image data meets
If when condition, restoring the second image data that output includes material data.
Specifically, whether the processing unit 53, include for identification target object in second image data;Work as knowledge
When not going out in second image data including target object, determine that the target object in second image data is unsatisfactory for
Preset condition;Alternatively, whether the display parameters of the target object in identification second image data reach predetermined threshold value;Work as knowledge
When the display parameters for the target object not gone out in second image data are not up to predetermined threshold value, second picture number is determined
Target object in is unsatisfactory for preset condition.
In the embodiment of the present invention, the processing unit 53 in the terminal and detection unit 54 in practical applications can be by
In the terminal central processing unit (CPU, Central Processing Unit), digital signal processor (DSP,
Digital Signal Processor), micro-control unit (MCU, Microcontroller Unit) or programmable gate array
(FPGA, Field-Programmable Gate Array) is realized;Display unit 52 in the terminal, in practical applications
It can be realized by display screen or display, wherein display screen or display can have touch control detection component;Figure in the terminal
As acquiring unit 51, can be realized in practical applications by image collection assembly (such as camera), can also by CPU,
DSP, MCU or FPGA are realized.
It should be noted that:The terminal that above-described embodiment provides is when carrying out material displaying processing, only with above-mentioned each program
The division progress of module can as needed distribute above-mentioned processing by different program moulds for example, in practical application
Block is completed, i.e., the internal structure of terminal is divided into different program modules, to complete all or part of place described above
Reason.In addition, the terminal that above-described embodiment provides belongs to same design with material methods of exhibiting embodiment, specific implementation process is detailed
See embodiment of the method, which is not described herein again.
Embodiment three
The embodiment of the present invention additionally provides a kind of terminal, and Fig. 8 is that the hardware composed structure of the terminal of the embodiment of the present invention is shown
It is intended to, as shown in figure 8, terminal includes memory 804, processor 802 and is stored on memory 804 and can be in processor 802
The computer program of upper operation, the processor 802 are realized when executing described program:The first image data is obtained, it is aobvious in output
Show that interface exports described first image data;The operating area for being deployed in the output display interface includes multiple material objects;
It detects the first instruction, at least partly material object in the multiple material object is determined based on first instruction, and
The corresponding material data of at least partly material object is added to according to preset rules in described first image data successively
The second image data is generated, the second image data including material data is sequentially output in the output display interface.
In one embodiment, it is realized when the processor 802 executes described program:Detect for the first specific function by
When the first operation of key, the first instruction is confirmly detected, the multiple material object is determined based on first instruction;Alternatively,
When detecting certain gestures operation, the first instruction is confirmly detected, the multiple material object is determined based on first instruction;
Alternatively, when detecting the second operation for the tag identifier belonging to the multiple material object, the first instruction is confirmly detected,
The multiple material object is determined based on first instruction;Alternatively, detecting for first in the multiple material object
When the third operation of material object, the first instruction is confirmly detected;Wherein, the first material object is the multiple material pair
Any material object as in;Determine the first material object and sequence in first material based on first instruction
Other material objects after object;Alternatively, being detected respectively for the second material object in the multiple material object
When the 4th operation and the 5th operation of third material object, the first instruction is confirmly detected;Wherein, the second material object and
The third material object is respectively any two material objects in the multiple material object;It is determined based on first instruction
Material object between the second material object and the third material object;Alternatively, the first instruction is detected, based on described
First instruction activates the selected position of each material object in the multiple material object;It receives and is directed to the multiple material object
In portion material object selected position the 6th operation, the portion in the multiple material object is determined based on the 6th operation
Divide material object.
In one embodiment, it is realized when the processor 802 executes described program:It identifies in described first image data
Target object;The corresponding material data of at least partly material object is added to successively in the target object and generates second
Image data.
In one embodiment, it is realized when the processor 802 executes described program:It is defeated successively in the output display interface
Go out during the second image data including the target object and material data, when output of each second image data covers with
Sufficient preset duration.
In one embodiment, it is realized when the processor 802 executes described program:The second instruction is detected, according to described
Second instruction pause terminates the second image data that output includes material data.
In one embodiment, it is realized when the processor 802 executes described program:Detect for the second specific function by
When the 7th operation of key, the second instruction is confirmly detected;Alternatively, when detecting the operation of the second certain gestures, the is confirmly detected
Two instructions;Alternatively, when detecting the 8th operation for the tag identifier belonging to the multiple material object, the is confirmly detected
Two instructions.
In one embodiment, it is realized when the processor 802 executes described program:Detect that third instructs, according to described
Third instruction restores the second image data that output includes material data;Alternatively, determining the 4th material object;4th material
Object material object corresponding with the second image data of pause output is identical or different;Detect that third instructs, according to described
Third instruction restores that output includes the corresponding material data of the 4th material object since the 4th material object
Two image datas.
In one embodiment, it is realized when the processor 802 executes described program:It detects the 4th instruction, determines detection
To the corresponding material object of material data in the second image data exported when the 4th instruction;Based on the 4th instruction
The material object is added in first set.
In one embodiment, it is realized when the processor 802 executes described program:Detect for third specific function by
When the 9th operation of key, the 4th instruction is confirmly detected;Alternatively, being active and described first in image collection assembly
When image data is persistently obtained by described image acquisition component, identify in second image data whether include specific mark
Know;The specific identifier includes at least one of:Certain objects, specific hand, particular emotion;When identifying second figure
When picture data include specific identifier, the 4th instruction is confirmly detected.
In one embodiment, it is realized when the processor 802 executes described program:The element for including to the first set
Display is compared in the corresponding material data of material object;Wherein, comparing display mode includes:Display includes material data successively
Second image data;Alternatively, display includes material number respectively at least two sub-interfaces that the output display interface divides
According to the second image data.
In one embodiment, it is realized when the processor 802 executes described program:It is in activation shape in image collection assembly
When state, described first image data are persistently obtained by described image acquisition component, are being sequentially output including material data
During two image datas, identify whether the target object in second image data meets preset condition;When identifying
When target object in second image data is unsatisfactory for preset condition, pause output includes the second picture number of material data
According to.
In one embodiment, it is realized when the processor 802 executes described program:Identifying in second image data is
No includes target object;When it does not include target object to identify in second image data, second picture number is determined
Target object in is unsatisfactory for preset condition;Alternatively, the display parameters of the target object in identification second image data
Whether predetermined threshold value is reached;When the display parameters for identifying the target object in second image data are not up to predetermined threshold value
When, determine that the target object in second image data is unsatisfactory for preset condition.
In one embodiment, it is realized when the processor 802 executes described program:When identifying second image data
In target object when meeting preset condition, restore the second image data that output includes material data.
In the embodiment of the present invention, terminal can be mobile phone, computer, digital broadcast terminal, information transceiving equipment, trip
Play console, tablet device, personal digital assistant etc..
It is appreciated that in addition to memory and processor, terminal can also include following at least one component:Power supply module
806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor module 814 and communication set
Part 816.
The integrated operation of 802 usual control terminal of processor, such as communicates with display, call, data, camera is shot
With information record etc. associated operation.Processor 802 may include one or more to execute computer program, in completion
State all or part of step of method.In addition, processor 802 may include one or more modules, convenient for other assemblies it
Between interaction.For example, processor 802 may include multi-media module, between convenient processor 802 and multimedia component 808
Interaction.
Memory 804 can be by any kind of volatibility or non-volatile memory device or combination thereof Lai real
It is existing.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), programmable read only memory
(PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable
Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically
Erasable Programmable Read-Only Memory), magnetic RAM (FRAM, Ferromagnetic
Random Access Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM
(CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be magnetic disk storage or tape storage
Device.Volatile memory can be random access memory (RAM, Random Access Memory), be used as external high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static RAM
(SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous
Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access
Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access
Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate
Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory
(ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links dynamic random are deposited
Access to memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus arbitrary access are deposited
Reservoir (DRRAM, Direct Rambus Random Access Memory).804 purport of memory of description of the embodiment of the present invention
It is including but not limited to the memory of these and any other suitable type.
Memory 804 is for storing various types of data to support the operation of terminal.The example of these data includes:With
In any computer program operated in terminal, such as operating system and application program;Contact data;Telephone book data;Disappear
Breath;Picture;Video etc..Wherein, operating system includes various system programs, such as ccf layer, core library layer, driving layer etc., is used
In the various basic businesses of realization and the hardware based task of processing.Application program can include various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program.
Power supply module 806 provides electric power for the various assemblies of terminal.Power supply module 806 may include power-supply management system,
One or more power supplys and other generate, manage and distribute electric power associated component with for terminal.
Multimedia component 808 is included in the screen as output interface provided between terminal and user.At some
In embodiment, screen may include liquid crystal display (LCD, Liquid Crystal Display) and touch panel (TP,
Touch Panel).If screen includes touch panel, screen can be realized by touch screen, to receive input from the user
Signal.Touch panel includes one or more touch sensors, to sense the gesture on touch, slide, and touch panel.It touches
Sensor can not only sense the boundary of touch or slide, but also detect and touch or slide relevant duration
And pressure.In some embodiments, multimedia component 808 may include a front camera and/or rear camera.Work as end
End is in operation mode, and when such as screening-mode or video mode, front camera and/or rear camera can receive outside
Multi-medium data.Each front camera or rear camera can be a fixed optical lens system or have a focal length
And optical zoom ability.
Audio component 810 is for output and/or input audio signal.For example, audio component 810 includes a microphone
(MIC, Microphone), when terminal is in operation mode, when such as call model, logging mode or speech recognition mode, Mike
Wind is for receiving external audio signal.The received audio signal can be further stored in memory 804 or via communication
Component 816 is sent.In some embodiments, audio component 810 can also include a loud speaker, be used for exports audio signal.
Information exchange of the I/O interfaces 812 between processor and peripheral interface module provides interface, above-mentioned peripheral interface mould
Block can be keyboard, mouse, trace ball, click wheel, button, button etc..These buttons may include but be not limited to:Home button,
Volume button, start button and locking press button.
Sensor module 814 includes one or more sensors, the status assessment for providing various aspects for terminal.Example
Such as, sensor module 814 can detect the state that opens/closes residing for terminal, the relative positioning of component, such as the component
For the display and keypad of terminal;Sensor module 814 can be used with the position change of one component of detection terminal or terminal
The existence or non-existence that family is contacted with terminal, the orientation or acceleration/deceleration of terminal and the temperature change of terminal.Sensor group
Part 814 may include proximity sensor, for detecting the presence of nearby objects without any physical contact.Sensor group
Part 814 can also include optical sensor, such as metal oxide semiconductor device (CMOS, Complementary Metal-Oxide
Semiconductor) imaging sensor or charge coupled cell (CCD, Charge Coupled Device) imaging sensor,
For being used in imaging applications.In some embodiments, which can also include acceleration transducer, top
Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor etc..
Communication of the communication component 816 for wired or wireless way between terminal and other equipment.Terminal can access base
In the wireless network of communication standard, such as WiFi, 2G or 3G or combination thereof.In one exemplary embodiment, communication component
816 receive broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.It is exemplary at one
In embodiment, the communication component 816 further includes near-field communication (NFC, Near Field Communication) module, to promote
Into short range communication.For example, radio frequency identification (RFID, Radio Frequency IDentification) can be based in NFC module
Technology, infrared data tissue (IrDA, Infrared Data Association) technology, ultra wide band (UWB, Ultra
WideBand) technology, bluetooth (BT, BlueTooth) technology or other technologies are realized.
The method that the embodiments of the present invention disclose can be applied in processor 802, or be realized by processor 802.
Processor 802 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 802 or the instruction of software form.Above-mentioned processing
Device 802 can be general processor, DSP either other programmable logic device, discrete gate or transistor logic, point
Vertical hardware component etc..Processor 802 may be implemented or execute disclosed each method, step and logic in the embodiment of the present invention
Block diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with disclosed in the embodiment of the present invention
The step of method, can be embodied directly in hardware decoding processor and execute completion, or with hardware in decoding processor and soft
Part block combiner executes completion.Software module can be located in storage medium, which is located at memory 804, processor
802 read the information in memory 804, in conjunction with the step of its hardware completion preceding method.
In the exemplary embodiment, terminal can by one or more application application-specific integrated circuit (ASIC,
Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable
Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device),
FPGA, general processor, controller, MCU, microprocessor (Microprocessor) or other electronic components are realized, for holding
Row preceding method.
Example IV
In the exemplary embodiment, the embodiment of the present invention additionally provides a kind of computer storage media, such as including calculating
The memory 804 of machine program, above computer program can be executed by the processor 802 of terminal, to complete to walk described in preceding method
Suddenly.Computer storage media can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage,
The memories such as CD or CD-ROM;Can also be including one of above-mentioned memory or the various equipment arbitrarily combined, such as mobile electricity
Words, computer, tablet device, personal digital assistant etc..
A kind of computer storage media provided in an embodiment of the present invention, is stored thereon with computer instruction, which is located
Reason device is realized when executing:The first image data is obtained, described first image data are exported in output display interface;It is deployed in described
The operating area for exporting display interface includes multiple material objects;It detects the first instruction, institute is determined based on first instruction
At least partly material object in multiple material objects is stated, and the corresponding material data of at least partly material object is pressed
Be added to successively in described first image data according to preset rules and generate the second image data, the output display interface successively
Output includes the second image data of material data.
In one embodiment, it is realized when which is executed by processor:Detect for the first specific function button
When one operation, the first instruction is confirmly detected, the multiple material object is determined based on first instruction;Alternatively, detecting
When certain gestures operate, the first instruction is confirmly detected, the multiple material object is determined based on first instruction;Alternatively,
When detecting the second operation for the tag identifier belonging to the multiple material object, the first instruction is confirmly detected, is based on
First instruction determines the multiple material object;Alternatively, detecting for the first material in the multiple material object
When the third operation of object, the first instruction is confirmly detected;Wherein, the first material object is in the multiple material object
Any material object;Determine the first material object and sequence in the first material object based on first instruction
Other material objects later;Alternatively, detecting the 4th for the second material object in the multiple material object respectively
When operation and the 5th operation of third material object, the first instruction is confirmly detected;Wherein, the second material object and described
Third material object is respectively any two material objects in the multiple material object;It is instructed based on described first described in determining
Material object between second material object and the third material object;Alternatively, detecting the first instruction, it is based on described first
Instruction activates the selected position of each material object in the multiple material object;It receives in the multiple material object
6th operation of the selected position of portion material object determines the part element in the multiple material object based on the 6th operation
Material object.
In one embodiment, it is realized when which is executed by processor:Identify the target pair in described first image data
As;The corresponding material data of at least partly material object is added to successively in the target object and generates the second picture number
According to.
In one embodiment, it is realized when which is executed by processor:The output display interface be sequentially output including
During second image data of the target object and material data, the output duration of each second image data, which meets, to be preset
Duration.
In one embodiment, it is realized when which is executed by processor:It detects the second instruction, is instructed according to described second
Pause terminates the second image data that output includes material data.
In one embodiment, it is realized when which is executed by processor:Detect for the second specific function button
When seven operations, the second instruction is confirmly detected;Alternatively, when detecting the operation of the second certain gestures, the second instruction is confirmly detected;
Alternatively, when detecting the 8th operation for the tag identifier belonging to the multiple material object, the second instruction is confirmly detected.
In one embodiment, it is realized when which is executed by processor:It detects that third instructs, is instructed according to the third
Restore the second image data that output includes material data;Alternatively, determining the 4th material object;The 4th material object with temporarily
The corresponding material object of the second image data that stopping transportation goes out is identical or different;It detects that third instructs, is instructed according to the third
Restore the second picture number that output includes the corresponding material data of the 4th material object since the 4th material object
According to.
In one embodiment, it is realized when which is executed by processor:It detects the 4th instruction, confirmly detects described the
The corresponding material object of material data in the second image data exported when four instructions;It is instructed the element based on the described 4th
Material object is added in first set.
In one embodiment, it is realized when which is executed by processor:Detect for third specific function button
When nine operations, the 4th instruction is confirmly detected;Alternatively, being active and described first image number in image collection assembly
When according to persistently being obtained by described image acquisition component, identify in second image data whether include specific identifier;It is described
Specific identifier includes at least one of:Certain objects, specific hand, particular emotion;When identifying second image data
When including specific identifier, the 4th instruction is confirmly detected.
In one embodiment, it is realized when which is executed by processor:The material object for including to the first set
Display is compared in corresponding material data;Wherein, comparing display mode includes:Display includes the second figure of material data successively
As data;Alternatively, display includes the of material data respectively at least two sub-interfaces that the output display interface divides
Two image datas.
In one embodiment, it is realized when which is executed by processor:When image collection assembly is active, institute
It states the first image data persistently to obtain by described image acquisition component, is being sequentially output the second picture number including material data
During, identify whether the target object in second image data meets preset condition;When identifying described second
When target object in image data is unsatisfactory for preset condition, pause output includes the second image data of material data.
In one embodiment, it is realized when which is executed by processor:Identify in second image data whether include
Target object;When it does not include target object to identify in second image data, determine in second image data
Target object is unsatisfactory for preset condition;Alternatively, whether the display parameters of the target object in identification second image data reach
To predetermined threshold value;When the display parameters for identifying the target object in second image data are not up to predetermined threshold value, really
Target object in fixed second image data is unsatisfactory for preset condition.
In one embodiment, it is realized when which is executed by processor:When identifying the mesh in second image data
When mark object meets preset condition, restore the second image data that output includes material data.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
It can be the INDIRECT COUPLING by some interfaces, equipment or unit to divide mutual coupling or direct-coupling or communication connection
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit
The component shown can be or may not be physical unit, you can be located at a place, may be distributed over multiple network lists
In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned
The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:Movable storage device, ROM,
The various media that can store program code such as RAM, magnetic disc or CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be expressed in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (11)
1. a kind of material methods of exhibiting, which is characterized in that the method includes:
The first image data is obtained, described first image data are exported in output display interface;It is deployed in the output and shows boundary
The operating area in face includes multiple material objects;
It detects the first instruction, at least partly material object in the multiple material object is determined based on first instruction,
And the corresponding material data of at least partly material object is added to described first image number according to preset rules successively
According to the second image data of middle generation, the second image data including material data is sequentially output in the output display interface.
2. according to the method described in claim 1, it is characterized in that, described detect the first instruction, based on first instruction
Determine at least partly material object in the multiple material object, including:
When detecting the first operation for the first specific function button, the first instruction is confirmly detected, is referred to based on described first
It enables and determines the multiple material object;Alternatively,
When detecting certain gestures operation, the first instruction is confirmly detected, the multiple material is determined based on first instruction
Object;Alternatively,
When detecting the second operation for the tag identifier belonging to the multiple material object, the first instruction is confirmly detected,
The multiple material object is determined based on first instruction;Alternatively,
When detecting the third operation for the first material object in the multiple material object, the first finger is confirmly detected
It enables;Wherein, the first material object is any material object in the multiple material object;It is true based on first instruction
The fixed first material object and other material objects to sort after the first material object;Alternatively,
The 4th operation for the second material object in the multiple material object and third material object are detected respectively
When the 5th operation, the first instruction is confirmly detected;Wherein, the second material object and the third material object are respectively institute
State any two material objects in multiple material objects;The second material object and described the are determined based on first instruction
Material object between three material objects;Alternatively,
It detects the first instruction, the selected of each material object in the multiple material object is activated based on first instruction
Position;The 6th operation for receiving the selected position for the portion material object in the multiple material object, is based on the described 6th
Operation determines the portion material object in the multiple material object.
3. according to the method described in claim 1, it is characterized in that, being sequentially output the second image data including material data
In the process, the method further includes:
It detects the second instruction, suspends or terminate the second image data that output includes material data according to second instruction;
Wherein, described to detect the second instruction, including:
When detecting the 7th operation for the second specific function button, the second instruction is confirmly detected;Alternatively,
When detecting the operation of the second certain gestures, the second instruction is confirmly detected;Alternatively,
When detecting the 8th operation for the tag identifier belonging to the multiple material object, the second instruction is confirmly detected.
4. according to the method described in claim 3, it is characterized in that, described exported according to the second instruction pause includes material
After second image data of data, the method further includes:
It detects that third instructs, the second image data for restoring that output includes material data is instructed according to the third;Alternatively,
Determine the 4th material object;4th material object material object phase corresponding with the second image data of pause output
It is same or different;
Detect that third instructs, it includes the described 4th to restore output since the 4th material object according to third instruction
Second image data of the corresponding material data of material object.
5. according to the method described in claim 1, it is characterized in that, being sequentially output the second image data including material data
In the process, the method further includes:
Detect the 4th instruction, the material data confirmly detected in the second image data exported when the 4th instruction corresponds to
Material object;
The material object is added in first set based on the 4th instruction;
Wherein, described to detect that the 4th instructs, including:
When detecting the 9th operation for third specific function button, the 4th instruction is confirmly detected;Alternatively,
It is active in image collection assembly and described first image data is persistently obtained by described image acquisition component
When, identify in second image data whether include specific identifier;The specific identifier includes at least one of:Specific object
Body, specific hand, particular emotion;
When it includes specific identifier to identify second image data, the 4th instruction is confirmly detected.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
Display is compared to the corresponding material data of material object that the first set includes;Wherein, display side is compared
Formula includes:
Display includes the second image data of material data successively;Alternatively,
Display includes the second picture number of material data respectively at least two sub-interfaces that the output display interface divides
According to.
7. according to the method described in claim 1, it is characterized in that, when image collection assembly is active, described
One image data is persistently obtained by described image acquisition component, is being sequentially output the second image data including material data
In the process, the method includes:
Identify whether the target object in second image data meets preset condition;
When identifying that the target object in second image data is unsatisfactory for preset condition, pause output includes material data
The second image data;
Wherein, whether the target object in identification second image data meets preset condition, including:
Identify in second image data whether include target object;Do not include mesh when identifying in second image data
When marking object, determine that the target object in second image data is unsatisfactory for preset condition;Alternatively,
Identify whether the display parameters of the target object in second image data reach predetermined threshold value;When identifying described
When the display parameters of target object in two image datas are not up to predetermined threshold value, the target in second image data is determined
Object is unsatisfactory for preset condition.
8. the method according to the description of claim 7 is characterized in that the method further includes:
When identifying that the target object in second image data meets preset condition, it includes material data to restore output
Second image data.
9. a kind of terminal, which is characterized in that the terminal includes:Image acquisition unit, display unit and processing unit;Wherein,
Described image acquiring unit, for obtaining the first image data;
The display unit, the described first image number for being obtained in output display interface output described image acquiring unit
According to;The operating area for being deployed in the output display interface includes multiple material objects;
The processing unit is determined based on first instruction in the multiple material object for detecting the first instruction
At least partly material object, and the corresponding material data of at least partly material object is added successively according to preset rules
To generating the second image data in described first image data;It is defeated successively in the output display interface by the display unit
Go out the second image data including material data.
10. a kind of computer storage media, is stored thereon with computer instruction, which is characterized in that the instruction is executed by processor
The step of any one of Shi Shixian claims 1 to 8 material methods of exhibiting.
11. a kind of terminal, including memory, processor and storage are on a memory and the computer journey that can run on a processor
Sequence, which is characterized in that the processor realizes any one of claim 1 to 8 material methods of exhibiting when executing described program
The step of.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810381655.6A CN108628976A (en) | 2018-04-25 | 2018-04-25 | A kind of material methods of exhibiting, terminal and computer storage media |
PCT/CN2019/084391 WO2019206243A1 (en) | 2018-04-25 | 2019-04-25 | Material display method, terminal, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810381655.6A CN108628976A (en) | 2018-04-25 | 2018-04-25 | A kind of material methods of exhibiting, terminal and computer storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108628976A true CN108628976A (en) | 2018-10-09 |
Family
ID=63694499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810381655.6A Pending CN108628976A (en) | 2018-04-25 | 2018-04-25 | A kind of material methods of exhibiting, terminal and computer storage media |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108628976A (en) |
WO (1) | WO2019206243A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688453A (en) * | 2018-12-05 | 2019-04-26 | 深圳市子瑜杰恩科技有限公司 | The stage property arrangement display methods and Related product of short-sighted frequency |
CN109710136A (en) * | 2018-12-05 | 2019-05-03 | 深圳市子瑜杰恩科技有限公司 | The stage property display methods and Related product of short-sighted frequency |
CN109729394A (en) * | 2018-12-05 | 2019-05-07 | 深圳市子瑜杰恩科技有限公司 | The stage property sort method and Related product of short-sighted frequency |
CN109886396A (en) * | 2019-03-18 | 2019-06-14 | 国家电网有限公司 | A kind of transmission line galloping on-line prediction system and method |
CN110298283A (en) * | 2019-06-21 | 2019-10-01 | 北京百度网讯科技有限公司 | Matching process, device, equipment and the storage medium of picture material |
WO2019206243A1 (en) * | 2018-04-25 | 2019-10-31 | 咪咕动漫有限公司 | Material display method, terminal, and computer storage medium |
CN111399731A (en) * | 2020-03-12 | 2020-07-10 | 深圳市腾讯计算机系统有限公司 | Picture operation intention processing method, recommendation method and device, electronic equipment and storage medium |
CN111770288A (en) * | 2020-06-23 | 2020-10-13 | Oppo广东移动通信有限公司 | Video editing method, device, terminal and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130163867A1 (en) * | 2011-10-17 | 2013-06-27 | Military Wraps Research & Development, Inc. | Systems, processes, and computer program products for creating geo-location-based visual designs and arrangements originating from geo-location-based imagery |
CN104899825A (en) * | 2014-03-06 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Method and device for modeling picture figure |
CN104951236A (en) * | 2015-07-16 | 2015-09-30 | 努比亚技术有限公司 | Wallpaper configuration method for terminal device, and terminal device |
CN106651761A (en) * | 2016-12-27 | 2017-05-10 | 维沃移动通信有限公司 | Method for adding filters to pictures, and mobile terminal |
CN106780401A (en) * | 2017-01-12 | 2017-05-31 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of picture processing |
CN206711151U (en) * | 2016-09-22 | 2017-12-05 | 京东方科技集团股份有限公司 | A kind of virtual fitting glasses and virtual fitting system |
CN107645605A (en) * | 2017-09-29 | 2018-01-30 | 北京金山安全软件有限公司 | Screen theme page acquisition method and device and terminal equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9196067B1 (en) * | 2013-03-05 | 2015-11-24 | Amazon Technologies, Inc. | Application specific tracking of projection surfaces |
CN106951090B (en) * | 2017-03-29 | 2021-03-30 | 北京小米移动软件有限公司 | Picture processing method and device |
CN107798714A (en) * | 2017-09-11 | 2018-03-13 | 深圳创维数字技术有限公司 | A kind of image data display method and relevant apparatus and computer-readable storage medium |
CN108628976A (en) * | 2018-04-25 | 2018-10-09 | 咪咕动漫有限公司 | A kind of material methods of exhibiting, terminal and computer storage media |
-
2018
- 2018-04-25 CN CN201810381655.6A patent/CN108628976A/en active Pending
-
2019
- 2019-04-25 WO PCT/CN2019/084391 patent/WO2019206243A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130163867A1 (en) * | 2011-10-17 | 2013-06-27 | Military Wraps Research & Development, Inc. | Systems, processes, and computer program products for creating geo-location-based visual designs and arrangements originating from geo-location-based imagery |
CN104899825A (en) * | 2014-03-06 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Method and device for modeling picture figure |
CN104951236A (en) * | 2015-07-16 | 2015-09-30 | 努比亚技术有限公司 | Wallpaper configuration method for terminal device, and terminal device |
CN206711151U (en) * | 2016-09-22 | 2017-12-05 | 京东方科技集团股份有限公司 | A kind of virtual fitting glasses and virtual fitting system |
CN106651761A (en) * | 2016-12-27 | 2017-05-10 | 维沃移动通信有限公司 | Method for adding filters to pictures, and mobile terminal |
CN106780401A (en) * | 2017-01-12 | 2017-05-31 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of picture processing |
CN107645605A (en) * | 2017-09-29 | 2018-01-30 | 北京金山安全软件有限公司 | Screen theme page acquisition method and device and terminal equipment |
Non-Patent Citations (1)
Title |
---|
腾牛网: "老版本美颜相机杨颖版", 《腾牛网》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019206243A1 (en) * | 2018-04-25 | 2019-10-31 | 咪咕动漫有限公司 | Material display method, terminal, and computer storage medium |
CN109688453A (en) * | 2018-12-05 | 2019-04-26 | 深圳市子瑜杰恩科技有限公司 | The stage property arrangement display methods and Related product of short-sighted frequency |
CN109710136A (en) * | 2018-12-05 | 2019-05-03 | 深圳市子瑜杰恩科技有限公司 | The stage property display methods and Related product of short-sighted frequency |
CN109729394A (en) * | 2018-12-05 | 2019-05-07 | 深圳市子瑜杰恩科技有限公司 | The stage property sort method and Related product of short-sighted frequency |
CN109886396A (en) * | 2019-03-18 | 2019-06-14 | 国家电网有限公司 | A kind of transmission line galloping on-line prediction system and method |
CN110298283A (en) * | 2019-06-21 | 2019-10-01 | 北京百度网讯科技有限公司 | Matching process, device, equipment and the storage medium of picture material |
CN111399731A (en) * | 2020-03-12 | 2020-07-10 | 深圳市腾讯计算机系统有限公司 | Picture operation intention processing method, recommendation method and device, electronic equipment and storage medium |
CN111399731B (en) * | 2020-03-12 | 2022-02-25 | 深圳市腾讯计算机系统有限公司 | Picture operation intention processing method, recommendation method and device, electronic equipment and storage medium |
CN111770288A (en) * | 2020-06-23 | 2020-10-13 | Oppo广东移动通信有限公司 | Video editing method, device, terminal and storage medium |
WO2021258821A1 (en) * | 2020-06-23 | 2021-12-30 | Oppo广东移动通信有限公司 | Video editing method and device, terminal, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019206243A1 (en) | 2019-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108628976A (en) | A kind of material methods of exhibiting, terminal and computer storage media | |
CN108108114B (en) | A kind of thumbnail display control method and mobile terminal | |
EP3168727B1 (en) | Mobile terminal and method for controlling the same | |
CN108921134A (en) | fingerprint collecting method, device, electronic equipment and storage medium | |
CN104951500B (en) | Method for displaying head portrait, device and terminal | |
CN106020592A (en) | Split screen display method and device | |
CN106020784A (en) | Method and device for displaying application message, and terminal | |
CN105550251A (en) | Picture play method and device | |
CN105892868A (en) | Screen capture method and screen capture device | |
CN107786794A (en) | The electronic installation and method of the image obtained by imaging sensor are provided to application | |
CN107948667A (en) | The method and apparatus that special display effect is added in live video | |
CN105120337A (en) | Video special effect processing method, video special effect processing device and terminal equipment | |
CN107423063A (en) | Multiwindow processing method, device and equipment | |
CN106126018A (en) | Desktop icons sort method and device | |
CN108495049A (en) | Filming control method and Related product | |
CN109634495A (en) | Method of payment, device and user equipment | |
CN109257649B (en) | Multimedia file generation method and terminal equipment | |
CN105938412A (en) | Volume icon display method and device | |
CN105898573A (en) | Method and device for multimedia file playing | |
CN108833779A (en) | Filming control method and Related product | |
CN110515688A (en) | Page display method, device, terminal and storage medium | |
CN105242837B (en) | Five application page acquisition methods and terminal | |
CN105094539B (en) | Reference information display methods and device | |
CN106027361B (en) | Information display method and device | |
CN107835458A (en) | Player method, device and the electronic equipment of content of multimedia |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |
|
RJ01 | Rejection of invention patent application after publication |