CN109712082A - The method and device of figure is repaired in cooperation - Google Patents

The method and device of figure is repaired in cooperation Download PDF

Info

Publication number
CN109712082A
CN109712082A CN201811482595.3A CN201811482595A CN109712082A CN 109712082 A CN109712082 A CN 109712082A CN 201811482595 A CN201811482595 A CN 201811482595A CN 109712082 A CN109712082 A CN 109712082A
Authority
CN
China
Prior art keywords
picture
repaired
graphic operation
terminal
preset manual
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.)
Granted
Application number
CN201811482595.3A
Other languages
Chinese (zh)
Other versions
CN109712082B (en
Inventor
林逸聪
洪炜冬
许清泉
张伟
曾志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201811482595.3A priority Critical patent/CN109712082B/en
Publication of CN109712082A publication Critical patent/CN109712082A/en
Application granted granted Critical
Publication of CN109712082B publication Critical patent/CN109712082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of cooperate to repair the method and device of figure, requests this method comprises: server repairs figure according to the cooperation of terminal, and picture to be repaired is sent at least two terminals that figure is repaired in cooperation;Server receives respectively from least two terminal and repairs graphic operation preset manual and corresponding human face region to the picture to be repaired;The server repairs graphic operation preset manual and corresponding human face region according to, merges into and always repairs graphic operation preset manual;It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual and corresponding human face region;The server respectively at least two terminal send it is described always repair graphic operation preset manual so that at least two terminal respectively always repair graphic operation preset manual and modify to the picture to be repaired that the terminal local saves by basis.The present invention can be realized efficient multiple person cooperational and repair figure.

Description

The method and device of figure is repaired in cooperation
Technical field
The present invention relates to picture process field, in particular to a kind of cooperate repairs method, server, terminal, the system, dress of figure It sets and storage medium.
Background technique
Currently, we can suffer a problem that when being taken a group photo together with mobile phone and more people: exactly when everyone needs Oneself part on photo is respectively reviewed one's lessons by oneself, when being then combined with same picture, process efficiency is very low.Repairing figure includes cutting Cut, mix colours, portrait beauty, beautification, picture synthesis, filter addition etc..
Current solution has following three kinds:
1, by a Ge Ren Lai Xiutu, can be difficult to keep owner all satisfied in this way.
2, the same person repairs figure in turn, but needs owner on the scene in this way, and inefficient.
3, photo, which is sequentially transmitted, repairs figure to the next man, will lead to picture in this way and repeatedly repairs figure preservation, leads to picture effect It is deteriorated and process is cumbersome.
Summary of the invention
It can for this purpose, the present invention provides method, server, terminal, system, device and computers that figure is repaired in a kind of cooperation Read storage medium, with try hard to solve the problems, such as or at least alleviate above existing at least one.
According to an aspect of the invention, there is provided a kind of method for repairing figure that cooperates, executes, the method in the server Include:
Figure request is repaired according to the cooperation of terminal, picture to be repaired is sent at least two terminals that figure is repaired in cooperation;
It is received respectively from least two terminal and graphic operation preset manual and corresponding is repaired to the picture to be repaired Human face region, it is described repair graphic operation preset manual and corresponding human face region be according to the terminal according to user to it is described to It repairs the modification operation of the human face region in picture and records generation;
Graphic operation preset manual and corresponding human face region are repaired according to described, merges into and always repairs graphic operation preset manual; It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual and corresponding people Face region;
Graphic operation preset manual is always repaired at least two terminal transmission is described respectively, so that at least two terminal Respectively according to graphic operation preset manual is always repaired, the picture to be repaired saved to the terminal local is modified.
Optionally, it is described from least two terminals receive respectively to the picture to be repaired repair graphic operation preset manual and Before the step of corresponding human face region, the method also includes:
Judge whether at least two terminal is effect kernel library using same version, generates judging result;
When the judging result, which is, is, then executes to receive respectively from least two terminals and figure is repaired to the picture to be repaired The step of operating procedure inventory and corresponding human face region.
Optionally, it is described judge the step of whether at least two terminal is the effect kernel library using same version it Afterwards, the method also includes:
When the judging result be it is no when, from least two terminal receive user to terminal local save described in It repairs picture and repair figure treated picture after at least two processing;
A Target Photo will be merged into the figure effect of repairing of picture after at least two processing.
Optionally, the step repaired figure effect and be merged into a Target Photo by picture after at least two processing Suddenly include:
All faces after at least two processing in picture are detected, candidate face frame is obtained;
All candidate face frames are traversed to be identified, same face are judged whether it is, to get same face Region after at least two processing in picture;
The exposure mask of face is done to the region, and makes opacity decaying from inside to outside of smoothing algorithm;
Judge whether the face in the region does deformation process;
Deformation process was carried out when being judged as, the deflection graph of its Sino-U.S.'s type is calculated with inverse U.S. type algorithm, then deflection graph is imitated Fruit is on the Target Photo with exposure mask.
Optionally, the step repaired figure effect and be merged into a Target Photo by picture after at least two processing Suddenly further include:
Judge whether region uses stick picture disposing everywhere in the face;
If it is determined that having used stick picture disposing, then merge the pixel in picture everywhere using blending algorithm.
According to another aspect of the present invention, a kind of method for cooperating and repairing figure is provided, is executed in the terminal, the method packet It includes:
Obtain picture to be repaired;
The modification of the human face region on the picture to be modified is operated according to user, it is clear to repair graphic operation step described in record Single and corresponding human face region;
Graphic operation preset manual and corresponding human face region are repaired to described in server transmission;
Graphic operation preset manual is always repaired from server reception;The graphic operation preset manual of always repairing includes that figure is repaired in each collaboration All terminals send repair graphic operation preset manual and corresponding human face region;
Graphic operation preset manual is always repaired according to described, the picture to be modified saved to terminal local repair at figure Reason, generates modified picture;And it shows.
According to another aspect of the present invention, it provides a kind of cooperate and repairs the device of figure, reside in server, comprising:
Transmission unit repairs figure request according to the cooperation of terminal, and picture to be repaired is sent at least two ends that figure is repaired in cooperation End;
Receiving unit receives respectively from least two terminals and repairs graphic operation preset manual and right to the picture to be repaired The human face region answered, it is described to repair graphic operation preset manual and corresponding human face region is according to user according to the terminal to institute It states the modification operation of the human face region in picture to be modified and records generation;
Combining unit repairs graphic operation preset manual and corresponding human face region according to described, merges into and always repair graphic operation Preset manual;It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual and Corresponding human face region;
Transmission unit, respectively at least two terminal send it is described always repair graphic operation preset manual so that it is described extremely Few two terminals respectively according to graphic operation preset manual is always repaired, modify by the picture to be repaired saved to the terminal local.
Optionally, the device, further includes:
Judging unit judges whether at least two terminal is effect kernel library using same version, generates judgement As a result;When the judging result, which is, is, then start receiving unit.
According to another aspect of the present invention, it provides a kind of cooperate and repairs the device of figure, reside in terminal, comprising:
Acquiring unit, for obtaining picture to be repaired;
Recording unit operates the modification of the human face region on the picture to be modified according to user, repairs figure described in record Operating procedure inventory and corresponding human face region;
Transmission unit repairs graphic operation preset manual and corresponding human face region to described in server transmission;
Receiving unit, for always repairing graphic operation preset manual from server reception;It is described always to repair graphic operation preset manual packet Include it is each cooperate with repair figure terminal send repair graphic operation preset manual and corresponding human face region;
Processing unit, for always repairing graphic operation preset manual according to described, to the picture to be modified locally saved into Row repairs figure processing, generates modified picture;
Display unit, for showing the modified picture.
According to another aspect of the present invention, a kind of server is provided, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute State one or more processors execution, one or more of programs include for either executing in method as described above method Instruction.
According to another aspect of the present invention, a kind of terminal is provided, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute One or more processors execution is stated, one or more of programs include the instruction for executing method as described above.
According to another aspect of the present invention, a kind of computer-readable storage medium for storing one or more programs is provided Matter, one or more of programs include instruction, and described instruction is when server executes, so that the server executes institute as above Method either in the method stated.
According to another aspect of the present invention, provide it is a kind of cooperate repair figure system, including server as described above and At least two terminals as described above.
According to the present invention cooperate repairs the scheme of figure, mainly by cloud simultaneous techniques be dissolved into it is traditional repair in diagram technology, allow User can cooperate together and repair figure, solve the pain spot that more people's group photos need to repair figure but inefficiency.
Detailed description of the invention
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings Face, these aspects indicate the various modes that can practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical appended drawing reference generally refers to identical Component or element.
Fig. 1 shows a kind of cooperate according to an embodiment of the invention and repairs the flow chart (server of the method 100 of figure Side);
Fig. 2 shows the flow chart (servers that the method 200 of figure is repaired in a kind of cooperation according to another embodiment of the present invention Side);
Fig. 3 shows the flow chart (terminal that the method 300 of figure is repaired in a kind of cooperation according to another embodiment of the present invention Side);
Fig. 4 shows the schematic diagram that the device 400 (server side) of figure is repaired in a kind of cooperation described in the embodiment of the present invention.
Fig. 5 shows the schematic diagram that the device 500 (terminal side) of figure is repaired in a kind of cooperation described in the embodiment of the present invention.
Fig. 6 shows the connection schematic diagram that the system 600 of figure is repaired in a kind of cooperation described in the embodiment of the present invention;
Fig. 7 shows a kind of schematic diagram of the calculating equipment 700 described according to embodiments of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Such as Fig. 1, the method (server side) of figure, the method packet are repaired for a kind of cooperation described in the embodiment of the present invention one It includes:
Step 110, server repairs figure request according to the cooperation of terminal, and picture to be repaired is sent to cooperation and repairs at least the two of figure A terminal;
Step 120, server receives respectively from least two terminal and repairs graphic operation step to the picture to be repaired Inventory and corresponding human face region, it is described to repair graphic operation preset manual and corresponding human face region is according to the terminal root The modification of the human face region in the picture to be repaired is operated according to user and records generation;
Step 130, the server repairs graphic operation preset manual and corresponding human face region according to, merges into total Repair graphic operation preset manual;It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation step Inventory and corresponding human face region;
Step 140, the server always repairs graphic operation preset manual at least two terminal transmission is described respectively, makes At least two terminal is obtained respectively according to graphic operation preset manual is always repaired, and the picture to be repaired that the terminal local saves is carried out Modification.In the step, the server, which only needs to merge, repairs graphic operation preset manual, does not need to repair figure, root in server side It according to the figure of repairing that figure step data carry out always of repairing of all users is completed in each terminal side.
It optionally, is complete a terminal side according to the total figure of repairing of figure step progress of repairing of all users in the embodiment At the Target Photo then plus finally fixed issues other terminals.
In above-described embodiment, by cloud simultaneous techniques be dissolved into it is traditional repair in diagram technology, user can cooperate together and repairs Figure solves the pain spot that more people's group photos need to repair figure but inefficiency.
The application scenarios of above-described embodiment are described below.In this application scene, closed based on cloud processing and intelligent rapid image At algorithm, on the basis of conventional mobile phone repairs figure app, addition multiple person cooperational repairs figure function, the specific steps are as follows:
1) group photo is shared with good friend by social activity app.
2) good friend respectively reviews one's lessons by oneself figure,
3) repair the merging of figure result: user fixes upload server after figure.What is uploaded at this time is evidence the number of steps of repairing figure.When with When family clicks synchronous, then the data that app can upload other users use face recognition technology from server sync to local It is merged into above respective user according to evidence the number of steps of other users.
In above scheme, app is equivalent to according to step data reproduction is respective and repairs figure process, it is each for finally showing From figure effect of repairing be synthesized on same picture.
In above scheme, by by cloud simultaneous techniques be dissolved into it is traditional repair in figure app, user can cooperate together and repairs Figure solves more people's group photos and needs to repair the pain spot of figure but inefficiency, and repairs figure app relative to traditional single machine, this function Increase between user can be allowed to interact, preferably developed toward communityization.
As shown in Fig. 2, repairing the method (server side) of figure, the method for a kind of cooperation described in the embodiment of the present invention two Include:
As shown in Fig. 2, this method 200 starts from step S210, server is repaired figure according to the cooperation of terminal and is requested, by figure to be repaired Piece is sent at least two terminals that figure is repaired in cooperation;
Then, 220 are entered step, the server judges whether at least two terminal is effect using same version Fruit kernel library generates judging result;When the judging result, which is, is, step 230 is executed.Otherwise, step 260 is executed.The step In rapid, judge whether terminal is effect kernel library using same version, and if YES, then that summarizes each terminal repairs figure step Data are completed to modify, be repaired if it is not, then summarizing each terminal in server side completion to same picture in respective terminal side Change effect, and is sent to each terminal.
Then, 230 are entered step, server receives respectively from least two terminal and repairs figure to the picture to be repaired Operating procedure inventory and corresponding human face region, it is described to repair graphic operation preset manual and corresponding human face region is according to institute Terminal is stated to operate the modification of the human face region in the picture to be repaired according to user and record generation;
Then, 240 are entered step, the server repairs graphic operation preset manual and corresponding face area according to Domain is merged into and always repairs graphic operation preset manual;The graphic operation preset manual of always repairing includes that at least two terminal is sent Repair graphic operation preset manual and corresponding human face region;
Then, 250 are entered step, the server sends the graphic operation of always repairing at least two terminal respectively and walks Rapid inventory so that at least two terminal is respectively according to always repairing graphic operation preset manual, to terminal local preservation to Picture is repaired to modify.
Then, 260 are entered step, when the judging result is no, the server connects from least two terminal Receive user to the picture to be repaired that terminal local saves repair figure treated at least two handle after picture;
Finally, entering step 270, the server will be merged into the figure effect of repairing of picture after at least two processing One Target Photo.
Wherein, step 270 includes: that the server detects all faces after at least two processing in picture, is obtained To candidate face frame;The server traverses all candidate face frames to be identified, judges whether it is same face, with Get region of the same face after at least two processing in picture;Do the exposure mask of face to the region, and with flat Sliding algorithm does opacity decaying from inside to outside;Judge whether the face in the region does deformation process;When be judged as into It went deformation process, and the deflection graph of its Sino-U.S.'s type was calculated with inverse U.S. type algorithm, then deflection graph effect was used in the mesh with exposure mask It marks on a map on piece.
Further, the server will be merged into a target to the figure effect of repairing of picture after at least two processing The step of picture can also include: to judge whether region uses stick picture disposing everywhere in the face;If it is determined that using Stick picture disposing then merges the pixel in picture everywhere using blending algorithm.
The application scenarios of above description above-described embodiment.
When multiple end user on identical app in use, whether the operation for first determining whether multiple end user is using same version This effect kernel library.
If identical, the operating procedure of user can be directly recorded, and forms an operations list and uploads to clothes It is engaged in end, operations list and being returned to each server-side in only the splicing corresponding face ID of server-side operation.
If it is not the same, the picture that server-side receives is that client forms the picture compression after respective face processing, Size is smaller and precision is not high, saves customer flow and server resource convenient for network transmission.
After server-side receives picture, the picture of compression is restored.What reduction technique here was used is to be directed to With the model of one " effect " enhancing of the various effects training of U.S. figure APP, which is that hundreds of thousands user repairs figure front and back Figure training form, the U.S. compressed picture of figure system app most can ideally be restored, actual test reduction degree is up to 80%.
Also after original picture, all people's object in picture is first detected, obtains candidate face frame, and traverse all face frames and do and know Not, judge whether it is same face.
Same face is got behind the region on the picture that different terminals are sent, a face exposure mask first is done to the region Mask, and opacity decaying is done from inside to outside with smoothing algorithms such as transverse and longitudinal Gausses.
Next, it is determined that whether face does the deformation such as thin face.If having done these deformation, it is calculated with inverse U.S. type algorithm The deflection graph of Sino-U.S.'s type, then by deflection graph effect on the band Target Photo of mask exposure mask, such Target Photo just has Corresponding U.S. type.
Then, judge that region has used which different textures etc. to face everywhere, and with common blending algorithm (positive Folded bottom, colour filter, linear superposition etc.) merge the pixel of picture everywhere
Finally, target figure is returned to each client, so far figure completion is repaired in entire cloud cooperation.
Correspondingly, the present invention also provides a kind of method for cooperating and repairing figure in terminal side.
As shown in figure 3, repairing the method (terminal side) of figure, the method for a kind of cooperation described in another embodiment of the present invention Include:
As shown in figure 3, method 300 starts from step S310.In the step 310, terminal obtains picture to be repaired;
Then, step 320 is executed, the terminal grasps the modification of the human face region on the picture to be modified according to user Make, repairs graphic operation preset manual and corresponding human face region described in record;
Then, step 330 is executed, the terminal repairs graphic operation preset manual and corresponding people to described in server transmission Face region;
Then, step 340 is executed, the terminal always repairs graphic operation preset manual from server reception;It is described always to repair figure behaviour As preset manual include it is each cooperate with repair figure all terminals send repair graphic operation preset manual and corresponding human face region;
Finally, executing step 350, the terminal always repairs graphic operation preset manual according to described, saves to terminal local The picture to be modified carries out repairing figure processing, generates modified picture;And it shows.
In above-described embodiment, terminal repairs figure step data according to each terminal summarized, completes to scheme in respective terminal side Piece repairs figure, reduces the burden of server.
As shown in figure 4, repairing the device 400 of figure for a kind of cooperation described in the embodiment of the present invention, reside in server, wraps It includes:
Transmission unit 410 repairs figure request according to the cooperation of terminal, picture to be repaired is sent to cooperation and repairs at least two of figure Terminal;
Receiving unit 420, from least two terminals receive respectively to the picture to be repaired repair graphic operation preset manual with And corresponding human face region, it is described to repair graphic operation preset manual and corresponding human face region is according to the terminal according to user The modification of human face region in the picture to be modified is operated and records generation;
Combining unit 430 repairs graphic operation preset manual and corresponding human face region according to described, merges into and always repairs figure behaviour Make preset manual;It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual with And corresponding human face region;
Transmission unit 440 always repairs graphic operation preset manual at least two terminal transmission is described respectively, so that described At least two terminals respectively according to graphic operation preset manual is always repaired, modify by the picture to be repaired saved to the terminal local.
Optionally, the device, further includes:
Judging unit 450 judges whether at least two terminal is effect kernel library using same version, and generation is sentenced Disconnected result;When the judging result, which is, is, then start receiving unit.
As shown in figure 5, repairing the device 500 of figure for cooperation described in the embodiment of the present invention, reside in terminal, comprising:
Acquiring unit 510, for obtaining picture to be repaired;
Recording unit 520 operates the modification of the human face region on the picture to be modified according to user, repairs described in record Graphic operation preset manual and corresponding human face region;
Transmission unit 530 repairs graphic operation preset manual and corresponding human face region to described in server transmission;
Receiving unit 540, for always repairing graphic operation preset manual from server reception;It is described always to repair graphic operation preset manual Graphic operation preset manual and corresponding human face region are repaired including what the terminal that figure is repaired in each collaboration was sent;
Processing unit 550, for always repairing graphic operation preset manual according to described, to the picture to be modified locally saved It carries out repairing figure processing, generates modified picture;
Display unit 560, for showing the modified picture.
As shown in fig. 6, for a kind of system that figure is repaired in cooperation described in the embodiment of the present invention, comprising:
Server 610 repairs figure request for the cooperation according to terminal, picture to be repaired is sent to cooperation and repairs at least the two of figure A terminal;It is received respectively from least two terminals and graphic operation preset manual and corresponding face area is repaired to the picture to be repaired Domain, it is described to repair graphic operation preset manual and corresponding human face region to be repaired is changed plan according to user to described according to the terminal The modification of human face region in piece operates and records generation;Graphic operation preset manual and corresponding face area are repaired according to described Domain is merged into and always repairs graphic operation preset manual;The graphic operation preset manual of always repairing includes that at least two terminal is sent Repair graphic operation preset manual and corresponding human face region;The graphic operation of always repairing is sent at least two terminal respectively to walk Rapid inventory so that at least two terminal is respectively according to always repairing graphic operation preset manual, to terminal local preservation to Picture is repaired to modify.
Terminal 620, for obtaining picture to be repaired;The modification of the human face region on the picture to be modified is grasped according to user Make, repairs graphic operation preset manual and corresponding human face region described in record;It is clear to graphic operation step is repaired described in server transmission Single and corresponding human face region;Graphic operation preset manual is always repaired from server reception;It is described always to repair graphic operation preset manual packet Include it is each cooperate with repair figure terminal send repair graphic operation preset manual and corresponding human face region;Figure behaviour is always repaired according to described Make preset manual, the picture to be modified locally saved is carried out to repair figure processing, generates modified picture;It is repaired described in display Picture after changing.
The embodiment of the present invention also provides a kind of server, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute One or more processors execution is stated, one or more of programs include for executing appointing in method as illustrated in figs. 1 and 2 The instruction of one method.
The embodiment of the present invention also provides a kind of terminal, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute One or more processors execution is stated, one or more of programs include the instruction for executing method as described in Figure 3.
Fig. 7 shows the schematic diagram of the server of one embodiment of the invention.As shown in fig. 7, in basic configuration 702 In, it calculates equipment 700 and typically comprises system storage 706 and one or more processor 704.Memory bus 708 can For the communication between processor 704 and system storage 706.
Depending on desired configuration, processor 704 can be any kind of processing, including but not limited to: microprocessor (μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 604 may include such as The cache of one or more rank of on-chip cache 710 and second level cache 712 etc, processor core 714 and register 716.Exemplary processor core 714 may include arithmetic and logical unit (ALU), floating-point unit (FPU), Digital signal processing core (DSP core) or any combination of them.Exemplary Memory Controller 718 can be with processor 704 are used together, or in some implementations, and Memory Controller 718 can be an interior section of processor 704.
Depending on desired configuration, system storage 706 can be any type of memory, including but not limited to: easily The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System storage Device 706 may include operating system 720, one or more is using 722 and program data 724.It is actually more using 722 Bar program instruction is used to indicate processor 704 and executes corresponding operation.In some embodiments, application 722 can arrange To operate processor 704 using program data 724.
Calculating equipment 700 can also include facilitating from various interface equipments (for example, output equipment 742, Peripheral Interface 744 and communication equipment 746) to basic configuration 702 via the communication of bus/interface controller 730 interface bus 740.Example Output equipment 742 include graphics processing unit 748 and audio treatment unit 750.They can be configured as facilitate via One or more port A/V 752 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example If interface 744 may include serial interface controller 754 and parallel interface controller 756, they, which can be configured as, facilitates Via one or more port I/O 758 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.Exemplary communication is set Standby 746 may include network controller 760, can be arranged to convenient for via one or more communication port 764 and one The communication that other a or multiple servers 762 pass through network communication link.
Network communication link can be an example of communication media.Communication media can be usually presented as in such as carrier wave Or computer readable instructions, data structure, program module in the modulated data signal of other transmission mechanisms etc, and can To include any information delivery media." modulated data signal " can such signal, one in its data set or more It is a or it change can the mode of encoded information in the signal carry out.As unrestricted example, communication media can be with Wired medium including such as cable network or private line network etc, and it is such as sound, radio frequency (RF), microwave, infrared (IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein may include depositing Both storage media and communication media.
Calculating equipment 700 can be implemented as server of the invention, include the device for cooperating and repairing figure using 722 at this moment 400, device 400 includes a plurality of program instruction, can indicate that processor 704 executes the cooperation of server side of the present invention and repairs figure side Method.
Calculating equipment 700 also can be implemented as terminal of the invention, include the device for cooperating and repairing figure using 722 at this moment 500, device 500 includes a plurality of program instruction, can indicate that processor 704 executes the cooperation of terminal side of the present invention and repairs drawing method.
Calculating equipment 700 shown in Fig. 7 can be implemented as server or terminal of the invention.Those skilled in the art can be with Understand, calculatings an equipment 700 shown in Fig. 7 only example can when that will calculate equipment 700 and be embodied as server or terminal To increase or delete certain components in the structure shown in figure 7, the present invention does not do the concrete configuration situation of server or terminal Limitation.
A kind of A11: terminal, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute One or more processors execution is stated, one or more of programs include the finger for executing method as claimed in claim 6 It enables.
A12: a kind of computer readable storage medium storing one or more programs, one or more of programs include Instruction, described instruction is when server executes, so that the server executes any in the method as described in claim 1-6 Method.
A13: a kind of system for repairing figure that cooperates, including server as claimed in claim 10 and at least two such as rights are wanted Terminal described in asking 11.
The embodiment of the present invention also provides a kind of computer readable storage medium for storing one or more programs, one Or multiple programs include instruction, described instruction is when server executes, so that the server executes in method as described above Either method.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, knot is not been shown in detail Structure and technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims than feature more features expressly recited in each claim.More precisely, as following As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself As a separate embodiment of the present invention.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined into a module or furthermore be segmented into multiple Submodule.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various technologies described herein are realized together in combination with hardware or software or their combination.To the present invention Method and apparatus or the process and apparatus of the present invention some aspects or part can take insertion tangible media, such as it is soft The form of program code (instructing) in disk, CD-ROM, hard disk drive or other any machine readable storage mediums, Wherein when program is loaded into the machine of such as computer etc, and is executed by the machine, the machine becomes to practice this hair Bright equipment.
In the case where program code executes on programmable computers, mobile terminal generally comprises processor, processor Readable storage medium (including volatile and non-volatile memory and or memory element), at least one input unit, and extremely A few output device.Wherein, memory is configured for storage program code;Processor is configured for according to the memory Instruction in the said program code of middle storage, the method for executing optimizing network speed of the invention.
In addition, be described as herein can be by the processor of computer system or by executing by some in the embodiment The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, Installation practice Element described in this is the example of following device: the device be used for implement as in order to implement the purpose of the invention element performed by Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc. Description plain objects, which are merely representative of, is related to the different instances of similar object, and is not intended to imply that the object being described in this way must Must have the time it is upper, spatially, sequence aspect or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that Language used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this Many modifications and changes are obvious for the those of ordinary skill of technical field.For the scope of the present invention, to this Invent done disclosure be it is illustrative and not restrictive, it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a kind of method for repairing figure that cooperates, executes in the server, which comprises
Figure request is repaired according to the cooperation of terminal, picture to be repaired is sent at least two terminals that figure is repaired in cooperation;
It is received respectively from least two terminal and graphic operation preset manual and corresponding face is repaired to the picture to be repaired Region, it is described to repair graphic operation preset manual and corresponding human face region is according to user according to the terminal to the figure to be repaired The modification of human face region in piece operates and records generation;
Graphic operation preset manual and corresponding human face region are repaired according to described, merges into and always repairs graphic operation preset manual;It is described Always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual and corresponding face area Domain;
Graphic operation preset manual is always repaired at least two terminal transmission is described respectively, so that at least two terminal is distinguished According to graphic operation preset manual is always repaired, the picture to be repaired saved to the terminal local is modified.
2. described to be received respectively from least two terminals to the picture to be repaired according to the method described in claim 1, wherein Before the step of repairing graphic operation preset manual and corresponding human face region, the method also includes:
Judge whether at least two terminal is effect kernel library using same version, generates judging result;
When the judging result, which is, is, then executes to receive respectively from least two terminals and graphic operation is repaired to the picture to be repaired The step of preset manual and corresponding human face region.
3. judging whether at least two terminal is effect using same version according to the method described in claim 2, described After the step of fruit kernel library, the method also includes:
When the judging result is no, the figure to be repaired that user saves terminal local is received from least two terminal Piece repair figure treated picture after at least two processing;
A Target Photo will be merged into the figure effect of repairing of picture after at least two processing.
4. according to the method described in claim 3, described will be merged into the figure effect of repairing of picture after at least two processing The step of one Target Photo includes:
All faces after at least two processing in picture are detected, candidate face frame is obtained;
All candidate face frames are traversed to be identified, judge whether it is same face, to get same face in institute State the region after at least two processing in picture;
The exposure mask of face is done to the region, and makes opacity decaying from inside to outside of smoothing algorithm;
Judge whether the face in the region does deformation process;
Deformation process was carried out when being judged as, the deflection graph of its Sino-U.S.'s type is calculated with inverse U.S. type algorithm, then deflection graph effect is used On the Target Photo with exposure mask.
5. according to the method described in claim 4, described will be merged into the figure effect of repairing of picture after at least two processing The step of one Target Photo further include:
Judge whether region uses stick picture disposing everywhere in the face;
If it is determined that having used stick picture disposing, then merge the pixel in picture everywhere using blending algorithm.
6. a kind of method for repairing figure that cooperates, executes in the terminal, which comprises
Obtain picture to be repaired;
The modification of the human face region on the picture to be modified is operated according to user, repaired described in record graphic operation preset manual with And corresponding human face region;
Graphic operation preset manual and corresponding human face region are repaired to described in server transmission;
Graphic operation preset manual is always repaired from server reception;The graphic operation preset manual of always repairing includes each institute for cooperateing with and repairing figure Have terminal transmission repairs graphic operation preset manual and corresponding human face region;
The terminal always repairs graphic operation preset manual according to described, and the picture to be modified saved to terminal local carries out repairing figure Processing, generates modified picture;And it shows.
7. a kind of cooperate repairs the device of figure, reside in server, comprising:
Transmission unit repairs figure request according to the cooperation of terminal, picture to be repaired is sent at least two terminals that figure is repaired in cooperation;
Receiving unit receives respectively from least two terminals and repairs graphic operation preset manual and corresponding to the picture to be repaired Human face region, it is described repair graphic operation preset manual and corresponding human face region be according to the terminal according to user to it is described to It modifies the modification operation of the human face region in picture and records generation;
Combining unit repairs graphic operation preset manual and corresponding human face region according to described, merges into and always repair graphic operation step Inventory;It is described always repair graphic operation preset manual include at least two terminal send repair graphic operation preset manual and correspondence Human face region;
Transmission unit always repairs graphic operation preset manual at least two terminal transmission is described respectively, so that described at least two A terminal respectively according to graphic operation preset manual is always repaired, modify by the picture to be repaired saved to the terminal local.
8. device according to claim 7, further includes:
Judging unit judges whether at least two terminal is effect kernel library using same version, generates judging result; When the judging result, which is, is, then start receiving unit.
9. a kind of cooperate repairs the device of figure, reside in terminal, comprising:
Acquiring unit, for obtaining picture to be repaired;
Recording unit operates the modification of the human face region on the picture to be modified according to user, repairs graphic operation described in record Preset manual and corresponding human face region;
Transmission unit repairs graphic operation preset manual and corresponding human face region to described in server transmission;
Receiving unit, for always repairing graphic operation preset manual from server reception;The graphic operation preset manual of always repairing includes each What the terminal that figure is repaired in a collaboration was sent repairs graphic operation preset manual and corresponding human face region;
Processing unit repairs the picture to be modified locally saved for always repairing graphic operation preset manual according to described Figure processing, generates modified picture;
Display unit, for showing the modified picture.
10. a kind of server, comprising:
One or more processors;
Memory;With
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described one A or multiple processors execute, and one or more of programs include for executing such as appointing in claim 1-5 the method The instruction of one method.
CN201811482595.3A 2018-12-05 2018-12-05 Method and device for collaboratively repairing picture Active CN109712082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811482595.3A CN109712082B (en) 2018-12-05 2018-12-05 Method and device for collaboratively repairing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811482595.3A CN109712082B (en) 2018-12-05 2018-12-05 Method and device for collaboratively repairing picture

Publications (2)

Publication Number Publication Date
CN109712082A true CN109712082A (en) 2019-05-03
CN109712082B CN109712082B (en) 2020-08-07

Family

ID=66254644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811482595.3A Active CN109712082B (en) 2018-12-05 2018-12-05 Method and device for collaboratively repairing picture

Country Status (1)

Country Link
CN (1) CN109712082B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377574A (en) * 2019-07-15 2019-10-25 腾讯科技(深圳)有限公司 Collaboration processing method and device, storage medium, the electronic device of picture
CN111292224A (en) * 2020-02-18 2020-06-16 维沃移动通信有限公司 Image processing method and electronic equipment
CN112750181A (en) * 2021-01-22 2021-05-04 珠海优特电力科技股份有限公司 Graphic processing method and device, storage medium and electronic equipment
CN113992789A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 Image processing method and device
CN114025215A (en) * 2021-11-04 2022-02-08 深圳传音控股股份有限公司 File processing method, mobile terminal and storage medium
WO2022042680A1 (en) * 2020-08-31 2022-03-03 北京字节跳动网络技术有限公司 Picture processing method and apparatus, device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050047483A (en) * 2003-11-17 2005-05-20 가부시키가이샤 아틀루스 Image processing apparatus
CN102982401A (en) * 2011-10-05 2013-03-20 微软公司 Multi-user and multi-device cooperation
CN103108020A (en) * 2011-11-09 2013-05-15 日本电气株式会社 Service collaboration device, service collaboration method, and computer-readable recording medium
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105531694A (en) * 2013-06-15 2016-04-27 微软技术许可有限责任公司 Showing presence of multiple authors in a spreadsheet
CN105631417A (en) * 2015-12-24 2016-06-01 武汉鸿瑞达信息技术有限公司 Video beautification system and method applied to Internet video live broadcast
CN105787878A (en) * 2016-02-25 2016-07-20 杭州格像科技有限公司 Beauty processing method and device
CN107392110A (en) * 2017-06-27 2017-11-24 五邑大学 Beautifying faces system based on internet
CN107995415A (en) * 2017-11-09 2018-05-04 深圳市金立通信设备有限公司 A kind of image processing method, terminal and computer-readable medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050047483A (en) * 2003-11-17 2005-05-20 가부시키가이샤 아틀루스 Image processing apparatus
CN102982401A (en) * 2011-10-05 2013-03-20 微软公司 Multi-user and multi-device cooperation
CN103108020A (en) * 2011-11-09 2013-05-15 日本电气株式会社 Service collaboration device, service collaboration method, and computer-readable recording medium
CN105531694A (en) * 2013-06-15 2016-04-27 微软技术许可有限责任公司 Showing presence of multiple authors in a spreadsheet
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105631417A (en) * 2015-12-24 2016-06-01 武汉鸿瑞达信息技术有限公司 Video beautification system and method applied to Internet video live broadcast
CN105787878A (en) * 2016-02-25 2016-07-20 杭州格像科技有限公司 Beauty processing method and device
CN107392110A (en) * 2017-06-27 2017-11-24 五邑大学 Beautifying faces system based on internet
CN107995415A (en) * 2017-11-09 2018-05-04 深圳市金立通信设备有限公司 A kind of image processing method, terminal and computer-readable medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377574A (en) * 2019-07-15 2019-10-25 腾讯科技(深圳)有限公司 Collaboration processing method and device, storage medium, the electronic device of picture
CN110377574B (en) * 2019-07-15 2023-08-25 腾讯科技(深圳)有限公司 Picture collaborative processing method and device, storage medium and electronic device
CN111292224A (en) * 2020-02-18 2020-06-16 维沃移动通信有限公司 Image processing method and electronic equipment
CN111292224B (en) * 2020-02-18 2024-01-16 维沃移动通信有限公司 Image processing method and electronic equipment
WO2022042680A1 (en) * 2020-08-31 2022-03-03 北京字节跳动网络技术有限公司 Picture processing method and apparatus, device, and storage medium
US11900726B2 (en) 2020-08-31 2024-02-13 Beijing Bytedance Network Technology Co., Ltd. Picture processing method and apparatus, device, and storage medium
CN112750181A (en) * 2021-01-22 2021-05-04 珠海优特电力科技股份有限公司 Graphic processing method and device, storage medium and electronic equipment
CN112750181B (en) * 2021-01-22 2024-05-31 珠海优特电力科技股份有限公司 Graphics processing method and device, storage medium and electronic equipment
CN113992789A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 Image processing method and device
CN114025215A (en) * 2021-11-04 2022-02-08 深圳传音控股股份有限公司 File processing method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN109712082B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN109712082A (en) The method and device of figure is repaired in cooperation
He et al. Conditional sequential modulation for efficient global image retouching
CN109102483B (en) Image enhancement model training method and device, electronic equipment and readable storage medium
CN109584179A (en) A kind of convolutional neural networks model generating method and image quality optimization method
CN107278288A (en) Dynamic icon restains to improve contrast
CN107609946A (en) A kind of display control method and computing device
CN109859217A (en) The dividing method in pore region and calculating equipment in facial image
CN107730461A (en) Image processing method, apparatus, device and medium
CN112950738B (en) Rendering engine processing method and device, storage medium and electronic equipment
WO2018039936A1 (en) Fast uv atlas generation and texture mapping
CN109409979A (en) Virtual cosmetic method, device and equipment
CN108399605A (en) Image processing method, terminal device and computer readable storage medium
CN107341841A (en) The generation method and computing device of a kind of gradual-change animation
CN107481203A (en) A kind of image orientation filtering method and computing device
CN114170472A (en) Image processing method, readable storage medium and computer terminal
CN112200737B (en) Image processing method and device based on reinforcement learning and storage medium
CN109727211A (en) A kind of image de-noising method, calculates equipment and medium at device
CN113034658A (en) Method and device for generating model map
US11983900B2 (en) Image processing method and apparatus, storage medium, and electronic device
CN116894911A (en) Three-dimensional reconstruction method, three-dimensional reconstruction device, electronic equipment and readable storage medium
CN116206038A (en) Rendering method, rendering device, electronic equipment and storage medium
CN116228544A (en) Image processing method and device and computer equipment
CN108492261A (en) A kind of image enchancing method and computing device
CN115797267A (en) Image quality evaluation method, system, electronic device, and storage medium
CN112785490B (en) Image processing method and device and electronic equipment

Legal Events

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