CN114445970A - Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment - Google Patents
Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment Download PDFInfo
- Publication number
- CN114445970A CN114445970A CN202210361049.4A CN202210361049A CN114445970A CN 114445970 A CN114445970 A CN 114445970A CN 202210361049 A CN202210361049 A CN 202210361049A CN 114445970 A CN114445970 A CN 114445970A
- Authority
- CN
- China
- Prior art keywords
- clothes
- information
- certificate
- certificate photo
- user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000037237 body shape Effects 0.000 claims description 47
- 238000005457 optimization Methods 0.000 claims description 16
- 210000000746 body region Anatomy 0.000 claims description 12
- 230000001815 facial effect Effects 0.000 claims description 12
- 230000011218 segmentation Effects 0.000 claims description 10
- 230000002194 synthesizing effect Effects 0.000 claims description 6
- 230000008859 change Effects 0.000 abstract description 6
- 230000003760 hair shine Effects 0.000 abstract description 3
- 230000037303 wrinkles Effects 0.000 description 12
- 230000033228 biological regulation Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010835 comparative analysis Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/42—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for ticket printing or like apparatus, e.g. apparatus for dispensing of printed paper tickets or payment cards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method, a system and a medium for adjusting a certificate photo of self-service certificate handling equipment, wherein the method comprises the steps of analyzing whether the style of clothes in the certificate photo meets a preset standard or not, and if so, outputting certificate photo information; if not, popping up the style information of the virtual clothes in the first preset range for the user to select, sending the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement, and sending the obtained new certificate photo information to the terminal for displaying. This application carries out certificate through virtual clothes module and shines the clothes and change, has brought the convenience for the user that does not in time trade the clothes, has saved the time. In addition, the clothes of the user are adjusted, the clothes of the user and the body of the user are coordinated, and the appearance image of the user in the certificate photo is improved.
Description
Technical Field
The application relates to the technical field of images, in particular to a method, a system and a medium for adjusting a certificate photo garment for self-service certificate handling equipment.
Background
With the economic development of society, the population flow is more and more frequent, and only with the appearance of various credentials, the user must dress up strictly according to the credentials standard when taking photos. Moreover, the certificate photo can be used for multiple times in many occasions, so the image of the certificate photo is very important, and the self-service certificate handling equipment only uses the shot photo and does not optimize the shot photo.
Therefore, the prior art has defects and needs to be improved.
Disclosure of Invention
In view of the above problems, it is an object of the present invention to provide a method, system and medium for adjusting a certificate photo garment for a self-service certificate authority, which can replace and optimally adjust the certificate photo garment.
The invention provides a certificate photo clothes adjusting method for self-service certificate handling equipment, which comprises the following steps:
acquiring certificate photo information;
obtaining the style information of the certificate photo clothes according to the certificate photo information;
judging whether the style of the certificate photo clothes reaches a preset standard or not, if not, popping up virtual clothes style information in a first preset range for a user to select;
acquiring the style information of virtual clothes in a first preset range selected by a user;
sending the style of the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement;
sending the new certificate photo information obtained by the virtual clothes module processing to a terminal for displaying;
the virtual clothes module comprises a human body region segmentation network Look Into Person system and a human body posture estimation network OpenPose system.
In this scheme, still include:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
In this scheme, still include:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
In this scheme, still include:
acquiring the color information of the certificate photo clothes;
comparing and analyzing the color of the clothes in the certificate photo with the preset certificate photo background color to obtain the coordination degree information of the color of the clothes in the certificate photo and the preset certificate photo background color;
judging whether the certificate photo clothes color co-scheduling is larger than a first preset threshold value or not, and if not, obtaining the information for adjusting the certificate photo clothes color;
sending the clothes color information of the adjusted certificate photo to a clothes fine adjustment module for processing;
and sending the certificate photo information obtained by the processing of the clothes fine tuning module to a terminal for displaying.
In this scheme, still include:
obtaining first virtual center cross information according to the human face information;
obtaining second virtual center cross information according to the body shape information;
judging whether the vertical offset degree of the first virtual center cross and the second virtual center cross is greater than a second preset threshold value or not, and if so, obtaining the information of adjusting the head portrait angle or the body angle of the human body;
and sending the information of the adjusted human head portrait angle or the adjusted human body angle to a terminal for displaying.
In this scheme, still include:
acquiring the central point information of the certificate photo clothes;
judging whether the vertical deviation degree of the center point of the certificate photo clothes and the second virtual center cross is larger than a third preset threshold value or not, and if so, obtaining the information of the adjusted clothes;
and sending the adjusted clothes information to a terminal for displaying.
The invention provides a certificate clothing adjusting system for self-service certificate handling equipment, which comprises a memory and a processor, wherein the memory comprises a certificate clothing adjusting method program for the self-service certificate handling equipment, and the following steps are realized when the certificate clothing adjusting method program for the self-service certificate handling equipment is executed by the processor:
acquiring certificate photo information;
obtaining the style information of the certificate photo clothes according to the certificate photo information;
judging whether the style of the certificate photo clothes reaches a preset standard or not, if not, popping up virtual clothes style information in a first preset range for a user to select;
acquiring the style information of virtual clothes in a first preset range selected by a user;
sending the style of the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement;
sending the new certificate photo information obtained by the virtual clothes module processing to a terminal for displaying;
the virtual clothes module comprises a human body region segmentation network Look Into Person system and a human body posture estimation network OpenPose system.
In this scheme, still include:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
In this scheme, still include:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
In this scheme, still include:
acquiring the color information of the certificate photo clothes;
comparing and analyzing the color of the clothes in the certificate photo with the preset certificate photo background color to obtain the coordination degree information of the color of the clothes in the certificate photo and the preset certificate photo background color;
judging whether the certificate photo clothes color co-scheduling is larger than a first preset threshold value or not, and if not, obtaining the color information of the adjusted certificate photo clothes;
sending the clothes color information of the adjusted certificate photo to a clothes fine adjustment module for processing;
and sending the certificate photo information obtained by the processing of the clothes fine tuning module to a terminal for displaying.
In this scheme, still include:
obtaining first virtual center cross information according to the human face information;
obtaining second virtual center cross information according to the body shape information;
judging whether the vertical offset degree of the first virtual center cross and the second virtual center cross is greater than a second preset threshold value or not, and if so, obtaining the information of adjusting the head portrait angle or the body angle of the human body;
and sending the information of the adjusted human head portrait angle or the adjusted human body angle to a terminal for displaying.
In this scheme, still include:
acquiring central point information of the certificate photo clothes;
judging whether the vertical deviation degree of the center point of the identification photo clothes and the cross of the second virtual center is larger than a third preset threshold value or not, and if yes, obtaining the information of the adjusted clothes;
and sending the adjusted clothes information to a terminal for displaying.
A third aspect of the present invention provides a computer medium, where the computer medium includes a program of a certificate clothing adjusting method for a self-service certificate handling device, and when the program of the certificate clothing adjusting method for the self-service certificate handling device is executed by a processor, the steps of the certificate clothing adjusting method for the self-service certificate handling device according to any one of the above are implemented.
The invention discloses a method, a system and a medium for adjusting a certificate photo of self-service certificate equipment, wherein the method comprises the steps of analyzing whether the style of clothes in the certificate photo meets a preset standard or not, and if so, outputting certificate photo information; if not, popping up the style information of the virtual clothes in the first preset range for the user to select, sending the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement, and sending the obtained new certificate photo information to the terminal for displaying. This application carries out certificate through virtual clothes module and shines the clothes and change, has brought the convenience for the user that does not in time trade the clothes, has saved the time. In addition, the clothes of the user are adjusted, the clothes of the user and the body of the user are coordinated, and the appearance image of the user in the certificate photo is improved.
Drawings
Fig. 1 shows a flow chart of a certificate photo clothes adjustment method for a self-service certificate device according to the invention.
Fig. 2 shows a block diagram of a certificate photo clothes adjustment method for a self-service certificate device according to the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a certificate photo clothes adjustment method for a self-service certificate handling device of the invention:
s102, acquiring certificate photo information;
s104, obtaining the style information of the certificate photo clothes according to the certificate photo information;
s106, judging whether the style of the certificate photo clothes reaches a preset standard, if not, popping up virtual clothes style information in a first preset range for a user to select;
s108, acquiring the style information of the virtual clothes in the first preset range selected by the user;
s110, sending the virtual clothes style in the first preset range selected by the user and the certificate photo to a virtual clothes module for clothes replacement;
and S112, sending the new certificate photo information processed by the virtual clothes module to the terminal for displaying.
According to the embodiment of the invention, the self-service certificate handling equipment identifies whether the clothes style of the user meets the preset standard or not by shooting the photo, and if so, the qualified information of the certificate photo clothes is obtained; if not, acquiring unqualified information of the certificate photo clothes, popping up a virtual clothes style window in a first preset range for a user to select, wherein the virtual clothes style in the first preset range conforms to the preset standard of the certificate photo, and after the user selects the virtual clothes style C in the first preset range, the virtual clothes module processes the virtual clothes style C selected by the user and the certificate photo to obtain the virtual clothes style worn by the userCertificate photoInformation, accomplish user's certificate and shoot, saved the time that the user changed the clothes back and forth.
It should be noted that the virtual clothing module includes a Look int Person system and an openpos system.
According to the embodiment of the invention, the method further comprises the following steps:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
It should be noted that the present invention uses CPVTON as the basic structure, and can naturally deform the virtual garment C according to the body shape of the user, so that the virtual garment in the identification photoCan naturally show the color, material, texture and other detailed characteristics of the clothes, and then the deformed virtual clothesAnd pasting the certificate photo on the corresponding position of the user to finish obtaining the new certificate photo information.
According to the embodiment of the invention, the method further comprises the following steps:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
It should be noted that after the human body key points extracted by the human body posture estimation network openpos system are subjected to secondary processing, the user human body posture information is obtained, the user human body posture and the body shape information obtained by dividing the human body region are subjected to superposition optimization, the body shape optimization information which can ignore the influence of clothes is obtained, and the information is stored in the virtual clothes module.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring the color information of the certificate photo clothes;
comparing and analyzing the color of the clothes in the certificate photo with the preset certificate photo background color to obtain the coordination degree information of the color of the clothes in the certificate photo and the preset certificate photo background color;
judging whether the certificate photo clothes color co-scheduling is larger than a first preset threshold value or not, and if not, obtaining the color information of the adjusted certificate photo clothes;
sending the clothes color information of the adjusted certificate photo to a clothes fine adjustment module for processing;
and sending the certificate photo information obtained by the processing of the clothes fine tuning module to a terminal for displaying.
It should be noted that, the background colors of different identification cards are different, for example, the background color in the identification card is white, the background color of the temporary residence card is red, and the like, and if the white clothes are worn to handle the identification card, the white clothes and the background color are consistent, so that it is difficult to distinguish the clothes of the person from the background color. Therefore, in order to ensure that the certificate photo and the background color can be well-arranged, the certificate photo and the background color are compared to form a coordination schedule to determine, when the coordination degree does not reach a preset threshold value, the certificate photo information is sent to the clothes fine adjustment module to adjust the color, the clothes fine adjustment module comprises a clothes color adjustment unit, and the clothes of the certificate photo can be dyed according to the color selected by a user through the clothes color adjustment unit.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining first virtual center cross information according to the human face information;
obtaining second virtual center cross information according to the body shape information;
judging whether the vertical deviation degrees of the first virtual center cross and the second virtual center cross are larger than a second preset threshold value or not, and if yes, obtaining the information of the human head portrait angle or the human body angle;
and sending the information of the adjusted human head portrait angle or the adjusted human body angle to a terminal for displaying.
The first virtual center cross information is set to the horizontal directionIs vertically arranged asSetting the second virtual center cross information and the horizontal direction asIs vertically arranged as. For example, if the preset threshold of the vertical offset degree of the first virtual center cross and the second virtual center cross is a, then when the vertical offset degree of the first virtual center cross and the second virtual center cross is aWhen the user feels not to be in harmony with the head, the phenomenon that the head portrait of the user is not in harmony with the body is explainedIs composed ofAndthe included angle of (a). At the same time, whenOrWhen the included angle between the horizontal direction X and the preset horizontal direction X is larger than a second preset threshold value AOrAnd when the included angle between the display terminal and the preset vertical direction Y is larger than a second preset threshold value A, the display terminal reminds the user to adjust the sitting posture and displays the adjustment direction.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring the central point information of the certificate photo clothes;
judging whether the vertical deviation degree of the center point of the certificate photo clothes and the second virtual center cross is larger than a third preset threshold value or not, and if so, obtaining the information of the adjusted clothes;
and sending the adjusted clothes information to a terminal for displaying.
It should be noted that by extracting the width L of the certificate photo garment, the middle position of the garment is L/2, and a vertical straight line is drawn according to the measured middle positionL/2 position in a straight lineAbove, for example, the third preset threshold is B whenIf so, the deviation of the certificate photo clothing worn by the user is indicated, and the deviation adjustment value is sent to the terminal for displaying, wherein the deviation adjustment value is used for indicating that the certificate photo clothing worn by the user has the deviationIs composed ofAndthe included angle of (a).
According to the embodiment of the invention, the method further comprises the following steps:
obtaining the wrinkle information of the clothes in the certificate photo according to the certificate photo information;
performing comparative analysis according to the wrinkles of the clothes and the area of the clothes to obtain the wrinkle degree information of the clothes;
judging whether the wrinkle degree of the clothes is larger than a fourth preset threshold value or not, and if so, obtaining wrinkle removing information;
and sending the identification photo wrinkle-removing information to a clothes fine-tuning plate for processing.
It should be noted that clothes are consumables, and wrinkles appear on clothes as time goes by, but the function of the clothes is not affected. When the pincher trees degree of the certificate photo clothes is greater than the fourth threshold value, the pincher trees degree that obtains the certificate photo clothes can influence user's dress image information to with the certificate photo clothes remove the pincher trees information transmission to clothes fine setting plate in order to handle, clothes fine setting plate contains the repairment drawing system, the repairment drawing system can be with pincher trees part change into smoothness and with around coordinate the region.
According to the embodiment, the method further comprises the following steps:
acquiring exposure information of the certificate photo;
judging whether the exposure of the identification photo is in a second preset range or not, and if not, obtaining light adjusting information;
and sending the adjusted light information to the light control module to be intelligently adjusted.
What need explain is, the bright power that the exposure indicates, when the exposure is excessive, the film can seem the colour too dark, and the certificate that shoots is shone will be whitish, influences the shooting effect that the certificate was shone, because the self-service equipment of handling the card is local limited, shoots the seat and shoots the angle and fixes, consequently, when the exposure that the certificate was shone is not when the second presets the scope, the system will adjust exposure information routing to intelligent light control module in order to adjust, intelligent light control module includes advanced battery voltage regulating system and electronic induction system.
According to the embodiment of the invention, the method comprises the following steps:
acquiring virtual clothes information in a third preset range selected by a user;
sending the virtual clothes information in the third preset range selected by the user to a virtual clothes module for processing to obtain art photo information of the user;
and sending the artistic photo information of the user to a terminal for displaying.
It should be noted that the self-service certificate handling equipment can handle related certificates and photos, and can shoot fashion art photos according to virtual clothes in a third preset range, so that the self-service certificate handling equipment is more widely applied, a user can obtain more art photos without changing clothes, the virtual clothes in the third preset range belong to a normal authorized warehouse, and the user has a right of use.
Fig. 2 shows a block diagram of a certificate photo clothes adjusting method for a self-service certificate handling device according to the invention.
As shown in fig. 2, a second aspect of the present invention provides a clothing regulation system 2 for a certificate authority of a self-service certificate handling device, including a memory 21 and a processor 22, where the memory includes a clothing regulation method program for a certificate authority of a self-service certificate handling device, and when executed by the processor, the clothing regulation method program for a certificate authority of a self-service certificate handling device implements the following steps:
acquiring certificate photo information;
obtaining the style information of the certificate photo clothes according to the certificate photo information;
judging whether the style of the certificate photo clothes reaches a preset standard or not, if not, popping up virtual clothes style information in a first preset range for a user to select;
acquiring the style information of the virtual clothes in a first preset range selected by a user;
sending the style of the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement;
and sending the new certificate photo information obtained by the processing of the virtual clothes module to the terminal for displaying.
According to the embodiment of the invention, the self-service certificate handling equipment identifies whether the clothes style of the user meets the preset standard or not by shooting the photo, and if so, the qualified information of the certificate photo clothes is obtained; if not, acquiring unqualified information of the certificate photo clothes, popping up a virtual clothes style window in a first preset range for selection by a user, wherein the virtual clothes style in the first preset range conforms to a preset standard of the certificate photo, and after the user selects a virtual clothes style C in the first preset range, processing the virtual clothes style C selected by the user and the certificate photo by the virtual clothes module to obtain a virtual clothes style worn by the userThe certificate photo information of the user completes the certificate photo shooting of the user, and the time for the user to change the clothes back and forth is saved.
It should be noted that the virtual clothing module includes a Look int Person system and an openpos system.
According to the embodiment of the invention, the method further comprises the following steps:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
It should be noted that the present invention uses CPVTON as the basic structure, and can naturally deform the virtual garment C according to the body shape of the user, so that the virtual garment in the identification photoCan naturally show the color, material, texture and other detailed characteristics of the clothes, and then the deformed virtual clothesAnd pasting the certificate photo on the corresponding position of the user to finish obtaining the new certificate photo information.
According to the embodiment of the invention, the method further comprises the following steps:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
It should be noted that after the human body key points extracted by the human body posture estimation network openpos system are subjected to secondary processing, the user human body posture information is obtained, the user human body posture and the body shape information obtained by dividing the human body region are subjected to superposition optimization, the body shape optimization information which can ignore the influence of clothes is obtained, and the information is stored in the virtual clothes module.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring the color information of the certificate photo clothes;
comparing and analyzing the color of the clothes in the certificate photo with the preset certificate photo background color to obtain the coordination degree information of the color of the clothes in the certificate photo and the preset certificate photo background color;
judging whether the certificate photo clothes color co-scheduling is larger than a first preset threshold value or not, and if not, obtaining the color information of the adjusted certificate photo clothes;
sending the clothes color information of the adjusted certificate photo to a clothes fine adjustment module for processing;
and sending the certificate photo information obtained by the processing of the clothes fine tuning module to a terminal for displaying.
It should be noted that, the background colors of different identification cards are different, for example, the background color in the identification card is white, the background color of the temporary residence card is red, and the like, and if the white clothes are worn to handle the identification card, the white clothes and the background color are consistent, so that it is difficult to distinguish the clothes of the person from the background color. Therefore, in order to ensure that the certificate photo and the background color can be well-arranged, the certificate photo and the background color are compared to form a coordination schedule to determine, when the coordination degree does not reach a preset threshold value, the certificate photo information is sent to the clothes fine adjustment module to adjust the color, the clothes fine adjustment module comprises a clothes color adjustment unit, and the clothes of the certificate photo can be dyed according to the color selected by a user through the clothes color adjustment unit.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining first virtual center cross information according to the human face information;
obtaining second virtual center cross information according to the body shape information;
judging whether the vertical deviation degrees of the first virtual center cross and the second virtual center cross are larger than a second preset threshold value or not, and if yes, obtaining the information of the human head portrait angle or the human body angle;
and sending the information of the adjusted human head portrait angle or the adjusted human body angle to a terminal for displaying.
The first virtual center cross information is set to the horizontal directionIs vertically arranged asSetting the second virtual center cross information and the horizontal direction asIs vertically arranged as. For example, if the preset threshold of the vertical offset degree of the first virtual center cross and the second virtual center cross is a, then when the vertical offset degree of the first virtual center cross and the second virtual center cross is aWhen the user feels not to be in harmony with the head, the phenomenon that the head portrait of the user is not in harmony with the body is explainedIs composed ofAndthe included angle of (a). At the same time, whenOrWhen the included angle between the horizontal direction X and the preset horizontal direction X is larger than a second preset threshold value AOrAnd when the included angle between the included angle and the preset vertical direction Y is larger than a second preset threshold value A, the display terminal reminds the user to adjust the sitting posture and displays the adjustment direction.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring the central point information of the certificate photo clothes;
judging whether the vertical deviation degree of the center point of the certificate photo clothes and the second virtual center cross is larger than a third preset threshold value or not, and if so, obtaining the information of the adjusted clothes;
and sending the adjusted clothes information to a terminal for displaying.
It should be noted that by extracting the width L of the certificate photo garment, the middle position of the garment is L/2, and a vertical straight line is drawn according to the measured middle positionL/2 position in a straight lineAbove, for example, the third preset threshold is B whenIf so, the deviation of the certificate photo clothing worn by the user is indicated, and the deviation adjustment value is sent to the terminal for displaying, wherein the deviation adjustment value is used for indicating that the certificate photo clothing worn by the user has the deviationIs composed ofAndthe included angle of (a).
According to the embodiment of the invention, the method further comprises the following steps:
obtaining the wrinkle information of the clothes in the certificate photo according to the certificate photo information;
performing comparative analysis according to the wrinkles of the clothes and the area of the clothes to obtain the wrinkle degree information of the clothes;
judging whether the wrinkle degree of the clothes is larger than a fourth preset threshold value or not, and if so, obtaining wrinkle removing information;
and sending the identification photo wrinkle-removing information to a clothes fine-tuning plate for processing.
It should be noted that clothes are consumables, and wrinkles appear on clothes as time goes by, but the function of the clothes is not affected. When the pincher trees degree of the certificate photo clothes is greater than the fourth threshold value, the pincher trees degree that obtains the certificate photo clothes can influence user's dress image information to with the certificate photo clothes remove the pincher trees information transmission to clothes fine setting plate in order to handle, clothes fine setting plate contains the repairment drawing system, the repairment drawing system can be with pincher trees part change into smoothness and with around coordinate the region.
According to the embodiment, the method further comprises the following steps:
acquiring exposure information of the certificate photo;
judging whether the exposure of the identification photo is in a second preset range or not, and if not, obtaining light adjusting information;
and sending the adjusted light information to the light control module to be intelligently adjusted.
What need explain is, the bright power that the exposure indicates, when the exposure is excessive, the film can seem the colour too dark, and the certificate that shoots is shone will be whitish, influences the shooting effect that the certificate was shone, because the self-service equipment of handling the card is local limited, shoots the seat and shoots the angle and fixes, consequently, when the exposure that the certificate was shone is not when the second presets the scope, the system will adjust exposure information routing to intelligent light control module in order to adjust, intelligent light control module includes advanced battery voltage regulating system and electronic induction system.
According to the embodiment of the invention, the method comprises the following steps:
acquiring virtual clothes information in a third preset range selected by a user;
sending the virtual clothes information in the third preset range selected by the user to a virtual clothes module for processing to obtain art photo information of the user;
and sending the artistic photo information of the user to a terminal for displaying.
It should be noted that the self-service certificate handling equipment can handle related certificates and photos, and can shoot fashion art photos according to virtual clothes in a third preset range, so that the self-service certificate handling equipment is more widely applied, a user can obtain more art photos without changing clothes, the virtual clothes in the third preset range belong to a normal authorized warehouse, and the user has a right of use.
A third aspect of the present invention provides a computer medium, where the computer medium includes a program of a certificate clothing adjusting method for a self-service certificate handling device, and when the program of the certificate clothing adjusting method for the self-service certificate handling device is executed by a processor, the steps of the certificate clothing adjusting method for the self-service certificate handling device according to any one of the above are implemented.
The invention discloses a method, a system and a medium for adjusting a certificate photo of self-service certificate equipment, wherein the method comprises the steps of analyzing whether the style of clothes in the certificate photo meets a preset standard or not, and if so, outputting certificate photo information; if not, popping up the style information of the virtual clothes in the first preset range for the user to select, sending the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement, and sending the obtained new certificate photo information to the terminal for displaying. This application carries out certificate through virtual clothes module and shines the clothes and change, has brought the convenience for the user that does not in time trade the clothes, has saved the time. In addition, the clothes of the user are adjusted, the clothes of the user and the body of the user are coordinated, and the appearance image of the user in the certificate photo is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Claims (10)
1. A certificate photo clothes adjusting method for self-service certificate handling equipment is characterized by comprising the following steps:
acquiring certificate photo information;
obtaining the style information of the certificate photo clothes according to the certificate photo information;
judging whether the style of the certificate photo clothes reaches a preset standard or not, if not, popping up virtual clothes style information in a first preset range for a user to select;
acquiring the style information of the virtual clothes in a first preset range selected by a user;
sending the style of the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement;
sending the new certificate photo information obtained by the virtual clothes module processing to a terminal for displaying;
the virtual clothes module comprises a human body region segmentation network Look Into Person system and a human body posture estimation network OpenPose system.
2. The method for adjusting the certificate photo clothing for the self-service certificate handling equipment according to claim 1, which is characterized by comprising the following steps:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
3. A method of adjusting a certificate photo garment for a self-service certificate device according to claim 1 or 2, characterized in that it comprises:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
4. The method for adjusting the certificate photo clothing for the self-service certificate handling equipment according to claim 1, which is characterized by comprising the following steps:
acquiring the color information of the certificate photo clothes;
comparing and analyzing the color of the clothes in the certificate photo with the preset certificate photo background color to obtain the coordination degree information of the color of the clothes in the certificate photo and the preset certificate photo background color;
judging whether the certificate photo clothes color co-scheduling is larger than a first preset threshold value or not, and if not, obtaining the information for adjusting the certificate photo clothes color;
sending the clothes color information of the adjusted certificate photo to a clothes fine adjustment module for processing;
and sending the certificate photo information obtained by the processing of the clothes fine tuning module to a terminal for displaying.
5. The certificate photo clothes adjusting method for the self-service certificate handling equipment as recited in claim 2, comprising:
obtaining first virtual center cross information according to the human face information;
obtaining second virtual center cross information according to the body shape information;
judging whether the vertical deviation degrees of the first virtual center cross and the second virtual center cross are larger than a second preset threshold value or not, and if yes, obtaining the information of the human head portrait angle or the human body angle;
and sending the information of the adjusted human head portrait angle or the adjusted human body angle to a terminal for displaying.
6. The method for adjusting the certificate photo clothing for the self-service certificate handling equipment according to claim 5, characterized by comprising the following steps:
acquiring the central point information of the certificate photo clothes;
judging whether the vertical deviation degree of the center point of the certificate photo clothes and the second virtual center cross is larger than a third preset threshold value or not, and if so, obtaining the information of the adjusted clothes;
and sending the adjusted clothes information to a terminal for displaying.
7. A system for adjusting a certificate photo and clothes for self-service certificate handling equipment is characterized by comprising a memory and a processor, wherein the memory comprises a program of a method for adjusting the certificate photo and clothes for self-service certificate handling equipment, and the program of the method for adjusting the certificate photo and clothes for self-service certificate handling equipment realizes the following steps when being executed by the processor:
acquiring certificate photo information;
obtaining the style information of the certificate photo clothes according to the certificate photo information;
judging whether the style of the certificate photo clothes reaches a preset standard or not, if not, popping up virtual clothes style information in a first preset range for a user to select;
acquiring the style information of the virtual clothes in a first preset range selected by a user;
sending the style of the virtual clothes in the first preset range selected by the user and the certificate photo to the virtual clothes module for clothes replacement;
sending the new certificate photo information obtained by the virtual clothes module processing to a terminal for displaying;
the virtual clothes module comprises a human body region segmentation network Look Into Person system and a human body posture estimation network OpenPose system.
8. A certificate photo garment adjustment system for a self-service certificate device according to claim 7, comprising:
segmenting the certificate photo through a human body region segmentation network Look Into Person system to obtain human body facial features and body shape information;
carrying out deformation processing on the style of the virtual clothes in the first preset range selected by the user according to the body shape to obtain deformed virtual clothes;
and synthesizing the virtual clothes with the body shape and the facial features of the human body to obtain new identification photo information and sending the identification photo information to a terminal for displaying.
9. A certificate photo garment adjustment system for a self-service certificate device according to claim 7 or 8, comprising:
evaluating the user certificate photo through a human body posture estimation network OpenPose system to obtain the human body key point information of the user;
performing secondary processing on the key points of the human body of the user to obtain human body posture information of the user;
comparing and analyzing the human body posture information and the body shape information of the user to obtain body shape optimization information;
and sending the body shape optimization information to a virtual clothes module for storage.
10. A computer medium, characterized in that the computer medium comprises a certificate clothing adjusting method program for a self-service certificate device, and the program realizes the steps of the certificate clothing adjusting method for the self-service certificate device according to any one of claims 1 to 6 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210361049.4A CN114445970B (en) | 2022-04-07 | 2022-04-07 | Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210361049.4A CN114445970B (en) | 2022-04-07 | 2022-04-07 | Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114445970A true CN114445970A (en) | 2022-05-06 |
CN114445970B CN114445970B (en) | 2022-09-20 |
Family
ID=81358944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210361049.4A Active CN114445970B (en) | 2022-04-07 | 2022-04-07 | Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114445970B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109344724A (en) * | 2018-09-05 | 2019-02-15 | 深圳伯奇科技有限公司 | A kind of certificate photo automatic background replacement method, system and server |
CN111062777A (en) * | 2019-12-10 | 2020-04-24 | 中山大学 | Virtual fitting method and system capable of reserving example clothes details |
CN111652123A (en) * | 2020-06-01 | 2020-09-11 | 腾讯科技(深圳)有限公司 | Image processing method, image synthesizing method, image processing apparatus, image synthesizing apparatus, and storage medium |
CN112562034A (en) * | 2020-12-25 | 2021-03-26 | 咪咕文化科技有限公司 | Image generation method and device, electronic equipment and storage medium |
CN112581564A (en) * | 2020-12-24 | 2021-03-30 | 咪咕文化科技有限公司 | Image generation method and device, electronic equipment and storage medium |
CN113436058A (en) * | 2021-06-24 | 2021-09-24 | 深圳市赛维网络科技有限公司 | Character virtual clothes changing method, terminal equipment and storage medium |
-
2022
- 2022-04-07 CN CN202210361049.4A patent/CN114445970B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109344724A (en) * | 2018-09-05 | 2019-02-15 | 深圳伯奇科技有限公司 | A kind of certificate photo automatic background replacement method, system and server |
CN111062777A (en) * | 2019-12-10 | 2020-04-24 | 中山大学 | Virtual fitting method and system capable of reserving example clothes details |
CN111652123A (en) * | 2020-06-01 | 2020-09-11 | 腾讯科技(深圳)有限公司 | Image processing method, image synthesizing method, image processing apparatus, image synthesizing apparatus, and storage medium |
CN112581564A (en) * | 2020-12-24 | 2021-03-30 | 咪咕文化科技有限公司 | Image generation method and device, electronic equipment and storage medium |
CN112562034A (en) * | 2020-12-25 | 2021-03-26 | 咪咕文化科技有限公司 | Image generation method and device, electronic equipment and storage medium |
CN113436058A (en) * | 2021-06-24 | 2021-09-24 | 深圳市赛维网络科技有限公司 | Character virtual clothes changing method, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114445970B (en) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7413400B2 (en) | Skin quality measurement method, skin quality classification method, skin quality measurement device, electronic equipment and storage medium | |
US10304166B2 (en) | Eye beautification under inaccurate localization | |
CN106898026B (en) | A kind of the dominant hue extracting method and device of picture | |
EP2131697B1 (en) | Method and system for recommending a product based upon skin color estimated from an image | |
CN109639982A (en) | A kind of image denoising method, device, storage medium and terminal | |
CN109952594A (en) | Image processing method, device, terminal and storage medium | |
CN108537126B (en) | Face image processing method | |
US20070058858A1 (en) | Method and system for recommending a product based upon skin color estimated from an image | |
JP2012098808A (en) | Image processing device, image processing method, and control program | |
CN113610723B (en) | Image processing method and related device | |
CN109785228B (en) | Image processing method, image processing apparatus, storage medium, and server | |
KR101967814B1 (en) | Apparatus and method for matching personal color | |
CN110209266A (en) | A kind of size fit method and device of image | |
CN108694719A (en) | image output method and device | |
CN111914604A (en) | Augmented reality display method for applying hair color to eyebrow | |
CN108734126A (en) | A kind of U.S.'s face method, U.S. face device and terminal device | |
CN115082614A (en) | Highlight generation method and device, computer equipment and storage medium | |
CN114445970B (en) | Certificate photo clothes adjusting method, system and medium for self-service certificate handling equipment | |
CN112218006B (en) | Multimedia data processing method and device, electronic equipment and storage medium | |
CN114187166A (en) | Image processing method, intelligent terminal and storage medium | |
CN112348736A (en) | Method, storage medium, device and system for removing black eye | |
WO2022257386A1 (en) | Method and apparatus for displaying adjustment item of target object, and electronic device | |
CN113379623B (en) | Image processing method, device, electronic equipment and storage medium | |
CN107895343B (en) | Image processing method for quickly and simply blush based on facial feature positioning | |
KR102429863B1 (en) | Method for servicing personal styling |
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 |