CN109035421A - Image processing method, device, equipment and storage medium - Google Patents

Image processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109035421A
CN109035421A CN201810998401.9A CN201810998401A CN109035421A CN 109035421 A CN109035421 A CN 109035421A CN 201810998401 A CN201810998401 A CN 201810998401A CN 109035421 A CN109035421 A CN 109035421A
Authority
CN
China
Prior art keywords
posture feature
terminal
feature
image
posture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810998401.9A
Other languages
Chinese (zh)
Inventor
杜雅洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810998401.9A priority Critical patent/CN109035421A/en
Publication of CN109035421A publication Critical patent/CN109035421A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a kind of image processing method, device, equipment and storage medium, described image processing method, when being included in terminal and being shot, at least one first posture feature of user is obtained, AR processing is carried out to the image that terminal is currently shown according at least one described first posture feature.AR special effect processing efficiency can be promoted to the mode that image is handled by obtaining instruction, the instruction of physical button mode or the instruction of text mode of the voice mode of user's input compared to terminal, improve the interactivity of terminal and user.

Description

Image processing method, device, equipment and storage medium
Technical field
The invention relates to computer technologies more particularly to a kind of image processing method, device, equipment and storage to be situated between Matter.
Background technique
With the continuous development of science and technology, various terminal equipment is applied in the work and life of people, for example, hand Machine.Mobile phone has camera, can shoot static images or video content by camera.
In order to make the life of the scientific and technological more real world of " close to " people, augmented reality (Augmented Reality, letter Claiming AR) technology comes into being.AR is the enhancing to reality, is the fusion of virtual image and reality imagery.AR technology has virtual Real fusion, real-time, interactive, three big features of three-dimensional registration.Wherein three-dimensional registration is most important one feature.Three-dimensional registration ( Referred to as three-dimensional registration) emphasize the corresponding relationship of computer product and actual environment, the three-dimensional of virtual object and actual environment Position and size must be perfectly combined.AR technology is also applied in the terminals such as mobile phone.Such as AR technology is clapped applied to mobile phone In taking the photograph, when user carries out self-timer using the camera of mobile phone, it will appear the face of user in the shooting picture which shows, User interface (User Interface, UI) element for showing on screen of the user by clicking the mobile phone, so that mobile phone can be with AR special efficacy is increased to the face occurred in shooting picture.
However, need user to click corresponding UI element when the above-mentioned increase AR special efficacy to the face occurred in shooting picture, Mobile phone is instructed according to the corresponding operating of user, carries out AR special effect processing to the content in shooting picture, this mode makes AR special It is not high to imitate treatment effeciency.
Summary of the invention
The embodiment of the present application provides a kind of image processing method, device, equipment and storage medium, to promote AR special effect processing Efficiency.
In a first aspect, the embodiment of the present application provides a kind of image processing method, comprising:
When terminal is shot, at least one first posture feature of user is obtained.
Augmented reality AR processing is carried out to the image that terminal is currently shown according at least one described first posture feature.
With reference to first aspect, in a kind of possible implementation of first aspect, it is described according at least one One posture feature carries out the image that terminal is currently shown before augmented reality AR processing, further includes:
Establish the mapping relations of at least one described first posture feature and at least one AR operation;
It is correspondingly, described that AR processing is carried out to the image that terminal is currently shown according to first posture feature, comprising:
At least one AR operation is determined according at least one described first posture feature and the mapping relations;
Final AR operation is determined at least one described AR operation;
The final AR operation is carried out to the image that the terminal is currently shown.
With reference to first aspect or a kind of possible implementation of first aspect, in the alternatively possible reality of first aspect In existing mode, the mapping relations are one-to-one relationship.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, if at least one described first posture feature is multiple first posture features, grasped at least one described AR Final AR operation is determined in work, comprising:
Determine the priority of the multiple first posture feature;
The corresponding AR operation of first posture feature of highest priority is determined as the final AR operation.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, if at least one described first posture feature is multiple first posture features, grasped at least one described AR Final AR operation is determined in work, comprising:
The corresponding AR operation of any one first posture feature is determined as the final AR operation.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the image currently shown to the terminal carries out the final AR operation, comprising:
The target object in image currently shown to the terminal is highlighted, is stretched, is amplified, is reduced, is atomized, is increased Virtual picture increases at least one of virtual animation, 2D drafting and 3D drafting AR operation.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, when the target object in the image currently shown to the terminal carries out increasing virtual picture or increases virtual dynamic When picture, the method also includes:
Obtain the second posture feature of user;
The feature for increasing virtual picture or the virtual animation of increase is adjusted according to the second posture feature of user.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the feature for increasing virtual picture includes at least one of the following: the position for increasing virtual picture, size And shape;
The feature for increasing virtual animation include at least one of the following: the position for increasing virtual animation, size with And shape.
Second aspect, the embodiment of the present invention provide a kind of image processing apparatus, comprising:
Module is obtained, for when terminal is shot, obtaining at least one first posture feature of user.
AR processing module, for being increased according at least one described first posture feature to the image that terminal is currently shown Strong reality AR processing.
In conjunction with second aspect, in a kind of possible implementation of second aspect, described device further includes mapping block, Before the image progress augmented reality AR processing currently shown at least one first posture feature described in basis to terminal, Establish the mapping relations of at least one described first posture feature and at least one AR operation;
Correspondingly, the AR processing module is used for:
At least one AR operation is determined according at least one described first posture feature and the mapping relations;
Final AR operation is determined at least one described AR operation;
The final AR operation is carried out to the image that the terminal is currently shown.
In conjunction with a kind of possible implementation of second aspect or second aspect, in a kind of possible realization of second aspect In mode, the mapping relations are one-to-one relationship.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the AR processing module is used for:
If at least one described first posture feature is multiple first posture features, the multiple first posture feature is determined Priority;
The corresponding AR operation of first posture feature of highest priority is determined as the final AR operation.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the AR processing module is used for:
If at least one described first posture feature is multiple first posture features, any one the first posture feature is corresponding AR operation be determined as the final AR operation.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the AR processing module is used for:
The target object in image currently shown to the terminal is highlighted, is stretched, is amplified, is reduced, is atomized, is increased Virtual picture increases at least one of virtual animation, 2D drafting and 3D drafting AR operation.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the module that obtains is also used to carry out increasing void when the target object in the image for currently showing the terminal When quasi- picture or the virtual animation of increase, the second posture feature of user is obtained;
The AR processing module is also used to adjust the increase virtual picture or described according to the second posture feature of user Increase the feature of virtual animation.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the feature for increasing virtual picture includes at least one of the following: the position for increasing virtual picture, size And shape;
The feature for increasing virtual animation include at least one of the following: the position for increasing virtual animation, size with And shape.
The third aspect, the embodiment of the present application provide a kind of image processing equipment, comprising:
Memory and processor;
The memory for storing instruction so that the processor executes described instruction, to realize such as first aspect or Image processing method described in any possible implementation of first aspect.
Optionally, described image processing equipment is terminal.
Fourth aspect, the embodiment of the present application provide a kind of storage medium, comprising: readable storage medium storing program for executing and computer instruction, The computer instruction is stored in the readable storage medium storing program for executing;The computer instruction is for realizing such as first aspect or first Image processing method described in any possible implementation of aspect.
5th aspect, the embodiment of the present application provide a kind of program product, comprising: computer instruction, the computer instruction are deposited Storage is in readable storage medium storing program for executing.At least one processor of image processing equipment reads the computer from readable storage medium storing program for executing and refers to It enables, at least one processor executes the computer instruction and image processing equipment is executed such as first aspect or first aspect times Image processing method described in a kind of possible implementation.
Image processing method, device, equipment and storage medium provided by the embodiments of the present application, when terminal is shot, Obtain at least one first posture feature of user, the figure currently shown according at least one described first posture feature to terminal As carrying out AR processing.Compared to terminal by obtain user input the instruction of voice mode, the instruction of physical button mode or The instruction of text mode can promote AR special effect processing efficiency to the mode that image is handled, and improve the mutual of terminal and user Dynamic property.
Detailed description of the invention
A brief description of the drawings needed to be used in the description of the embodiments or the prior art will be given below.
Fig. 1 is a kind of flow chart for image processing method that one embodiment of the application provides;
Fig. 2 is the flow chart for another image processing method that one embodiment of the application provides;
Fig. 3 is the flow chart for another image processing method that one embodiment of the application provides;
Fig. 4 is a kind of schematic diagram for image processing apparatus 400 that one embodiment of the application provides;
Fig. 5 is a kind of schematic diagram for image processing equipment 500 that one embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
The embodiment of the present application provides a kind of image processing method, when terminal is shot, acquires user by camera Posture feature, the image shown according to posture feature to terminal carries out AR processing.Compared to terminal by obtaining user's input Instruction, the instruction of physical button mode or the instruction of text mode of voice mode can be with to the mode that image is handled AR special effect processing efficiency is promoted, the interactivity of terminal and user is improved.
Terminal involved in this paper is referred to as terminal device, user equipment (user equipment, UE), movement Platform (mobile station, MS), mobile terminal (mobile terminal, MT) etc..Terminal can be mobile phone (mobile Phone), tablet computer (Pad), PC (PC), the computer with radio transmission-receiving function, vehicle mounted guidance terminal, unmanned The wireless terminal etc. in wireless terminal, transportation safety (transportation safety) in (self driving).
It should be noted that terminal involved in this paper has shooting function.It is provided with the physical hardwares such as camera.
" the first posture feature " and " the second posture feature " involved in this paper are used to distinguish different user's posture features, Different posture features is for triggering different image procossing modes, wherein the first posture feature is for terminal according to user's The image that first posture feature currently shows terminal carries out augmented reality AR processing, the second posture feature for terminal according to The second posture feature adjustment at family increases virtual picture or increases the feature of virtual animation, and specific explanations explanation may refer to down That states embodiment is detailed in explanation.
Fig. 1 is a kind of flow chart for image processing method that one embodiment of the application provides, the executing subject of the present embodiment It can be image processing apparatus, which can be the inside chip of terminal or terminal, be also possible to server or server Inside chip, as shown in Figure 1, the method for the present embodiment may include:
Step 101, when terminal is shot, obtain at least one first posture feature of user.
Wherein, terminal carries out the camera collection image that shooting refers specifically to terminal, and claps in the display screen display of terminal Camera shooting function interface, shooting function interface include various UI elements and camera acquired image, which can be preposition Camera is also possible to rear camera.Image processing apparatus can obtain the one or more first of user from the image Posture feature.
A kind of achievable mode, image processing apparatus can to user in image movement (such as gesture, headwork, Face movement) it is identified and is tracked, obtain the first posture feature of one or more of the user.For example, first appearance State feature can be finger pressing face.
Step 102 carries out augmented reality to the image that terminal is currently shown according at least one described first posture feature AR processing.
Wherein, which includes highlighting, stretching, amplifying, reducing, being atomized, increase virtual picture, increase virtual move Picture, 2D are drawn and 3D is drawn etc..The first different posture features can correspond to different AR processing modes.
It is for finger presses face by above-mentioned first posture feature, image processing apparatus can be according to first posture spy The target object levied in the image currently shown to terminal carries out diminution processing, which is face, i.e., control face becomes It is small.Display treated the image on the shooting function interface of terminal, that is, reduce the image of face.Further, image procossing Device gets first posture feature again, i.e. finger presses face, which can be according to first appearance State feature carries out diminution again to the face in treated the image and handles, and shows.
The target object in image currently shown according to the first posture feature of one or more to terminal carries out AR processing Specific implementation can there are many, referring specifically to the explanation of following each embodiments.
The present embodiment obtains at least one first posture feature of user when terminal is shot, according to it is described at least One the first posture feature carries out AR processing to the image that terminal is currently shown.The language inputted compared to terminal by obtaining user Instruction, the instruction of physical button mode or the instruction of text mode of sound mode can promote the mode that image is handled AR special effect processing efficiency improves the interactivity of terminal and user.
Several specific embodiments are used below, and the technical solution of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 2 is the flow chart for another image processing method that one embodiment of the application provides, the execution master of the present embodiment Body can be image processing apparatus, which can be the inside chip of terminal or terminal, be also possible to server or server Inside chip, the present embodiment is a kind of concrete implementation mode of above-mentioned embodiment illustrated in fig. 1, as shown in Fig. 2, the present embodiment Method may include:
Step 201, the mapping relations for establishing at least one first posture feature and at least one AR operation.
Wherein, which can be one-to-one relationship or many-one relationship, or many-one closes System.AR operation includes highlighting, stretching, amplifying, reducing, being atomized, increase virtual picture, increase virtual animation, 2D drafting and 3D Draw etc..
Specifically, can establish the corresponding AR operation of first posture feature, for example, the first posture feature is pressing Target object, the corresponding AR operation of first posture feature is the diminution target object.First posture feature is outer drawing target pair As the corresponding AR operation of first posture feature is the amplification target object.
It can establish first posture feature and correspond to multiple AR operations, for example, the first posture feature is rapid eye movements, it should The corresponding AR operation of first posture feature is amplification eyes, and highlights eyes, i.e., corresponding two AR operation.
It can establish the corresponding AR operation of multiple first posture features, for example, two the first posture features include movement Head position, opening and closing mouth, the corresponding AR operation of two first posture features is the virtual picture of increase.
Above-mentioned mapping relations of establishing can carry out flexible setting with user's use habit according to demand.
Step 202, when terminal is shot, obtain at least one first posture feature of user.
Wherein, the specific explanations of step 202 illustrate the step 101 that may refer to embodiment illustrated in fig. 1, no longer superfluous herein It states.
Step 203 determines at least one described AR according at least one described first posture feature and the mapping relations Operation.
Specifically, image processing apparatus can be special according at least one first posture of the user got in step 202 The mapping relations of sign and above-mentioned steps 201 determine the corresponding AR operation of at least one fisrt feature.
For example, first posture feature of the user got is pressing target object, then according to mapping relations The corresponding AR operation of first posture feature is matched to reduce the target object.
In multiple first posture features for getting user, corresponding AR is matched according to mapping relations respectively and is grasped Make.
Step 204 determines final AR operation at least one described AR operation.
Specifically, image processing apparatus is operated according at least one AR that above-mentioned steps 203 determine, final AR behaviour is determined Make.
A kind of achievable mode determines the priority of the multiple first posture feature, by the first appearance of highest priority The corresponding AR operation of state feature is determined as the final AR operation.
The corresponding AR operation of any one first posture feature is determined as the final AR and grasped by the achievable mode of another kind Make.
Step 205 carries out the final AR operation to the image that the terminal is currently shown.
Specifically, being handled using final AR operation the image that terminal is currently shown, and shows that treated and scheme Picture.
The present embodiment obtains at least one first posture feature of user when terminal is shot, according to it is described at least One the first posture feature and the mapping relations determine at least one AR operation, at least one described AR operation really Fixed final AR operation, carries out the final AR to the image that the terminal is currently shown and operates.Compared to terminal by obtaining Instruction, the instruction of physical button mode or the instruction of text mode for taking the voice mode of family input, handle image Mode, can promote AR special effect processing efficiency, improve the interactivity of terminal and user.
Fig. 3 is the flow chart for another image processing method that one embodiment of the application provides, and the present embodiment is in above-mentioned reality On the basis of applying example, the second posture feature of user can also be identified, and carry out respective image processing, as shown in figure 3, this implementation Example method may include:
Step 301, the second posture feature for obtaining user.
Wherein, the target object in the image currently shown to terminal through the foregoing embodiment carries out increasing virtual picture Or when increasing virtual animation, the second posture feature of user is further obtained.
For example, the first posture feature for obtaining user through the foregoing embodiment is to shake head, the shake head pair The AR operation answered is increases virtual picture, which is specifically the picture of cap, and image processing apparatus currently shows terminal Image carries out the AR operation, i.e., increases the picture of the cap in the image currently shown, to show head in shooting picture Portion with cap AR special efficacy.Further, user touches head by hand, and moves along the direction on the crown to ear Dynamic, then available the second posture feature to the user of the image processing apparatus, i.e. hand touch head, and along head It pushes up mobile to the direction of ear.
Step 302 increases virtual picture or the virtual animation of increase according to the adjustment of the second posture feature of user is described Feature.
Wherein, the feature for increasing virtual picture includes at least one of the following: the position for increasing virtual picture, big Small and shape.The feature for increasing virtual animation includes at least one of the following: the position for increasing virtual animation, size And shape.
Head is touched using above-mentioned second posture feature as hand, and for being moved along the direction on the crown to ear, It is further illustrated, position of the above-mentioned cap relative to face can be adjusted according to second posture feature.
For example, second posture feature is that hand slides from the crown to ear, it can be with according to second posture feature Above-mentioned cap is adjusted to slide from the crown to ear, thus there is the AR special efficacy of cap landing, what terminal can slide the cap AR special efficacy is recorded.
The present embodiment obtains at least one first posture feature of user when terminal is shot, according to it is described at least One the first posture feature and the mapping relations determine at least one AR operation, at least one described AR operation really Fixed final AR operation, carries out the final AR to the image that the terminal is currently shown and operates.Compared to terminal by obtaining Instruction, the instruction of physical button mode or the instruction of text mode for taking the voice mode of family input, handle image Mode, can promote AR special effect processing efficiency, improve the interactivity of terminal and user.
Further, by obtaining the second posture feature of user, the increasing is adjusted according to the second posture feature of user Add virtual picture or the feature for increasing virtual animation, improves the interactivity of terminal and user.
Fig. 4 is a kind of schematic diagram for image processing apparatus 400 that one embodiment of the application provides, as shown in figure 4, the device It include: to obtain module 401 and AR processing module 402.
Module 401 is obtained, for when terminal is shot, obtaining at least one first posture feature of user.
AR processing module 402, image for currently being shown according at least one described first posture feature to terminal into Row augmented reality AR processing.
Optionally, described device can also include mapping block 403, for special according at least one described first posture Levy before the image currently shown to terminal carries out augmented reality AR processing, establish at least one described first posture feature with extremely The mapping relations of few AR operation.Correspondingly, the AR processing module 402 is used for: according at least one described first posture Feature and the mapping relations determine at least one AR operation;Final AR behaviour is determined at least one described AR operation Make;The final AR operation is carried out to the image that the terminal is currently shown.
Optionally, the mapping relations are one-to-one relationship.
Optionally, the AR processing module 402 is used for: if at least one described first posture feature is multiple first postures Feature determines the priority of the multiple first posture feature;By the corresponding AR operation of the first posture feature of highest priority It is determined as the final AR operation.
Optionally, the AR processing module 402 is used for: if at least one described first posture feature is multiple first postures The corresponding AR operation of any one first posture feature is determined as the final AR and operated by feature.
Optionally, the AR processing module 402 is used for: the target object in the image currently shown to the terminal carries out At least one of highlight, stretch, amplifying, reducing, being atomized, increase virtual picture, increase virtual animation, 2D drafting and 3D drafting AR operation.
Optionally, it is described obtain module 401 be also used to when the target object in the image that currently be shown to the terminal into When row increases virtual picture or increases virtual animation, the second posture feature of user is obtained;The AR processing module 402 is also used to The feature for increasing virtual picture or the virtual animation of increase is adjusted according to the second posture feature of user.
Optionally, the feature for increasing virtual picture include at least one of the following: the position for increasing virtual picture, Size and shape;The feature for increasing virtual animation includes at least one of the following: the position for increasing virtual animation, big Small and shape.
Image processing apparatus provided by the present application can be used for executing above-mentioned image processing method, and content and effect exist This is repeated no more.
Fig. 5 is a kind of schematic diagram for image processing equipment 500 that one embodiment of the application provides, as shown in figure 5, the equipment It include: memory 501, processor 502 and transceiver 503.
Memory 501 for storing instruction so that processor 502 executes instruction, to realize above-mentioned image processing method.
Transceiver 503 is communicated for realizing between other equipment.
Processor 502 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), number letter Number processing equipment (Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), control Device, microcontroller, microprocessor or other electronic components are realized.
Memory 501 can realize by any kind of volatibility or non-volatile memory device or their combination, Such as static random access memory (Static Random Access Memory, SRAM), the read-only storage of electrically erasable Device (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable programmable is only It reads memory (Erasable Programmable Read-Only Memory, EPROM), programmable read only memory (Programmable read-only memory, PROM), read-only memory (Read-Only Memory, ROM), magnetic storage Device, flash memory, disk or CD.
Image processing equipment provided by the present application can be used for executing above-mentioned image processing method, and content and effect exist This is repeated no more.
The image processing equipment can be any one terminal.
The application also provides a kind of storage medium, comprising: readable storage medium storing program for executing and computer instruction, the computer instruction It is stored in the readable storage medium storing program for executing;At the image that the computer instruction provides for realizing aforementioned either method embodiment Reason method.
The embodiment of the present application also provides a kind of program product, which includes computer instruction (i.e. computer journey Sequence), which is stored in readable storage medium storing program for executing.At least one processor of image processing equipment can be from readable Storage medium reads the computer instruction, at least one processor execute the computer instruction make image processing equipment implement before The image processing method of any embodiment offer is provided.
Above-mentioned image processing equipment in the specific implementation, it should be understood that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware processor Execute completion, or in processor hardware and software module combination execute completion.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes: read-only memory (English Text: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, solid state hard disk, tape (English: magnetic Tape), floppy disk (English: floppy disk), CD (English: optical disc) and any combination thereof.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (20)

1. a kind of image processing method characterized by comprising
When terminal is shot, at least one first posture feature of user is obtained;
Augmented reality AR processing is carried out to the image that terminal is currently shown according at least one described first posture feature.
2. the method according to claim 1, wherein described at least one first posture feature according to is to end Before holding the image currently shown to carry out augmented reality AR processing, further includes:
Establish the mapping relations of at least one described first posture feature and at least one AR operation;
It is correspondingly, described that AR processing is carried out to the image that terminal is currently shown according to first posture feature, comprising:
At least one AR operation is determined according at least one described first posture feature and the mapping relations;
Final AR operation is determined at least one described AR operation;
The final AR operation is carried out to the image that the terminal is currently shown.
3. according to the method described in claim 2, it is characterized in that, the mapping relations are one-to-one relationship.
4. according to the method described in claim 3, it is characterized in that, if at least one described first posture feature is multiple first Posture feature then determines final AR operation at least one described AR operation, comprising:
Determine the priority of the multiple first posture feature;
The corresponding AR operation of first posture feature of highest priority is determined as the final AR operation.
5. according to the method described in claim 3, it is characterized in that, if at least one described first posture feature is multiple first Posture feature then determines final AR operation at least one described AR operation, comprising:
The corresponding AR operation of any one first posture feature is determined as the final AR operation.
6. according to the described in any item methods of claim 2-5, which is characterized in that the image currently shown to the terminal Carry out the final AR operation, comprising:
The target object in image currently shown to the terminal is highlighted, is stretched, being amplified, being reduced, is atomized, being increased virtually Picture increases at least one of virtual animation, 2D drafting and 3D drafting AR operation.
7. according to the method described in claim 6, it is characterized in that, when the target pair in the image currently shown to the terminal When as increase virtual picture or increase virtual animation, the method also includes:
Obtain the second posture feature of user;
The feature for increasing virtual picture or the virtual animation of increase is adjusted according to the second posture feature of user.
8. the method according to the description of claim 7 is characterized in that the feature for increasing virtual picture includes following at least one : position, size and the shape for increasing virtual picture;
The feature for increasing virtual animation includes at least one of the following: position, size and the shape for increasing virtual animation Shape.
9. a kind of image processing apparatus characterized by comprising
Module is obtained, for when terminal is shot, obtaining at least one first posture feature of user;
AR processing module, it is existing for enhance to the image that terminal is currently shown according at least one described first posture feature Real AR processing.
10. device according to claim 9, which is characterized in that described device further includes mapping block, for according to institute Before stating the image progress augmented reality AR processing that at least one first posture feature currently shows terminal, foundation is described at least The mapping relations of one the first posture feature and at least one AR operation;
Correspondingly, the AR processing module is used for:
At least one AR operation is determined according at least one described first posture feature and the mapping relations;
Final AR operation is determined at least one described AR operation;
The final AR operation is carried out to the image that the terminal is currently shown.
11. device according to claim 10, which is characterized in that the mapping relations are one-to-one relationship.
12. device according to claim 11, which is characterized in that the AR processing module is used for:
If at least one described first posture feature is multiple first posture features, the excellent of the multiple first posture feature is determined First grade;
The corresponding AR operation of first posture feature of highest priority is determined as the final AR operation.
13. device according to claim 11, which is characterized in that the AR processing module is used for:
If at least one described first posture feature is multiple first posture features, by the corresponding AR of any one first posture feature Operation is determined as the final AR operation.
14. the described in any item devices of 0-13 according to claim 1, which is characterized in that the AR processing module is used for:
The target object in image currently shown to the terminal is highlighted, is stretched, being amplified, being reduced, is atomized, being increased virtually Picture increases at least one of virtual animation, 2D drafting and 3D drafting AR operation.
15. device according to claim 14, which is characterized in that the acquisition module is also used to when current to the terminal When target object in the image of display increase virtual picture or increase virtual animation, the second posture for obtaining user is special Sign;
The AR processing module is also used to adjust the virtual picture of the increase or the increase according to the second posture feature of user The feature of virtual animation.
16. device according to claim 15, which is characterized in that the feature for increasing virtual picture include it is following at least One: position, size and the shape for increasing virtual picture;
The feature for increasing virtual animation includes at least one of the following: position, size and the shape for increasing virtual animation Shape.
17. a kind of image processing equipment characterized by comprising
Memory and processor;
The memory for storing instruction so that the processor execute described instruction, with realize as claim 1-8 it is any Image processing method described in.
18. equipment according to claim 17, which is characterized in that described image processing equipment is terminal or server.
19. a kind of storage medium characterized by comprising readable storage medium storing program for executing and computer instruction, the computer instruction are deposited Storage is in the readable storage medium storing program for executing;The computer instruction for realizing such as described in any item images of claim 1-8 at Reason method.
20. a kind of program product characterized by comprising computer instruction, the computer instruction are stored in readable storage medium storing program for executing In;At least one processor of image processing equipment reads the computer instruction from readable storage medium storing program for executing, at least one processing Device executes the computer instruction and image processing equipment is made to execute such as the described in any item image processing methods of claim 1-8 Method.
CN201810998401.9A 2018-08-29 2018-08-29 Image processing method, device, equipment and storage medium Pending CN109035421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810998401.9A CN109035421A (en) 2018-08-29 2018-08-29 Image processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810998401.9A CN109035421A (en) 2018-08-29 2018-08-29 Image processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109035421A true CN109035421A (en) 2018-12-18

Family

ID=64626056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810998401.9A Pending CN109035421A (en) 2018-08-29 2018-08-29 Image processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109035421A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381210A (en) * 2019-07-22 2019-10-25 深圳传音控股股份有限公司 A kind of virtual reality exchange method and device
CN110896450A (en) * 2019-11-13 2020-03-20 维沃移动通信有限公司 Figure image processing method and electronic equipment
CN111311523A (en) * 2020-03-26 2020-06-19 北京迈格威科技有限公司 Image processing method, device and system and electronic equipment
CN111640192A (en) * 2020-06-05 2020-09-08 上海商汤智能科技有限公司 Scene image processing method and device, AR device and storage medium
CN112053450A (en) * 2020-09-10 2020-12-08 脸萌有限公司 Character display method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127166A (en) * 2016-06-28 2016-11-16 广东欧珀移动通信有限公司 A kind of augmented reality AR image processing method, device and intelligent terminal
CN106774928A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The data processing method and virtual reality terminal of a kind of virtual reality terminal
US9767585B1 (en) * 2014-09-23 2017-09-19 Wells Fargo Bank, N.A. Augmented reality confidential view
CN107885317A (en) * 2016-09-29 2018-04-06 阿里巴巴集团控股有限公司 A kind of exchange method and device based on gesture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9767585B1 (en) * 2014-09-23 2017-09-19 Wells Fargo Bank, N.A. Augmented reality confidential view
CN106127166A (en) * 2016-06-28 2016-11-16 广东欧珀移动通信有限公司 A kind of augmented reality AR image processing method, device and intelligent terminal
CN107885317A (en) * 2016-09-29 2018-04-06 阿里巴巴集团控股有限公司 A kind of exchange method and device based on gesture
CN106774928A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The data processing method and virtual reality terminal of a kind of virtual reality terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381210A (en) * 2019-07-22 2019-10-25 深圳传音控股股份有限公司 A kind of virtual reality exchange method and device
CN110896450A (en) * 2019-11-13 2020-03-20 维沃移动通信有限公司 Figure image processing method and electronic equipment
CN111311523A (en) * 2020-03-26 2020-06-19 北京迈格威科技有限公司 Image processing method, device and system and electronic equipment
CN111311523B (en) * 2020-03-26 2023-09-05 北京迈格威科技有限公司 Image processing method, device and system and electronic equipment
CN111640192A (en) * 2020-06-05 2020-09-08 上海商汤智能科技有限公司 Scene image processing method and device, AR device and storage medium
CN112053450A (en) * 2020-09-10 2020-12-08 脸萌有限公司 Character display method and device, electronic equipment and storage medium
US11836437B2 (en) 2020-09-10 2023-12-05 Lemon Inc. Character display method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN109035421A (en) Image processing method, device, equipment and storage medium
CN110581947B (en) Taking pictures within virtual reality
EP3965003A1 (en) Image processing method and device
KR102098277B1 (en) Visibility improvement method based on eye tracking, machine-readable storage medium and electronic device
US10516830B2 (en) Guided image composition on mobile devices
KR102114377B1 (en) Method for previewing images captured by electronic device and the electronic device therefor
CN109242765B (en) Face image processing method and device and storage medium
WO2019218880A1 (en) Interaction recognition method and apparatus, storage medium, and terminal device
CN111726536A (en) Video generation method and device, storage medium and computer equipment
CN110633008B (en) User interaction interpreter
DE102018103572A1 (en) INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD AND RECORDING MEDIUM
CN104656893B (en) The long-distance interactive control system and method in a kind of information physical space
JP7468588B2 (en) Information processing device, information processing system, and information processing method
JPWO2016194844A1 (en) Wearable device
JP2021516836A (en) Interactive methods in the application scene and mobile terminals and computer programs that execute those methods
CN108712603B (en) Image processing method and mobile terminal
CN111880648B (en) Three-dimensional element control method and terminal
CN112286362A (en) Method, system and storage medium for displaying virtual prop in real environment picture
CN111563855A (en) Image processing method and device
WO2022083118A1 (en) Data processing method and related device
CN112702517B (en) Display control method and device and electronic equipment
KR102312601B1 (en) Visibility improvement method based on eye tracking, machine-readable storage medium and electronic device
JP6999822B2 (en) Terminal device and control method of terminal device
CN116802593A (en) Information processing method, information processing apparatus, and nonvolatile storage medium
CN111103967A (en) Control method and device of virtual object

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: 20181218

RJ01 Rejection of invention patent application after publication