WO2020135287A1 - Plastic surgery simulation information processing method, plastic surgery simulation terminal and plastic surgery service terminal - Google Patents

Plastic surgery simulation information processing method, plastic surgery simulation terminal and plastic surgery service terminal Download PDF

Info

Publication number
WO2020135287A1
WO2020135287A1 PCT/CN2019/127252 CN2019127252W WO2020135287A1 WO 2020135287 A1 WO2020135287 A1 WO 2020135287A1 CN 2019127252 W CN2019127252 W CN 2019127252W WO 2020135287 A1 WO2020135287 A1 WO 2020135287A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
plastic
face
simulation
data
Prior art date
Application number
PCT/CN2019/127252
Other languages
French (fr)
Chinese (zh)
Inventor
黄庆武
Original Assignee
甄选医美邦(杭州)网络科技有限公司
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 甄选医美邦(杭州)网络科技有限公司 filed Critical 甄选医美邦(杭州)网络科技有限公司
Publication of WO2020135287A1 publication Critical patent/WO2020135287A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H80/00ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing

Abstract

A plastic surgery simulation image processing method and system, a readable storage medium and a device, which relate to the technical field of image processing. An original image of an subject to undergo plastic surgery is obtained, and facial recognition is performed on the original image to obtain facial feature data. The facial feature data characterizes specific features of a face, and the features of each person's face are different. The facial feature data may be used to determine a corresponding face type, and then face template data corresponding to the face type is selected from a preset face-shaping feature database. The face template data is standard shaping data for the face type. The original image of the subject to undergo plastic surgery is simulated and adjusted by means of the face template data, which may adapt to the specific features of the face. According to the present invention, the simulation and adjustment are more coordinated, and the plastic surgery simulation is more realistically reflected and better meets plastic surgery requirements. The present invention may obtain a plastic surgery simulation effect which is relatively close to reality and more intuitive, and improve the plastic surgery simulation effect.

Description

整形模拟信息处理方法、整形模拟终端和整形服务终端Shaping simulation information processing method, shaping simulation terminal and shaping service terminal
相关申请Related application
本申请要求2018年12月24日申请的,申请号为201811581508.X,名称为“整形模拟信息处理方法、整形模拟终端和整形服务终端”的中国专利申请的优先权,在此将其全文引入作为参考。This application requires the priority of the Chinese patent application filed on December 24, 2018, with the application number 201811581508.X and titled "Plastic Simulation Information Processing Methods, Plastic Simulation Terminals, and Plastic Service Terminals," the full text of which is hereby incorporated Reference.
技术领域Technical field
本发明涉及整形图像技术领域,特别是涉及一种整形模拟信息处理方法、整形模拟终端和整形服务终端。The invention relates to the technical field of plastic images, in particular to a plastic analog information processing method, a plastic analog terminal and a plastic service terminal.
背景技术Background technique
随着社会生活水平的不断提高,求美人士越来越多,促使了医美行业的高速发展。With the continuous improvement of social living standards, more and more people seeking beauty have promoted the rapid development of the medical beauty industry.
传统的整形术前沟通场景通常是:场景1:顾客拿着自己喜欢的照片给医生看,向医生表述:要求医生把自己的某个部位整成照片中的五官形态;缺点是:这个照片中的五官形态,安到顾客的脸上,是否是最合适顾客的五官匹配,或者顾客自己意愿是否真的喜欢,因为术前没有直观的模拟图,容易产生认识上的误区,为术后客诉纠纷埋下伏笔。场景2:整形医生利用三维成像技术得到整形对象的数字模拟原始图像,根据专业整形技术对用户的原始图像给出整形意见,对原始图像进行调整修改,对图像中的眼睛、鼻子、脸部、颏部(下巴)等进行图像拉伸处理,例如眼部放大(双眼皮变宽)、下巴拉伸、瘦脸、鼻头拉伸、面部提升等,得到整形模拟的效果图像,供整形对象参考;缺点是:这种技术形成的图像与真实感有一定距离,而且,操作图像修改需要一定的技能,无论医生还是顾客,都很难快速把图像调整成自己心目中的想要的形态,这样的沟通场景不够流畅,费时长。The traditional pre-plastic surgery communication scene is usually: Scene 1: The customer takes the photo he likes to show to the doctor, and expresses to the doctor: ask the doctor to reshape a part of himself into the facial features in the photo; the disadvantage is: in this photo The facial features that fit on the customer’s face are the most suitable for the customer’s facial features, or whether the customer’s own wishes really like it, because there is no intuitive simulation picture before surgery, which is easy to produce misunderstandings and complain for the postoperative The dispute is buried. Scenario 2: The plastic surgeon uses three-dimensional imaging technology to obtain the digital analog original image of the plastic object. According to the professional plastic technology, he gives plastic opinion to the user's original image, adjusts and modifies the original image, and makes eye, nose, face, Chin (chin) and other image stretching processing, such as eye enlargement (double eyelid widening), chin stretching, face thinning, nose stretching, facial lifting, etc., to obtain the effect image of plastic simulation for plastic object reference; disadvantages Yes: The image formed by this technology has a certain distance from the realism, and the operation of image modification requires certain skills. It is difficult for doctors and customers to quickly adjust the image to the desired form in his mind. Such communication The scene is not smooth enough and takes a long time.
发明内容Summary of the invention
基于此,有必要针对墨盒测试设备成本高的问题,提供一种墨盒检测方法、系统、可读存储介质和设备。Based on this, it is necessary to provide an ink cartridge detection method, system, readable storage medium, and equipment for the problem of high cost of ink cartridge testing equipment.
基于此,有必要针对传统的整形术前沟通过程中,针对场景1中,没有术前模拟图像的问题,以及场景2中,不能快速得到准确表达顾客整形意愿以及整形医生建议的模拟图,提供一种整形模拟信息处理方法、整形模拟终端和整形服务终端。Based on this, it is necessary to provide a simulation image that accurately expresses the customer's plastic surgery wishes and the recommendations of the plastic surgeon in the scene of the traditional pre-plastic surgery communication, the scene 1 without the pre-operative simulated image, and the scene 2 A plastic analog information processing method, a plastic analog terminal and a plastic service terminal.
一种整形模拟信息处理方法,包括以下步骤:A plastic analog information processing method includes the following steps:
获取包含人脸的第一图像,将第一图像经服务器发送至整形服务终端;Obtain the first image containing the human face, and send the first image to the plastic service terminal via the server;
接收整形服务终端经服务器返回的第二图像,其中,第二图像是整形服务终端根据接收的第一修改指令对第一图像进行调整后得到的图像;Receiving a second image returned by the shaping service terminal via the server, where the second image is an image obtained after the shaping service terminal adjusts the first image according to the received first modification instruction;
接收针对第二图像的反馈意见,将反馈意见经服务器发送至整形服务终端。Receive feedback on the second image, and send the feedback to the plastic service terminal via the server.
根据上述整形模拟信息处理方法,其可以应用在整形对象侧,获取包含人脸的第一图像,将第一图像发送至整形服务终端,整形服务终端可以设置在整形医生侧,整形服务终端 在接收到第一图像后,可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像;整形对象一侧可以接收对第二图像的反馈意见,将反馈意见发送至整形服务终端,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。According to the above-mentioned plastic analog information processing method, it can be applied to the plastic object side, obtain the first image containing the face, and send the first image to the plastic service terminal. The plastic service terminal can be set on the plastic doctor side, and the plastic service terminal is receiving After the first image is received, the first modification instruction can be received to adjust the first image to obtain and return the second image; the plastic object side can receive feedback on the second image and send the feedback to the plastic service The terminal realizes the information interaction between the plastic object side and the plastic doctor side on the plastic image, and determines the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can obtain relatively close to the real and more intuitive plastic simulation effect, improve the plastic simulation The preoperative reference role of the effect image.
在其中一个实施例中,第一图像包括待整形对象的原始图像或整形模拟图像。In one of the embodiments, the first image includes an original image or a simulated image of the object to be shaped.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
获取并展示多个整形医生的信息,接收第一选取指令,根据第一选取指令选取目标整形医生的信息,经服务器建立与整形服务终端的通信连接,其中,目标整形医生的信息与整形服务终端相关联。Obtain and display the information of multiple plastic surgeons, receive the first selection instruction, select the information of the target plastic surgeon according to the first selection instruction, establish a communication connection with the plastic service terminal via the server, wherein the information of the target plastic surgeon and the plastic service terminal Associated.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
展示通讯窗口,通过通讯窗口与整形服务终端进行信息交互。Display the communication window, and exchange information with the plastic service terminal through the communication window.
在其中一个实施例中,获取包含人脸的第一图像的步骤包括以下步骤:In one of the embodiments, the step of acquiring the first image containing the face includes the following steps:
获取待整形对象的原始图像,将原始图像发送至服务器,接收服务器返回的人脸特征调整值,根据人脸特征调整值对原始图像进行模拟调节,获得整形模拟图像;Obtain the original image of the object to be reshaped, send the original image to the server, receive the facial feature adjustment value returned by the server, and adjust the original image according to the facial feature adjustment value to obtain the plastic simulation image;
其中,服务器对原始图像进行人脸识别,获取待整形对象的人脸特征数据;对人脸特征数据与预设的整形人脸特征数据库进行匹配分析,获取人脸特征调整值。Among them, the server performs face recognition on the original image to obtain the face feature data of the object to be reshaped; performs matching analysis on the face feature data and the preset shaped face feature database to obtain the face feature adjustment value.
在其中一个实施例中,获取待整形对象的原始图像的步骤包括以下步骤:In one of the embodiments, the step of acquiring the original image of the object to be shaped includes the following steps:
获取待整形对象的正面图像和多张侧面图像。Obtain the front image and multiple side images of the object to be shaped.
在其中一个实施例中,获取待整形对象的人脸特征数据的步骤包括以下步骤:In one of the embodiments, the step of acquiring face feature data of the object to be shaped includes the following steps:
获取待整形对象的脸部区域特征点,根据脸部区域特征点对脸部进行分区,获取各分区的特征数据以及脸部的轮廓数据;其中,各分区包括眼部、鼻部、嘴部、面部和颏部,特征数据包括当前分区的位置数据以及当前分区和其他分区之间的相对位置数据。Obtain the feature points of the face area of the object to be shaped, partition the face according to the feature points of the face area, and obtain the feature data of each area and the contour data of the face; where each area includes the eye, nose, mouth, For the face and chin, the feature data includes position data of the current partition and relative position data between the current partition and other partitions.
在其中一个实施例中,对人脸特征数据与预设的整形人脸特征数据库进行匹配分析的步骤包括以下步骤:In one of the embodiments, the step of performing matching analysis on the face feature data and the preset plastic face feature database includes the following steps:
将人脸特征数据与人脸特征预设值进行比较,确定人脸类型,在整形人脸特征数据库中获取与人脸类型相匹配的第一子数据库,根据人脸特征数据在第一子数据库中搜索匹配数据,其中,匹配数据与人脸特征数据的相似度大于或等于预设值;Compare the face feature data with the face feature preset value to determine the face type, obtain the first sub-database matching the face type in the plastic face feature database, and based on the face feature data in the first sub-database Search matching data in, where the similarity between the matching data and the face feature data is greater than or equal to the preset value;
获取人脸特征调整值的步骤还包括以下步骤:The step of obtaining the adjustment value of face features also includes the following steps:
获取人脸特征数据与匹配数据的比值,根据比值获取人脸特征调整值,其中,人脸特征调整值在比值和数值1之间。Obtain the ratio of the facial feature data to the matching data, and obtain the facial feature adjustment value according to the ratio, where the facial feature adjustment value is between the ratio and the value 1.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
接收第二选取指令,第二选取指令用于在各分区中选取第一目标分区;Receiving a second selection instruction, the second selection instruction is used to select a first target partition among the partitions;
其中,服务器根据除第一目标分区以外的其他分区的特征数据,在整形人脸特征数据库选取第二子数据库,对第一目标分区的特征数据与第二子数据库进行匹配分析;其中,第二子数据库中的人脸特征数据与第一目标分区以外的其他分区的特征数据相匹配。Among them, the server selects the second sub-database from the plastic face feature database based on the feature data of other partitions except the first target partition, and performs matching analysis on the feature data of the first target partition and the second sub-database; The face feature data in the sub-database matches the feature data of other partitions than the first target partition.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
接收第二修改指令,根据第二修改指令对整形模拟图像进行特征数据微调;Receive the second modification instruction, and fine-tune the characteristic data of the shaped analog image according to the second modification instruction;
或者,接收第三修改指令,第三修改指令用于重新在各分区中选取第一目标分区。Alternatively, a third modification instruction is received, and the third modification instruction is used to reselect the first target partition among the partitions.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
接收针对第二目标分区的触发指令,其中,触发指令用于在整形人脸特征数据库中选取多个备选的分区图像,各分区图像的分区类型与第二目标分区的分区类型相同;Receiving a trigger instruction for the second target partition, where the trigger instruction is used to select multiple candidate partition images in the plastic face feature database, and the partition type of each partition image is the same as the partition type of the second target partition;
显示各分区图像,接收第三选取指令,其中,第三选取指令用于在各分区图像中选取目标分区图像;Display images of each partition, and receive a third selection instruction, where the third selection instruction is used to select a target partition image from each partition image;
将目标分区图像融合到原始图像中对应第二目标分区的位置。The target partition image is fused to the position of the second target partition in the original image.
在其中一个实施例中,将目标分区图像融合到原始图像中对应第二目标分区的位置的步骤包括以下步骤:In one of the embodiments, the step of fusing the target partition image to the position of the second target partition in the original image includes the following steps:
获取第二目标分区的图像大小、位置和颜色数据,根据图像大小、位置和颜色数据对目标分区图像进行调整,将原始图像中对应第二目标分区的部位替换成调整后的图像,并对调整后的图像与原始图像的对接边缘进行模糊处理。Obtain the image size, position and color data of the second target partition, adjust the target partition image according to the image size, position and color data, replace the part of the original image corresponding to the second target partition with the adjusted image, and adjust The butt edge of the original image and the original image are blurred.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
若反馈意见为代表同意的信息,根据第二图像构建三维图像并显示。If the feedback is information agreed by the representative, a three-dimensional image is constructed based on the second image and displayed.
在其中一个实施例中,整形模拟信息处理方法还包括以下步骤:In one of the embodiments, the shaping analog information processing method further includes the following steps:
接收修饰指令,根据修饰指令对三维图像进行修饰,获得最终图像并显示。Receive a modification instruction, modify the three-dimensional image according to the modification instruction, obtain and display the final image.
一种整形模拟终端,用于获取包含人脸的第一图像,将第一图像经服务器发送至整形服务终端;接收整形服务终端经服务器返回的第二图像,接收针对第二图像的反馈意见,将反馈意见经服务器发送至整形服务终端;其中,第二图像是整形服务终端根据接收的修改指令对第一图像进行调整后得到的图像。A plastic simulation terminal for acquiring a first image containing a human face, and sending the first image to a plastic service terminal via a server; receiving a second image returned by the plastic service terminal via the server, and receiving feedback for the second image, Send the feedback to the shaping service terminal via the server; where the second image is an image obtained after the shaping service terminal adjusts the first image according to the received modification instruction.
根据上述整形模拟终端,可以应用在整形对象侧,整形模拟终端获取包含人脸的第一图像,将第一图像发送至整形服务终端,整形服务终端可以设置在整形医生侧,整形服务终端在接收到第一图像后,可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;整形模拟终端可以接收对第二图像的反馈意见,将反馈意见发送至整形服务终端,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。According to the above-mentioned plastic simulation terminal, it can be applied on the plastic object side. The plastic simulation terminal obtains the first image containing the face and sends the first image to the plastic service terminal. The plastic service terminal can be set on the plastic doctor side, and the plastic service terminal is receiving After the first image is received, the first modification instruction can be received to adjust the first image to obtain and return the second image to the plastic simulation terminal; the plastic simulation terminal can receive feedback on the second image and send the feedback To the plastic service terminal, to realize the information interaction between the plastic object side and the plastic doctor side on the plastic image, to determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can get relatively close to the real and more intuitive plastic simulation effect. Improve the pre-operative reference effect of plastic simulation images.
一种整形模拟信息处理方法,包括以下步骤:A plastic analog information processing method includes the following steps:
接收包含人脸的第一图像;其中,第一图像是整形模拟终端经服务器发送的;Receiving a first image containing a human face; wherein, the first image is sent by the shaping analog terminal via the server;
接收第一修改指令,根据第一修改指令对第一图像进行调整,获得第二图像,并将第二图像经服务器发送至整形模拟终端;Receiving the first modification instruction, adjusting the first image according to the first modification instruction, obtaining the second image, and sending the second image to the shaping simulation terminal via the server;
接收针对第二图像的反馈意见;其中,反馈意见是整形服务终端经服务器发送的;Receive feedback for the second image; where the feedback is sent by the shaping service terminal via the server;
若反馈意见为代表同意的信息,保存第二图像。If the feedback is information agreed by the representative, save the second image.
根据上述整形模拟信息处理方法,其可以应用在整形医生侧,接收整形模拟终端发送的包含人脸的第一图像,之后可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;从整形模拟终端可以接收针对第二图像的反馈意见,在反馈意见代表同意的信息时,保存第二图像,该第二图像可以作为整形模拟效果图像,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。According to the above-mentioned plastic simulation information processing method, it can be applied on the side of the plastic surgeon to receive the first image containing the face sent by the plastic simulation terminal, and then can receive the first modification instruction to adjust the first image to obtain and return The second image to the plastic simulation terminal; from the plastic simulation terminal, you can receive feedback on the second image, and when the feedback represents the agreed information, save the second image, which can be used as a plastic simulation effect image to achieve plastic objects The information exchange between the side and the plastic surgeon's side of the plastic image can determine the image of the plastic simulation effect relatively quickly, which is more in line with the needs of plastic surgery, and can obtain a relatively close to the real and more intuitive plastic simulation effect, and improve the pre-operative image of the plastic simulation effect Reference role.
一种整形服务终端,整形服务终端用于接收包含人脸的第一图像;接收第一修改指令,根据第一修改指令对第一图像进行调整,获得第二图像,并将第二图像经服务器发送至整形模拟终端;接收针对第二图像的反馈意见;若反馈意见为代表同意的信息,保存第二图像;其中,第一图像和反馈意见是整形模拟终端经服务器发送的。A shaping service terminal for receiving a first image containing a human face; receiving a first modification instruction, adjusting the first image according to the first modification instruction, obtaining a second image, and passing the second image to the server Send to the plastic simulation terminal; receive the feedback for the second image; if the feedback is the information representing the consent, save the second image; where the first image and the feedback are sent by the plastic simulation terminal via the server.
根据上述整形服务终端,其可以应用在整形医生侧,整形服务终端接收整形模拟终端发送的包含人脸的第一图像,之后可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;整形模拟终端发送针对第二图像的反馈意见至整形服务终端,在反馈意见代表同意的信息时,整形服务终端保存第二图像,该第二图像可以作为整形模拟效果图像,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。According to the above-mentioned shaping service terminal, it can be applied on the side of the shaping doctor. The shaping service terminal receives the first image containing the face sent by the shaping simulation terminal, and then can receive the first modification instruction to adjust the first image to obtain and Return the second image to the plastic simulation terminal; the plastic simulation terminal sends feedback on the second image to the plastic service terminal. When the feedback represents the agreed information, the plastic service terminal saves the second image, which can be used as a plastic simulation Effect image, to realize the information interaction between the plastic object side and the plastic surgeon side, to determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can get relatively close to the real and more intuitive plastic simulation effect, improve plastic surgery The pre-operative reference role of the simulated effect image.
附图说明BRIEF DESCRIPTION
图1是一个实施例中整形模拟信息处理方法的应用场景图;FIG. 1 is an application scenario diagram of a method for processing plastic analog information in an embodiment;
图2是一个实施例中整形模拟信息处理方法的流程示意图;2 is a schematic flow chart of a method for processing plastic analog information in an embodiment;
图3是另一个实施例中整形模拟信息处理方法的流程示意图;FIG. 3 is a schematic flowchart of a method for processing plastic analog information in another embodiment;
图4是一个实施例中整形模拟信息处理方法的交互示意图;4 is an interactive schematic diagram of a method for processing plastic analog information in an embodiment;
图5是一个实施例中整形模拟信息处理方法的具体应用流程简图。FIG. 5 is a schematic diagram of a specific application flow of a method for processing plastic analog information in an embodiment.
具体实施方式detailed description
为使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不限定本发明的保护范围。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明 相关的部分而非全部内容。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and do not limit the protection scope of the present invention. In addition, it should be noted that, in order to facilitate description, the drawings only show parts related to the present invention rather than all contents.
需要说明的是,本发明实施例所涉及的术语“第一\第二”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。It should be noted that the term “first\second” involved in the embodiment of the present invention is only to distinguish similar objects, and does not represent a specific order for objects. Understandably, “first\second” is allowed The specific order or sequence can be interchanged below. It should be understood that the objects distinguished by “first\second” may be interchanged under appropriate circumstances, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
本申请提供的整形模拟信息处理方法,可以应用于如图1所示的应用环境中,待整形对象(即使用者)使用整形模拟终端获取包含人脸的第一图像,将第一图像经服务器发送至整形医生所用的整形服务终端,整形医生可以对整形服务终端施加第一修改指令,对第一图像进行调整,得到第二图像,并将第二图像发送至整形模拟终端,待整形对象可以在整形模拟终端中输入针对第二图像的反馈意见,整形模拟终端可以将反馈意见发送至整形服务终端,供整形医生参考,从而确定最终的整形模拟效果图像。其中,整形模拟终端和整形服务终端均可以是各种具备获取图像和图像处理功能的设备,如个人计算机、笔记本电脑、掌上电脑、智能手机、平板电脑、便携式可穿戴设备等。The plastic simulation information processing method provided in this application can be applied in the application environment shown in FIG. 1, and the object to be plasticized (ie, the user) uses the plastic simulation terminal to obtain the first image containing the human face, and the first image is passed through the server. Sent to the plastic surgery terminal used by the plastic surgeon. The plastic surgeon can apply the first modification instruction to the plastic surgery terminal, adjust the first image to obtain the second image, and send the second image to the plastic simulation terminal. The object to be shaped can be Enter the feedback for the second image in the plastic simulation terminal. The plastic simulation terminal can send the feedback to the plastic service terminal for reference by the plastic surgeon to determine the final plastic simulation effect image. Among them, the plastic simulation terminal and the plastic service terminal can be various devices with functions of acquiring images and image processing, such as personal computers, notebook computers, palmtop computers, smart phones, tablet computers, portable wearable devices, etc.
参见图2所示,为本发明一个实施例的整形模拟信息处理方法的流程示意图。该实施例中的整形模拟信息处理方法包括以下步骤:Referring to FIG. 2, it is a schematic flowchart of a method for processing shaping analog information according to an embodiment of the present invention. The shaping analog information processing method in this embodiment includes the following steps:
步骤S110:获取包含人脸的第一图像,将第一图像经服务器发送至整形服务终端;Step S110: Acquire a first image containing a human face, and send the first image to the plastic service terminal via the server;
在本步骤中,第一图像中包含需要整形的人脸图像,服务器与整形服务终端之间具备通信链路;In this step, the first image contains the face image that needs to be shaped, and a communication link is provided between the server and the shaping service terminal;
步骤S120:接收整形服务终端经服务器返回的第二图像,其中,第二图像是整形服务终端根据接收的第一修改指令对第一图像进行调整后得到的图像;Step S120: Receive a second image returned by the shaping service terminal via the server, where the second image is an image obtained after the shaping service terminal adjusts the first image according to the received first modification instruction;
在本步骤中,整形服务终端位于整形医生侧,整形医生可以依据自己的专业和经验在整形服务终端中输入第一修改指令,根据第一修改指令对第一图像进行调整修改,得到并返回第二图像;In this step, the orthopaedic service terminal is located on the side of the orthopaedic doctor. The orthopedic doctor can enter the first modification instruction in the orthopedic service terminal according to his profession and experience, adjust and modify the first image according to the first modification instruction, and obtain and return to the first Two images
步骤S130:接收针对第二图像的反馈意见,将反馈意见经服务器发送至整形服务终端。Step S130: Receive feedback opinions for the second image, and send the feedback opinions to the shaping service terminal via the server.
在本步骤中,针对第二图像的反馈意见可以是代表同意的信息,也可以是其他修改意见,若是其他修改意见,可以再次接收修改后的第二图像,利用反馈意见可以确定最后的整形模拟效果图像。In this step, the feedback for the second image can be the information representing the consent or other modification opinions. If there are other modification opinions, the modified second image can be received again, and the feedback can be used to determine the final plastic simulation Effect image.
在本实施例中,整形模拟信息处理方法可以应用在整形对象侧,获取包含人脸的第一图像,将第一图像发送至整形服务终端,整形服务终端可以设置在整形医生侧,整形服务终端在接收到第一图像后,可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像;整形对象一侧可以接收对第二图像的反馈意见,将反馈意见发送至整形服务终端,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图 像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。In this embodiment, the plastic analog information processing method can be applied on the plastic object side, obtain the first image containing the human face, and send the first image to the plastic service terminal. The plastic service terminal can be set on the plastic doctor side, the plastic service terminal After receiving the first image, you can receive the first modification instruction to adjust the first image to obtain and return the second image; the plastic object side can receive feedback on the second image and send the feedback to The plastic service terminal realizes the information interaction between the plastic object side and the plastic doctor side on the plastic image, and determines the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can obtain relatively close to the real and more intuitive plastic simulation effect, improve The pre-operative reference role of the plastic simulation effect image.
在一个实施例中,第一图像包括待整形对象的原始图像或整形模拟图像。In one embodiment, the first image includes an original image or a simulated image of the object to be shaped.
在本实施例中,第一图像可以是待整形对象的原始图像,将原始图像发送至整形服务终端,让整形医生直接对原始图像进行修改,得到专业的整形模拟效果图;或者,将使用者自己调整的整形模拟图像发送至整形服务终端,让整形医生对整形模拟图像进行调整,使整形模拟图像的效果更佳。In this embodiment, the first image may be the original image of the object to be reshaped, and the original image is sent to the reshaping service terminal to allow the plastic surgeon to directly modify the original image to obtain a professional reshaping simulation effect picture; or, the user The plastic simulation images adjusted by yourself are sent to the plastic service terminal, and the plastic surgeon can adjust the plastic simulation images to make the plastic simulation images better.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
获取并展示多个整形医生的信息,接收第一选取指令,根据第一选取指令选取目标整形医生的信息,经服务器建立与整形服务终端的通信连接,其中,目标整形医生的信息与整形服务终端相关联。Obtain and display the information of multiple plastic surgeons, receive the first selection instruction, select the information of the target plastic surgeon according to the first selection instruction, establish a communication connection with the plastic service terminal via the server, wherein the information of the target plastic surgeon and the plastic service terminal Associated.
在本实施例中,在发送第一图像之前,需要先建立与整形服务终端的通信连接,由于不同整形医生有不同的整形服务终端,可以先将多个整形医生的信息给使用者,通过第一选取指令选取使用者想要的目标整形医生的信息,与该目标整形医生的信息对应的整形服务终端建立通信连接,以满足使用者的需要。In this embodiment, before sending the first image, it is necessary to establish a communication connection with the plastic service terminal. Since different plastic doctors have different plastic service terminals, the information of multiple plastic doctors can be given to the user first. A selection instruction selects the information of the target plastic surgeon desired by the user, and establishes a communication connection with the plastic service terminal corresponding to the information of the target plastic surgeon to meet the needs of the user.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
展示通讯窗口,通过通讯窗口与整形服务终端进行信息交互。Display the communication window, and exchange information with the plastic service terminal through the communication window.
在本实施例中,在与整形服务终端建立通信连接的基础上,还可以展示通讯窗口,通过通讯窗口与整形服务终端进行信息交互,实现与整形医生的沟通交流,使整形医生了解使用者对整形的具体需求,以便更快地得到整形模拟效果图像。In this embodiment, on the basis of establishing a communication connection with the orthopaedic service terminal, a communication window can also be displayed, through which the information exchange with the orthopaedic service terminal can realize communication with the orthopedic doctor, so that the orthopedic doctor can understand the user’s The specific needs of plastic surgery, in order to get plastic simulation effect images faster.
在一个实施例中,获取包含人脸的第一图像的步骤包括以下步骤:In one embodiment, the step of acquiring the first image containing the face includes the following steps:
获取待整形对象的原始图像,将原始图像发送至服务器,接收服务器返回的人脸特征调整值,根据人脸特征调整值对原始图像进行模拟调节,获得整形模拟图像;Obtain the original image of the object to be reshaped, send the original image to the server, receive the facial feature adjustment value returned by the server, and adjust the original image according to the facial feature adjustment value to obtain the plastic simulation image;
其中,服务器对原始图像进行人脸识别,获取待整形对象的人脸特征数据;对人脸特征数据与预设的整形人脸特征数据库进行匹配分析,获取人脸特征调整值。Among them, the server performs face recognition on the original image to obtain the face feature data of the object to be reshaped; performs matching analysis on the face feature data and the preset shaped face feature database to obtain the face feature adjustment value.
在本实施例中,获取待整形对象的原始图像,将原始图像发送至服务器进行人脸识别,得到人脸特征数据,对人脸特征数据与预设的整形人脸特征数据库进行匹配分析,获取人脸特征调整值并返回;根据接收到的人脸特征调整值对原始图像进行模拟调节,获得整形模拟图像。通过人脸特征数据与整形人脸特征数据库的数据的匹配得到的人脸特征调整值,对原始图像的模拟调节更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟图像的术前参考作用。In this embodiment, the original image of the object to be shaped is obtained, the original image is sent to the server for face recognition to obtain face feature data, and the face feature data is matched and analyzed with a preset shaped face database to obtain Face feature adjustment value and return; adjust the original image according to the received face feature adjustment value to obtain a plastic analog image. The adjustment value of the face feature obtained by matching the face feature data with the data of the plastic face feature database, the simulation adjustment of the original image is more in line with the needs of plastic surgery, and it can obtain a relatively close to real and more intuitive plastic simulation effect, improve plastic surgery Pre-operative reference function of simulated images.
需要说明的是,原始图像可以通过电子设备的摄像头拍摄获得,或者通过扫描获得;人脸识别时可以分析原始图像中的人脸的特征,进而得到人脸特征数据;整形人脸特征数据 库是预先设定的整形常用的人脸特征素材数据的集合,通过实际的人脸特征数据与整形人脸特征数据库的数据的匹配分析,可以得知人脸特征数据与整形人脸的特征差异,依据此种差异可以获取人脸特征调整值,该人脸特征调整值可以减小特征差异,使调整后的图像中的人脸与整形人脸相逼近,实现整形模拟的效果;在根据人脸特征调整值进行模拟调节时,主要是对人脸特征数据进行调节,可以基于人脸特征点进行图像变形处理。It should be noted that the original image can be captured by the camera of the electronic device or obtained by scanning; during facial recognition, the characteristics of the face in the original image can be analyzed to obtain facial feature data; the plastic face feature database is pre-defined The set of commonly used face feature material data for plastic surgery. Through the matching analysis of the actual face feature data and the data of the plastic face feature database, you can know the difference between the face feature data and the face features. According to this The difference can obtain the face feature adjustment value. The face feature adjustment value can reduce the feature difference, so that the face in the adjusted image is close to the plastic face to achieve the effect of plastic simulation; adjust the value according to the face feature When performing analog adjustment, it is mainly to adjust the facial feature data, and image deformation processing can be performed based on the facial feature points.
另外,服务器在对人脸特征数据与预设的整形人脸特征数据库进行匹配分析时,可以生成并返回一份图像人脸分析报告;在报告中给出以人脸特征调整值为基础的整形建议,在接收到根据整形建议进行修改的确认信息后,对原始图像进行自动模拟调节,完成后给出整形建议报告,包括具体的整形部位、整形方式以及整形效果描述信息。In addition, the server can generate and return an image face analysis report when matching analysis of the face feature data and the preset face facial feature database; the report gives the shape based on the face feature adjustment value It is recommended that after receiving the confirmation information that is modified according to the plastic recommendation, the original image is automatically simulated and adjusted, and after completion, a plastic recommendation report is provided, including specific plastic parts, plastic methods and plastic effect description information.
进一步的,在进行模拟调节时可以使用扩散、锐化、变形算法对图像进行处理。Furthermore, diffusion, sharpening, and deformation algorithms can be used to process images during simulation adjustment.
进一步的,在获取待整形对象的原始图像时,可以划定拍摄区域,如与脸部形状相似的拍摄区域等,在待整形对象的脸部进入拍摄区域时进行拍摄,得得到的原始图像就是所需的脸部图像,如此可减少人脸识别的时间,提高识别的准确度;另外,在获取待整形对象的原始图像时,感应拍摄时的亮度,若亮度小于预设亮度值,则开启闪光灯或者提示亮度不足;在进行人脸识别时,还可以检测人脸上的妆容,提示清洁后再进行整形模拟,若检测到人脸上有配饰,提示取下配饰,如眼镜、假睫毛、鼻钉等。Further, when acquiring the original image of the object to be shaped, the shooting area can be defined, such as a shooting area similar to the shape of the face, etc. When the face of the object to be shaped enters the shooting area, the original image is The required face image can reduce the time of face recognition and improve the accuracy of recognition. In addition, when acquiring the original image of the object to be shaped, it senses the brightness when shooting, if the brightness is less than the preset brightness value, turn on The flash or the brightness is insufficient; during face recognition, you can also detect the makeup on the face, prompt to clean and then perform plastic simulation, if you detect accessories on the face, prompt to remove the accessories, such as glasses, false eyelashes, Nose nails, etc.
在一个实施例中,获取待整形对象的原始图像的步骤包括以下步骤:In one embodiment, the step of acquiring the original image of the object to be shaped includes the following steps:
获取待整形对象的正面图像和多张侧面图像。Obtain the front image and multiple side images of the object to be shaped.
在本实施例中,可以获取待整形对象的多张图像,包括正面图像和侧面图像,正面图像和多张侧面图像是从不同角度获得的图像,以此为依据可以减小光照、角度等影响,使人脸识别更加准确。In this embodiment, multiple images of the object to be shaped can be obtained, including a frontal image and a side image. The frontal image and the multiple side images are images obtained from different angles, based on which the influence of illumination, angle, etc. can be reduced To make face recognition more accurate.
具体的,在实际操作中,可以获取待整形对象的正面图像和两张侧面45度角的侧面图像。Specifically, in actual operation, a front image of the object to be shaped and two side images at a 45-degree angle can be obtained.
进一步的,在得到正面图像和侧面图像后,服务器以此为依据构建3D原始图像模型,利用3D模型算法进行准确的人脸识别。Further, after obtaining the front image and the side image, the server constructs a 3D original image model based on this, and uses the 3D model algorithm to perform accurate face recognition.
在一个实施例中,获取待整形对象的人脸特征数据的步骤包括以下步骤:In one embodiment, the step of acquiring face feature data of the object to be shaped includes the following steps:
获取待整形对象的脸部区域特征点,根据脸部区域特征点对脸部进行分区,获取各分区的特征数据以及脸部的轮廓数据;其中,各分区包括眼部、鼻部、嘴部、面部和颏部,特征数据包括当前分区的位置数据以及当前分区和其他分区之间的相对位置数据。Obtain the feature points of the face area of the object to be shaped, partition the face according to the feature points of the face area, and obtain the feature data of each area and the contour data of the face; where each area includes the eye, nose, mouth, For the face and chin, the feature data includes position data of the current partition and relative position data between the current partition and other partitions.
在本实施例中,在人脸识别之后,可以获取脸部区域特征点,人脸上不同区域部位的特征点分布不同,利用脸部区域特征点可以对脸部区域进行分区,得到如眼部、鼻部、嘴部、面部、颏部等区域的特征数据以及脸部的轮廓数据,特征数据包括当前人脸部位的位置数据以及当前人脸部位和其他部位之间的相对位置数据,以便于对人脸的不同区域进行模拟整形。In this embodiment, after face recognition, facial region feature points can be obtained, and the feature point distribution of different regions on the human face is different. The facial region feature points can be used to partition the facial region to obtain, for example, eye parts. , Nose, mouth, face, chin, etc. and the contour data of the face, the feature data includes the position data of the current face part and the relative position data between the current face part and other parts, In order to simulate and shape different areas of the human face.
具体的,人脸上的特征区域可以包括额头、眼睛、眉毛、眼睑、鼻梁、鼻头、鼻翼、脸颊、嘴巴、颏部(下巴)等,还包括脸部整体轮廓等脸型数据,上述特征区域可以构建不同的特征点,实现对人脸特征区域部位的划分,在获取特征数据时,不仅有特征区域部位自身的数据,还有特征区域部位的位置数据以及与其他特征区域的相对位置数据,以及特征区域部位的颜色、亮度等数据,在整形模拟时综合上述数据可以提高模拟效果的协调性。Specifically, the characteristic regions on the human face may include forehead, eyes, eyebrows, eyelids, nose bridge, nose, nose wings, cheeks, mouth, chin (chin), etc., and also include facial contour data such as the overall contour of the face. Construct different feature points to realize the division of facial feature areas. When acquiring feature data, not only the data of the feature area parts themselves, but also the position data of the feature area parts and the relative position data with other feature areas, and The data such as the color and brightness of the feature area can be integrated in the shaping simulation to improve the coordination of the simulation effect.
进一步的,除了根据人脸识别结果进行脸部区域分区外,还可以手动设置点位进行选取,如接收区域选取指令,在原始图像的人脸上选取指定区域,获取指定区域的特征数据,提高整形模拟的灵活性。Further, in addition to partitioning the face area based on the face recognition results, you can also manually set the points for selection, such as receiving an area selection instruction, selecting a specified area on the face of the original image, and obtaining the characteristic data of the specified area to improve The flexibility of plastic modeling.
进一步的,进行脸部区域分区,并对分区区域的特征数据与预设的整形人脸特征数据库进行匹配分析后,可以获得建议整形的分区区域,获取该分区区域的人脸特征调整值。Further, after partitioning the face area, and matching the feature data of the partition area with the preset plastic face feature database, it is possible to obtain a partition area that is recommended to be shaped and obtain the adjustment value of the face feature of the partition area.
在一个实施例中,对人脸特征数据与预设的整形人脸特征数据库进行匹配分析的步骤包括以下步骤:In one embodiment, the step of performing matching analysis on the face feature data and the preset plastic face feature database includes the following steps:
将人脸特征数据与人脸特征预设值进行比较,确定人脸类型,在整形人脸特征数据库中获取与人脸类型相匹配的第一子数据库,根据人脸特征数据在第一子数据库中搜索匹配数据,其中,匹配数据与人脸特征数据的相似度大于或等于预设值;Compare the face feature data with the face feature preset value to determine the face type, obtain the first sub-database matching the face type in the plastic face feature database, and based on the face feature data in the first sub-database Search matching data in, where the similarity between the matching data and the face feature data is greater than or equal to the preset value;
获取人脸特征调整值的步骤还包括以下步骤:The step of obtaining the adjustment value of face features also includes the following steps:
获取人脸特征数据与整形人脸特征数据库中的匹配数据的比值,根据比值获取人脸特征调整值,其中,人脸特征调整值在比值和数值1之间。Obtain the ratio of the facial feature data to the matching data in the plastic facial feature database, and obtain the facial feature adjustment value according to the ratio, where the facial feature adjustment value is between the ratio and the value 1.
在本实施例中,先利用人脸特征预设值来确定人脸类型,选取与之匹配的第一子数据库,可以利用人脸特征数据与第一子数据库中数据的相似度来确定匹配数据,对人脸特征数据与整形人脸特征数据库进行相似度匹配分析后,可以在整形人脸特征数据库中得到与图像分析后的人脸特征数据相匹配的匹配数据,但与图像分析后的人脸特征数据又不同,计算两者具体特征点的数据的比值,把该比值作为调整值的界限,将人脸特征调整值设置在该比值和数值1之间,利用人脸特征调整值对图像进行模拟调节后,可以将图像中的人脸特征数据与整形人脸数据库中的数据相逼近,实现整形的模拟效果。In this embodiment, the preset value of the face feature is used to determine the face type, and the first sub-database matching it is selected. The similarity between the face feature data and the data in the first sub-database can be used to determine the matching data , After performing similarity matching analysis on the face feature data and the plastic face feature database, you can get matching data in the plastic face feature database that matches the image analyzed face feature data, but it matches the image analyzed person The face feature data is different. Calculate the ratio of the data of the specific feature points of the two, use the ratio as the limit of the adjustment value, set the face feature adjustment value between the ratio and the value 1, use the face feature adjustment value to the image After the simulation adjustment, the facial feature data in the image can be approximated with the data in the plastic face database to achieve the simulation effect of plastic shaping.
进一步的,人脸特征调整值可以是动态的数据,根据待整形对象的需要在比值和数值1之间动态调节。Further, the face feature adjustment value may be dynamic data, which is dynamically adjusted between the ratio and the value 1 according to the needs of the object to be shaped.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
接收第二选取指令,第二选取指令用于在各分区中选取第一目标分区;Receiving a second selection instruction, the second selection instruction is used to select a first target partition among the partitions;
其中,服务器根据除第一目标分区以外的其他分区的特征数据,在整形人脸特征数据库选取第二子数据库,对第一目标分区的特征数据与第二子数据库进行匹配分析;其中,第二子数据库中的人脸特征数据与第一目标分区以外的其他分区的特征数据相匹配。Among them, the server selects the second sub-database from the plastic face feature database based on the feature data of other partitions except the first target partition, and performs matching analysis on the feature data of the first target partition and the second sub-database; The face feature data in the sub-database matches the feature data of other partitions than the first target partition.
在本实施例中,可以通过第二选取指令选取第一目标分区,并根据其他分区的特征数 据在整形人脸特征数据库选取第二子数据库,由于第二子数据库中的人脸特征数据与第一目标分区以外的其他分区的特征数据相匹配,因此对第一目标分区的特征数据与第二子数据库进行匹配分析时,得到的第一目标分区的特征调整值可以使第一目标分区与其他分区相协调,提高对单一分区部位进行整形模拟时的整体协调性。In this embodiment, the first target partition can be selected through the second selection instruction, and the second sub-database can be selected in the plastic face feature database according to the feature data of other partitions. The feature data of other partitions other than a target partition match, so when matching analysis is performed on the feature data of the first target partition and the second sub-database, the feature adjustment value of the first target partition obtained can make the first target partition match other Coordination of partitions improves the overall coordination when performing modeling simulation on a single partition.
需要说明的是,在接收第二选取指令后,将第二选取指令发送至服务器,用于确定第一目标分区,在对第一目标分区的特征数据与第二子数据库进行匹配分析后,服务器可以返回第一目标分区的特征调整值,利用第一目标分区的特征调整值对原始图像进行模拟调节,获得整形模拟图像。It should be noted that after receiving the second selection instruction, the second selection instruction is sent to the server for determining the first target partition. After matching and analyzing the characteristic data of the first target partition with the second sub-database, the server The feature adjustment value of the first target partition may be returned, and the original image is simulated and adjusted by using the feature adjustment value of the first target partition to obtain a plastic analog image.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
接收第二修改指令,根据第二修改指令对整形模拟图像进行特征数据微调;Receive the second modification instruction, and fine-tune the characteristic data of the shaped analog image according to the second modification instruction;
或者,接收第三修改指令,第三修改指令用于重新在各分区中选取第一目标分区。Alternatively, a third modification instruction is received, and the third modification instruction is used to reselect the first target partition among the partitions.
在本实施例中,依据人脸特征调整值对图像进行模拟调节,获得整形模拟图像后,该整形模拟图像可能并非符合待整形对像的要求,此时可以接收第二修改指令,根据第二修改指令进行特征数据微调,使之符合待整形对像的具体要求;或者,当前第一目标分区的整形模拟不符合待整形对像的要求,可以接收第三修改指令,将第三修改指令发送至服务器,根据第三修改指令重新选取新的第一目标分区进行整形模拟,以此可以按照待整形对象的要求对模拟整形进行调节。In this embodiment, the image is simulated and adjusted according to the adjustment value of the facial features, and after obtaining the plastic analog image, the plastic analog image may not meet the requirements of the object to be shaped, at this time, a second modification instruction may be received, according to the second Modify the instruction to fine-tune the characteristic data to make it conform to the specific requirements of the object to be shaped; or, if the current simulation of the first target partition does not meet the requirements of the object to be shaped, you can receive the third modification instruction and send the third modification instruction To the server, re-select the new first target partition for shaping simulation according to the third modification instruction, so that the simulated shaping can be adjusted according to the requirements of the object to be shaped.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
接收针对第二目标分区的触发指令,其中,触发指令用于在整形人脸特征数据库中选取多个备选的分区图像,各分区图像的分区类型与第二目标分区的分区类型相同;Receiving a trigger instruction for the second target partition, where the trigger instruction is used to select multiple candidate partition images in the plastic face feature database, and the partition type of each partition image is the same as the partition type of the second target partition;
显示各分区图像,接收第三选取指令,其中,第三选取指令用于在各分区图像中选取目标分区图像;Display images of each partition, and receive a third selection instruction, where the third selection instruction is used to select a target partition image from each partition image;
将目标分区图像融合到原始图像中对应第二目标分区的位置。The target partition image is fused to the position of the second target partition in the original image.
在本实施例中,可以选择并触发第二目标分区,在整形人脸特征数据库中选取与第二目标分区类型相同的多个备选的分区图像,并显示分区图像,供待整形对象进行选择,在待整形对象通过第三选取指令选定目标分区图像后,将目标分区图像融合到原始图像中,以达到待整形对象自主选择整形内容,并展示整形模拟图像的效果。In this embodiment, a second target partition can be selected and triggered, multiple candidate partition images of the same type as the second target partition are selected in the plastic face feature database, and the partition images are displayed for selection of objects to be shaped After the object to be shaped selects the target partition image through the third selection instruction, the target partition image is fused into the original image, so that the object to be shaped can independently select the shaping content and show the effect of shaping the simulated image.
具体的,第二目标分区可以是额头、眼睛、眉毛、鼻子、嘴巴、颏部(下巴)等部位,例如选取眼睛部位作为第二目标分区,可以在整形人脸特征数据库中选取不同形状的眼睛图像并显示,供待整形对象选择,确定后将选取的新的眼睛图形融合到待整形对象的原始图像中,形成整形模拟图像。Specifically, the second target partition may be a forehead, eyes, eyebrows, nose, mouth, chin (chin), etc. For example, selecting eye parts as the second target partition may select eyes of different shapes in the plastic face feature database The image is also displayed for selection of the object to be shaped, and after the determination is made, the selected new eye figure is merged into the original image of the object to be shaped to form a shaped simulation image.
在一个实施例中,将目标分区图像融合到原始图像中对应第二目标分区的位置的步骤包括以下步骤:In one embodiment, the step of fusing the target partition image to the position of the second target partition in the original image includes the following steps:
获取第二目标分区的图像大小、位置和颜色数据,根据图像大小、位置和颜色数据对目标分区图像进行调整,将原始图像中对应第二目标分区的部位替换成调整后的图像,并对调整后的图像与原始图像的对接边缘进行模糊处理。Obtain the image size, position and color data of the second target partition, adjust the target partition image according to the image size, position and color data, replace the part of the original image corresponding to the second target partition with the adjusted image, and adjust The butt edge of the original image and the original image are blurred.
在本实施例中,第二目标分区是原始图像的一部分,其具备图像大小、位置、颜色等属性,根据图像大小、位置和颜色等数据对目标分区图像进行调整,可以使目标分区图像与原始图像相协调,另外,对调整后的图像与原始图像的对接边缘进行模糊处理,通过上述处理可以避免最终得到的图像显示突兀,体现良好的模拟效果。In this embodiment, the second target partition is a part of the original image, which has attributes such as image size, position, color, etc. The target partition image is adjusted according to data such as image size, position, and color, so that the target partition image and the original The image is coordinated. In addition, the edge of the interface between the adjusted image and the original image is blurred. The above processing can avoid the abrupt display of the final image and reflect a good simulation effect.
需要说明的是,在进行融合和模糊处理之后,可以得到另一张整形模拟图像,与根据人脸特征调整值对原始图像进行模拟调节得到的整形模拟图像不同;在进行融合和模糊处理后,可以接收第四修改指令,根据第四修改指令对得到的图像进行特征数据微调;或者,根据第五修改指令重新在各分区中选取第二目标分区。It should be noted that after the fusion and blur processing, another plastic simulation image can be obtained, which is different from the plastic simulation image obtained by adjusting the original image according to the adjustment value of the face feature; after the fusion and blur processing, The fourth modification instruction may be received, and the obtained image may be fine-tuned for feature data according to the fourth modification instruction; or, the second target partition may be selected again from each partition according to the fifth modification instruction.
另外,发送的第一图像可以是根据人脸特征调整值进行模拟调节后得到的整形模拟图像,还可以是选取不同分区进行融合处理后的图像。In addition, the first image sent may be a plastic simulation image obtained by performing simulation adjustment according to the adjustment value of the facial features, or an image obtained by selecting different partitions for fusion processing.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
若反馈意见为代表同意的信息,根据第二图像构建三维图像并显示。If the feedback is information agreed by the representative, a three-dimensional image is constructed based on the second image and displayed.
在本实施例中,若反馈意见表示同意,可以将第二图像作为整形模拟效果图像,并可以以此构建三维图像,从三维立体的角度,更加直观清楚地显示整形模拟效果。In this embodiment, if the feedback opinion agrees, the second image can be used as a plastic simulation effect image, and a three-dimensional image can be constructed therefrom to display the plastic simulation effect more intuitively and clearly from a three-dimensional perspective.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
接收修饰指令,根据修饰指令对三维图像进行修饰,获得最终图像并显示。Receive a modification instruction, modify the three-dimensional image according to the modification instruction, obtain and display the final image.
在本实施例中,整形模拟效果图像主要针对人脸区域,人脸所在的整个头部的形象与整形模拟效果也是相关的,此时可以利用修饰指令对三维图像进行修饰,使最终图像更具美态。In this embodiment, the plastic simulation effect image is mainly aimed at the face area, and the image of the entire head where the human face is located is also related to the plastic simulation effect. At this time, the three-dimensional image can be modified using the modification instruction to make the final image more Beauty.
根据上述整形模拟信息处理方法,本发明实施例还提供一种整形模拟终端,以下就本发明的整形模拟终端的实施例进行详细说明。According to the above-mentioned shaping analog information processing method, an embodiment of the present invention further provides a shaping analog terminal, and the embodiment of the shaping analog terminal of the present invention will be described in detail below.
本发明一个实施例的整形模拟终端,用于获取包含人脸的第一图像,将第一图像经服务器发送至整形服务终端;接收整形服务终端经服务器返回的第二图像,接收针对第二图像的反馈意见,将反馈意见经服务器发送至整形服务终端;其中,第二图像是整形服务终端根据接收的修改指令对第一图像进行调整后得到的图像。An orthopaedic simulation terminal according to an embodiment of the present invention is used to obtain a first image containing a human face, and send the first image to the orthopedic service terminal via the server; receive a second image returned by the orthopedic service terminal via the server, and receive The feedback is sent to the shaping service terminal via the server; the second image is an image obtained after the shaping service terminal adjusts the first image according to the received modification instruction.
在本实施例中,整形模拟终端可以应用在整形对象侧,整形模拟终端获取包含人脸的第一图像,将第一图像发送至整形服务终端,整形服务终端可以设置在整形医生侧,整形服务终端在接收到第一图像后,可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;整形模拟终端可以接收对第二图像的反馈意见,将反馈意见发送至整形服务终端,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地 确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。In this embodiment, the plastic simulation terminal can be applied on the plastic object side, the plastic simulation terminal obtains the first image containing the human face, and sends the first image to the plastic service terminal. The plastic service terminal can be set on the plastic doctor side, plastic service After receiving the first image, the terminal can receive the first modification instruction to adjust the first image to obtain and return the second image to the plastic emulation terminal; the plastic emulation terminal can receive feedback on the second image. Send feedback to the plastic service terminal to realize the information interaction between the plastic object side and the plastic doctor side on the plastic image, determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can get relatively close to the real and more intuitive plastic Simulation effect, improve the pre-operative reference function of the image of plastic simulation effect.
在一个实施例中,第一图像包括待整形对象的原始图像或整形模拟图像。In one embodiment, the first image includes an original image or a simulated image of the object to be shaped.
在一个实施例中,整形模拟终端获取并展示多个整形医生的信息,接收第一选取指令,根据第一选取指令选取目标整形医生的信息,经服务器建立与整形服务终端的通信连接,其中,目标整形医生的信息与整形服务终端相关联。In one embodiment, the plastic simulation terminal obtains and displays information of multiple plastic surgeons, receives the first selection instruction, selects the information of the target plastic surgeon according to the first selection instruction, and establishes a communication connection with the plastic service terminal via the server, wherein, The information of the target plastic surgeon is associated with the plastic service terminal.
在一个实施例中,整形模拟终端展示通讯窗口,通过通讯窗口与整形服务终端进行信息交互。In one embodiment, the plastic simulation terminal displays a communication window, and performs information interaction with the plastic service terminal through the communication window.
在一个实施例中,整形模拟终端获取待整形对象的原始图像,将原始图像发送至服务器,接收服务器返回的人脸特征调整值,根据人脸特征调整值对原始图像进行模拟调节,获得整形模拟图像;In one embodiment, the shaping simulation terminal obtains the original image of the object to be shaped, sends the original image to the server, receives the face feature adjustment value returned by the server, and performs simulation adjustment on the original image according to the face feature adjustment value to obtain the shaping simulation image;
其中,服务器对原始图像进行人脸识别,获取待整形对象的人脸特征数据;对人脸特征数据与预设的整形人脸特征数据库进行匹配分析,获取人脸特征调整值。Among them, the server performs face recognition on the original image to obtain the face feature data of the object to be reshaped; performs matching analysis on the face feature data and the preset shaped face feature database to obtain the face feature adjustment value.
在一个实施例中,整形模拟终端获取待整形对象的正面图像和多张侧面图像。In one embodiment, the shaping simulation terminal obtains a front image and a plurality of side images of the object to be shaped.
在一个实施例中,服务器获取待整形对象的脸部区域特征点,根据脸部区域特征点对脸部进行分区,获取各分区的特征数据以及脸部的轮廓数据;其中,各分区包括眼部、鼻部、嘴部、面部和颏部,特征数据包括当前分区的位置数据以及当前分区和其他分区之间的相对位置数据。In one embodiment, the server acquires the facial region feature points of the object to be shaped, partitions the face according to the facial region feature points, and obtains the feature data of each partition and the contour data of the face; wherein, each partition includes the eye , Nose, mouth, face, and chin. The feature data includes the location data of the current partition and the relative location data between the current partition and other partitions.
在一个实施例中,服务器将人脸特征数据与人脸特征预设值进行比较,确定人脸类型,在整形人脸特征数据库中获取与人脸类型相匹配的第一子数据库,根据人脸特征数据在第一子数据库中搜索匹配数据,其中,匹配数据与人脸特征数据的相似度大于或等于预设值;In one embodiment, the server compares the face feature data with the preset value of the face feature, determines the face type, and obtains the first sub-database matching the face type in the plastic face feature database, according to the face The feature data searches for matching data in the first sub-database, wherein the similarity between the matching data and the face feature data is greater than or equal to a preset value;
服务器获取人脸特征数据与匹配数据的比值,根据比值获取人脸特征调整值,其中,人脸特征调整值在比值和数值1之间。The server obtains the ratio of the facial feature data and the matching data, and obtains the facial feature adjustment value according to the ratio, where the facial feature adjustment value is between the ratio and the value 1.
在一个实施例中,整形模拟终端接收第二选取指令,第二选取指令用于在各分区中选取第一目标分区;In one embodiment, the plastic simulation terminal receives a second selection instruction, and the second selection instruction is used to select a first target partition among the partitions;
其中,服务器根据除第一目标分区以外的其他分区的特征数据,在整形人脸特征数据库选取第二子数据库,对第一目标分区的特征数据与第二子数据库进行匹配分析;其中,第二子数据库中的人脸特征数据与第一目标分区以外的其他分区的特征数据相匹配。Among them, the server selects the second sub-database from the plastic face feature database based on the feature data of other partitions except the first target partition, and performs matching analysis on the feature data of the first target partition and the second sub-database; The face feature data in the sub-database matches the feature data of other partitions than the first target partition.
在一个实施例中,整形模拟终端接收第二修改指令,根据第二修改指令对整形模拟图像进行特征数据微调;In one embodiment, the shaping simulation terminal receives the second modification instruction, and fine-tunes the characteristic data of the shaping simulation image according to the second modification instruction;
或者,整形模拟终端接收第三修改指令,第三修改指令用于重新在各分区中选取第一目标分区。Alternatively, the plastic simulation terminal receives the third modification instruction, and the third modification instruction is used to select the first target partition from each partition again.
在一个实施例中,整形模拟终端接收针对第二目标分区的触发指令,其中,触发指令 用于在整形人脸特征数据库中选取多个备选的分区图像,各分区图像的分区类型与第二目标分区的分区类型相同;In one embodiment, the plastic simulation terminal receives a trigger instruction for the second target partition, where the trigger instruction is used to select multiple candidate partition images in the plastic face feature database, and the partition type of each partition image is the same as the second The partition type of the target partition is the same;
整形模拟终端显示各分区图像,接收第三选取指令,其中,第三选取指令用于在各分区图像中选取目标分区图像;The plastic simulation terminal displays images of each partition, and receives a third selection instruction, where the third selection instruction is used to select a target partition image from each partition image;
整形模拟终端将目标分区图像融合到原始图像中对应第二目标分区的位置。The shaping simulation terminal fuses the target partition image to the position corresponding to the second target partition in the original image.
在一个实施例中,整形模拟终端获取第二目标分区的图像大小、位置和颜色数据,根据图像大小、位置和颜色数据对目标分区图像进行调整,将原始图像中对应第二目标分区的部位替换成调整后的图像,并对调整后的图像与原始图像的对接边缘进行模糊处理。In one embodiment, the plastic simulation terminal acquires the image size, position and color data of the second target partition, adjusts the target partition image according to the image size, position and color data, and replaces the part of the original image corresponding to the second target partition Into an adjusted image, and blur the edge of the interface between the adjusted image and the original image.
在一个实施例中,整形模拟终端在反馈意见为代表同意的信息时,根据第二图像构建三维图像并显示。In one embodiment, the plastic simulation terminal constructs and displays a three-dimensional image based on the second image when the feedback opinion is information representing consent.
在一个实施例中,整形模拟终端接收修饰指令,根据修饰指令对三维图像进行修饰,获得最终图像并显示。In one embodiment, the orthopedic simulation terminal receives the retouching instruction, retouches the three-dimensional image according to the retouching instruction, obtains the final image and displays it.
本发明的整形模拟终端与本发明的整形模拟信息处理方法相对应,在上述整形模拟信息处理方法的实施例中阐述的技术特征及其有益效果均适用于整形模拟终端的实施例中。The shaping analog terminal of the present invention corresponds to the shaping analog information processing method of the present invention, and the technical features and beneficial effects described in the embodiments of the shaping analog information processing method described above are applicable to the shaping analog terminal embodiment.
根据上述整形模拟信息处理方法,本发明实施例还提供另一种整形模拟信息处理方法,以下就本发明的另一种整形模拟信息处理方法的实施例进行详细说明。According to the above-mentioned shaping analog information processing method, an embodiment of the present invention further provides another shaping analog information processing method. The following describes in detail another embodiment of the shaping analog information processing method of the present invention.
参见图3所示,为本发明一个实施例的整形模拟信息处理方法的流程示意图。该实施例中的整形模拟信息处理方法,包括以下步骤:Referring to FIG. 3, it is a schematic flowchart of a method for processing plastic analog information according to an embodiment of the present invention. The shaping analog information processing method in this embodiment includes the following steps:
步骤S210:接收包含人脸的第一图像;其中,第一图像是整形模拟终端经服务器发送的;Step S210: receiving a first image containing a human face; wherein, the first image is sent by the plastic simulation terminal via the server;
步骤S220:接收第一修改指令,根据第一修改指令对第一图像进行调整,获得第二图像,并将第二图像经服务器发送至整形模拟终端;Step S220: Receive a first modification instruction, adjust the first image according to the first modification instruction, obtain a second image, and send the second image to the shaping simulation terminal via the server;
步骤S230:接收针对第二图像的反馈意见,若反馈意见为代表同意的信息,保存第二图像;其中,反馈意见是整形服务终端经服务器发送的。Step S230: Receive feedback on the second image, and if the feedback is information representing consent, save the second image; where the feedback is sent by the shaping service terminal via the server.
在本实施例中,整形模拟信息处理方法可以应用在整形医生侧,接收整形模拟终端发送的包含人脸的第一图像,之后可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;从整形模拟终端可以接收针对第二图像的反馈意见,在反馈意见代表同意的信息时,保存第二图像,该第二图像可以作为整形模拟效果图像,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。In this embodiment, the plastic simulation information processing method can be applied on the side of the plastic surgeon to receive the first image containing the face sent by the plastic simulation terminal, and then can receive the first modification instruction to adjust the first image to obtain And return the second image to the plastic simulation terminal; from the plastic simulation terminal, you can receive feedback on the second image, and when the feedback represents the agreed information, save the second image, which can be used as a plastic simulation effect image to achieve The information interaction between the plastic object side and the plastic surgeon side on the plastic image can determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can obtain a relatively close to the real and more intuitive plastic simulation effect, improve the image of the plastic simulation effect image Preoperative reference role.
进一步的,针对第二图像的反馈意见可以是代表同意的信息,也可以是其他修改意见,若是其他修改意见,可以再次接收第一修改指令对第一图像进行进一步的修改,利用反馈意 见可以确定最后的整形模拟效果图像。Further, the feedback opinion on the second image may be the information agreed by the representative or other modification opinions. If other modification opinions, the first modification instruction may be received again to further modify the first image, and the feedback opinions may be used to determine The final shape simulation image.
进一步的,在得到整形模拟效果图像后,可以将整形模拟效果图像保存在本地,也可以将整形模拟效果图像发送至整形模拟终端,保存在整形模拟终端中。Further, after the shaping simulation effect image is obtained, the shaping simulation effect image may be saved locally, or the shaping simulation effect image may be sent to the shaping simulation terminal and stored in the shaping simulation terminal.
进一步的,在根据第一修改指令对第一图像进行调整时,可以对第一图像中脸部分区中的亚单位进行调整,如脸部分区为眼部,亚单位可以为眼睛、眼皮、眉毛等;脸部分区为鼻部,亚单位可以为鼻梁、鼻头、鼻翼、鼻小柱等,脸部分区为面部,亚单位可以为面颊、颧骨等。Further, when adjusting the first image according to the first modification instruction, the subunit in the face part area in the first image can be adjusted, for example, the face part area is the eye, and the subunit can be the eye, eyelid, eyebrow Part of the face is the nose, and the subunit can be the bridge of the nose, nose, wings, nasal pillars, etc. The part of the face is the face, and the subunit can be the cheeks, cheekbones, etc.
在一个实施例中,整形模拟信息处理方法还包括以下步骤:In one embodiment, the method for processing plastic analog information further includes the following steps:
展示通讯窗口,通过通讯窗口与整形模拟终端进行信息交互。Display the communication window, and exchange information with the plastic simulation terminal through the communication window.
在本实施例中,在与整形模拟终端建立通信连接的基础上,还可以展示通讯窗口,通过通讯窗口与整形模拟终端进行信息交互,实现与待整形对象的沟通交流,使整形医生了解待整形对象对整形的具体需求,以便更快地得到整形模拟效果图像。In this embodiment, on the basis of establishing a communication connection with the plastic simulation terminal, a communication window can also be displayed, through which information is exchanged with the plastic simulation terminal to realize communication with the object to be plasticized, so that the plastic surgeon understands the plastic The specific needs of the object for plastic surgery, in order to get the plastic simulation effect image faster.
根据上述整形模拟信息处理方法,本发明实施例还提供一种整形服务终端,以下就本发明的整形服务终端的实施例进行详细说明。According to the above-mentioned shaping analog information processing method, an embodiment of the present invention further provides a shaping service terminal, and the embodiment of the shaping service terminal of the present invention will be described in detail below.
本发明一个实施例的整形服务终端,用于接收包含人脸的第一图像;接收第一修改指令,根据第一修改指令对第一图像进行调整,获得第二图像,并将第二图像经服务器发送至整形模拟终端;接收针对第二图像的反馈意见;若反馈意见为代表同意的信息,保存第二图像;其中,第一图像和反馈意见是整形模拟终端经服务器发送的。An orthopaedic service terminal according to an embodiment of the present invention is used to receive a first image containing a human face; receive a first modification instruction, adjust the first image according to the first modification instruction, obtain a second image, and convert the second image The server sends to the plastic simulation terminal; receives the feedback for the second image; if the feedback is the information representing the consent, save the second image; wherein, the first image and the feedback are sent by the plastic simulation terminal via the server.
在本实施例中,整形服务终端可以应用在整形医生侧,整形服务终端接收整形模拟终端发送的包含人脸的第一图像,之后可以接收第一修改指令,以此对第一图像进行调整,得到并返回第二图像至整形模拟终端;整形模拟终端发送针对第二图像的反馈意见至整形服务终端,在反馈意见代表同意的信息时,整形服务终端保存第二图像,该第二图像可以作为整形模拟效果图像,实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。In this embodiment, the orthopaedic service terminal can be applied on the side of the orthopedic doctor. The orthopedic service terminal receives the first image containing the human face sent by the orthopedic simulation terminal, and then can receive the first modification instruction to adjust the first image. Obtain and return the second image to the plastic simulation terminal; the plastic simulation terminal sends feedback on the second image to the plastic service terminal. When the feedback represents the agreed information, the plastic service terminal saves the second image, which can be used as Plastic simulation effect image, to realize the information interaction between the plastic object side and the plastic surgeon side, to determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic surgery, and can get relatively close to the real and more intuitive plastic simulation effect, Improve the pre-operative reference effect of plastic simulation images.
在一个实施例中,整形服务终端展示通讯窗口,通过通讯窗口与整形模拟终端进行信息交互。In one embodiment, the shaping service terminal displays a communication window, and performs information interaction with the shaping simulation terminal through the communication window.
本发明的整形服务终端与上述整形模拟信息处理方法相对应,在上述整形模拟信息处理方法的实施例中阐述的技术特征及其有益效果均适用于整形服务终端的实施例中。The shaping service terminal of the present invention corresponds to the above shaping analog information processing method, and the technical features and beneficial effects described in the above shaping analog information processing method embodiments are applicable to the shaping service terminal embodiment.
一种可读存储介质,其上存储有可执行程序,可执行程序被处理器执行时实现上述的整形模拟信息处理方法的步骤。A readable storage medium has an executable program stored thereon, and when the executable program is executed by a processor, the steps of the above-mentioned shaping analog information processing method are realized.
上述可读存储介质,通过其存储的可执行程序,可以实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以 得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。The above-mentioned readable storage medium, through the executable program stored in it, can realize the information interaction between the plastic object side and the plastic surgeon side on the plastic image, and determine the plastic simulation effect image more quickly, which is more in line with the needs of plastic and can get the relative It is close to the real and more intuitive plastic simulation effect, and improves the preoperative reference function of the plastic simulation effect image.
一种整形模拟设备,包括整形模拟终端和整形服务终端,整形模拟终端获取包含人脸的第一图像,将第一图像经服务器发送至整形服务终端;整形服务终端接收第一修改指令,根据第一修改指令对第一图像进行调整,获得第二图像,并将第二图像经服务器发送至整形模拟终端;整形模拟终端接收针对第二图像的反馈意见,将反馈意见经服务器发送至整形服务终端;整形服务终端根据反馈意见得到整形模拟效果图像并保存。A shaping simulation device includes a shaping simulation terminal and a shaping service terminal. The shaping simulation terminal obtains a first image containing a human face, and sends the first image to the shaping service terminal via the server; the shaping service terminal receives the first modification instruction, and A modification instruction adjusts the first image, obtains the second image, and sends the second image to the shaping simulation terminal through the server; the shaping simulation terminal receives feedback on the second image, and sends the feedback to the shaping service terminal through the server ; The plastic service terminal obtains the plastic simulation effect image according to the feedback and saves it.
上述整形模拟设备,通过整形模拟终端和整形服务终端之间的信息交互,可以实现整形对象侧与整形医生侧之间对整形图像的信息交互,较为快速地确定整形模拟效果图像,更加符合整形的需要,可以得到相对接近真实且更直观的整形模拟效果,提高整形模拟效果图像的术前参考作用。The above-mentioned shaping simulation equipment can realize the information interaction between the shaping object side and the shaping doctor side on the shaping image through the information interaction between the shaping simulation terminal and the shaping service terminal, and the shaping simulation effect image can be determined relatively quickly, which is more in line with shaping If necessary, a plastic simulation effect that is relatively close to reality and more intuitive can be obtained, and the pre-operative reference function of the image of the plastic simulation effect is improved.
在一个实施例中,整形模拟设备还包括服务器。In one embodiment, the shaping simulation device further includes a server.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,程序可存储于一非易失性的计算机可读取存储介质中,如实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述整形模拟信息处理方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art may understand that all or part of the processes in the method of the foregoing embodiments may be completed by instructing relevant hardware through a computer program, and the program may be stored in a non-volatile computer-readable storage medium. As in the embodiment, the program may be stored in the storage medium of the computer system and executed by at least one processor in the computer system to implement the process including the embodiment of the above-described shaping analog information processing method. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
具体的,上述整形模拟信息处理方法可以应用在用户一侧的整形模拟终端和整形医生一侧的整形服务终端中,整形模拟终端将整形模拟图像发送至整形服务终端,邀请整形医生对整形模拟图像进行调整并给出修改意见,整形服务终端返回修改意见数据,交互示意图如图4所示。Specifically, the above plastic simulation information processing method can be applied to the plastic simulation terminal on the user side and the plastic service terminal on the plastic surgeon side, the plastic simulation terminal sends the plastic simulation image to the plastic service terminal, and invites the plastic surgeon to the plastic simulation image Make adjustments and give revision opinions, and the plastic service terminal returns the revision opinion data. The interactive schematic diagram is shown in Figure 4.
进一步的,还可以直接将待整形对象的原始图像经服务器发送至整形服务端,接收整形服务端返回的修改意见数据,并反馈对修改意见数据的处理信息。Further, the original image of the object to be reshaped can be directly sent to the reshaping server through the server, receive the modification opinion data returned by the reshaping server, and feed back processing information on the modification opinion data.
在一个实施例中,整形模拟终端和整形服务终端可以是个人计算机、笔记本电脑、掌上电脑、智能手机、平板电脑、便携式可穿戴设备等。In one embodiment, the plastic simulation terminal and the plastic service terminal may be a personal computer, a notebook computer, a palmtop computer, a smart phone, a tablet computer, a portable wearable device, or the like.
整形模拟信息处理方法的流程简图如图5所示。具体的,用户可以通过手机、平板电脑、摄像头等电子设备扫描或拍摄面部,上传三张不同面的人脸图像(正面,侧面(45度)两张),建立3D原始图像模型。然后对用户的原始图像模型进行人脸识别,将脸部各部位进行分区,分割成额头、眼部(单眼,包括眼睛、眉毛)、鼻部(鼻头、鼻翼)、下颌、面部(两面颊)等分区(部位分区是通过用户手动设置点位来进行选取),通脸型数据计算算法,分析出使用人的脸部特征,及预先设定的标准值进行对比,得出脸部分析报告,用户可以根据分析报告中的建议进行自动整形模拟,完成后得出整形建议报告,用户可保存通过模拟形成的图像及报告,作为一定的整形参考。同时用户也可以对单个脸部部位进行分析和更换成整形 人脸数据库里的各类部位图像,从而得到整形模拟图像,可以在分析后得到调整数据对用户的人脸图像进行调整,得到整形模拟图像,也可以更换部位图像,用户可以自主选择部位,从整形人脸数据库里选取相同类型的部位图像供用户选择,在用户确定需要的部位图像后,将选定的部位图像融合到用户的脸部图像中,将对接位置进行模拟处理,得到另一种整形模拟图像,如对整形模拟的效果不满意,用户可以用微调功能来进行对单个部位的图像处理,或者重新选择部位进行整形模拟,最后经过重新计算并混合系统设计的标准值对原始图像进行相应的整形模拟处理,得到最终的整形模拟图像,用户可以将此模拟效果图像通过在线咨询服务模块(即数据交互模块)发给在线整形医生进行点对点的咨询,在线整形医生可以在此模拟图像的基础上再进行微调或是重新对每个部位进行匹配,从而得到最佳整形模拟图像;让整形医生在线提供整形建议,并可修改客户的模拟数据,从而得到两方都觉得好的整形模拟图像,然后用户可以保存模拟图像,还可以进行3D模拟图像打印,图像会保存在医生的整形服务端的数据库里,待下次用户线下找医生面诊时,医生可以调出数据作为面诊依据,减少双方沟通的时间;整形医生可以以此作为实施整形手术的参考,客户也可以也可以通过分享功能,通过微信、QQ等即时通讯软件分享给朋友,相对于传统整形模拟技术,只能通过简单的进行模糊图像处理,不能融合医美容专业技术,减少了用户的操作时间,提高了整形模拟的效率和专业性,特别是应用在医疗美容术后客户面诊环节,可以更直观的让用户提前得到术后的效果模拟图像。The flow chart of plastic analog information processing method is shown in Figure 5. Specifically, the user can scan or photograph the face through electronic devices such as mobile phones, tablets, cameras, and upload three face images (front and side (45 degrees) two) to establish a 3D original image model. Then perform face recognition on the user's original image model, partition each part of the face into forehead, eye (single eye, including eyes, eyebrows), nose (nose, nose wings), jaw, face (both cheeks) Equal partitioning (part partitioning is selected by the user manually setting points), through the face data calculation algorithm, the facial features of the user are analyzed, and the preset standard values are compared to obtain a facial analysis report, the user Automatic shaping simulation can be carried out according to the suggestions in the analysis report, and the shaping recommendation report can be obtained after completion. Users can save the images and reports formed by the simulation as a certain shaping reference. At the same time, users can also analyze individual face parts and replace them with images of various parts in the plastic face database to obtain plastic simulation images. After the analysis, adjustment data can be obtained to adjust the user's face images to obtain plastic simulation. The image can also be replaced with a part image. The user can select a part independently and select the same type of part image from the plastic face database for the user to choose. After the user determines the required part image, the selected part image is fused to the user's face In the part of the image, the docking position is simulated to obtain another shape simulation image. If the effect of the shape simulation is not satisfactory, the user can use the fine-tuning function to process the image of a single part, or reselect the part to perform the shape simulation. Finally, after recalculating and mixing the standard values of the system design, the original image is subjected to corresponding shaping simulation processing to obtain the final shaped simulation image. The user can send this simulation effect image to the online shaping through the online consulting service module (ie, data interaction module) Doctors conduct point-to-point consultations. Online plastic surgeons can fine-tune or rematch each part based on this simulated image to obtain the best plastic simulation image; let the plastic surgeon provide plastic suggestions online and modify customers Simulation data of both sides, so that you can get a plastic simulation image that both parties think is good. Then the user can save the simulation image and print the 3D simulation image. The image will be saved in the database of the doctor’s plastic surgery server. During the doctor's face consultation, the doctor can call up the data as a basis for the face consultation to reduce the communication time between the two parties; the plastic surgeon can use this as a reference for performing plastic surgery, and the customer can also use the sharing function, through WeChat, QQ and other instant messaging software Share with friends. Compared with traditional plastic surgery simulation technology, it can only carry out blurred image processing simply, and cannot integrate medical and cosmetic professional technology, which reduces the user's operation time and improves the efficiency and professionalism of plastic surgery simulation, especially in medical treatment. In the face-to-face consultation of customers after cosmetic surgery, users can get more intuitive simulated images of postoperative effects in advance.
另外,本发明实施例的方案还可以设置医院等第三方的机构服务终端,在整形医生得到最终的整形模拟图像后,可以将整形手术的配置需求信息发送至机构服务终端,医院等第三方的工作人员在调配整形手术的安排内容后,将具体的整形行程信息分别发送至待整形对象的整形模拟终端和整形医生的整形服务终端,以便于整形手术的顺利安排。In addition, the solution of the embodiment of the present invention can also be provided with a third-party institutional service terminal such as a hospital. After the plastic surgeon obtains the final plastic simulation image, the configuration requirement information of the plastic surgery can be sent to the institutional service terminal, the hospital and other third-party After arranging the content of plastic surgery, the staff will send the specific plastic stroke information to the plastic simulation terminal of the object to be plasticized and the plastic doctor's plastic service terminal to facilitate the smooth arrangement of plastic surgery.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be arbitrarily combined. To simplify the description, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered within the scope of this description.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成。所述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,包括上述方法所述的步骤。所述的存储介质,包括:ROM/RAM、磁碟、光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. When this program is executed, it includes the steps described in the above method. The storage medium includes: ROM/RAM, magnetic disk, optical disk, etc.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above examples only express several implementations of the present invention, and their descriptions are more specific and detailed, but they should not be construed as limiting the patent scope of the invention. It should be noted that, for a person of ordinary skill in the art, without departing from the concept of the present invention, a number of modifications and improvements can also be made, which all fall within the protection scope of the present invention. Therefore, the protection scope of the invention patent shall be subject to the appended claims.

Claims (17)

  1. 一种整形模拟信息处理方法,其特征在于,包括以下步骤:A plastic analog information processing method, characterized in that it includes the following steps:
    获取包含人脸的第一图像,将所述第一图像经服务器发送至整形服务终端;Obtain a first image containing a human face, and send the first image to a plastic service terminal via a server;
    接收所述整形服务终端经所述服务器返回的第二图像,其中,所述第二图像是所述整形服务终端根据接收的第一修改指令对所述第一图像进行调整后得到的图像;Receiving a second image returned by the shaping service terminal via the server, where the second image is an image obtained after the shaping service terminal adjusts the first image according to the received first modification instruction;
    接收针对所述第二图像的反馈意见,将所述反馈意见经所述服务器发送至所述整形服务终端。Receiving feedback opinions for the second image, and sending the feedback opinions to the plastic service terminal via the server.
  2. 根据权利要求1所述的整形模拟信息处理方法,其特征在于,所述第一图像包括待整形对象的原始图像或整形模拟图像。The shaping analog information processing method according to claim 1, wherein the first image includes an original image or a shaping simulation image of the object to be shaped.
  3. 根据权利要求2所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 2, further comprising the following steps:
    获取并展示多个整形医生的信息,接收第一选取指令,根据所述第一选取指令选取目标整形医生的信息,经所述服务器建立与所述整形服务终端的通信连接,其中,所述目标整形医生的信息与所述整形服务终端相关联。Acquiring and displaying information of multiple plastic surgeons, receiving a first selection instruction, selecting information of a target plastic surgeon according to the first selection instruction, and establishing a communication connection with the plastic service terminal via the server, wherein the target The information of the plastic doctor is associated with the plastic service terminal.
  4. 根据权利要求3所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 3, further comprising the following steps:
    展示通讯窗口,通过所述通讯窗口与所述整形服务终端进行信息交互。Display a communication window, and perform information interaction with the plastic service terminal through the communication window.
  5. 根据权利要求2所述的整形模拟信息处理方法,其特征在于,所述获取包含人脸的第一图像的步骤包括以下步骤:The plastic analog information processing method according to claim 2, wherein the step of acquiring the first image containing a human face includes the following steps:
    获取待整形对象的原始图像,将所述原始图像发送至所述服务器,接收所述服务器返回的人脸特征调整值,根据所述人脸特征调整值对所述原始图像进行模拟调节,获得所述整形模拟图像;Obtain the original image of the object to be shaped, send the original image to the server, receive the facial feature adjustment value returned by the server, and perform analog adjustment on the original image according to the facial feature adjustment value to obtain Describe plastic modeling images;
    其中,所述服务器对所述原始图像进行人脸识别,获取所述待整形对象的人脸特征数据;对所述人脸特征数据与预设的整形人脸特征数据库进行匹配分析,获取人脸特征调整值。Wherein, the server performs face recognition on the original image to obtain face feature data of the object to be reshaped; performs matching analysis on the face feature data and a preset shaped face feature database to obtain a face Feature adjustment value.
  6. 根据权利要求5所述的整形模拟信息处理方法,其特征在于,所述获取待整形对象的原始图像的步骤包括以下步骤:The method for processing analog simulation information according to claim 5, wherein the step of acquiring the original image of the object to be shaped includes the following steps:
    获取所述待整形对象的正面图像和多张侧面图像。Obtain a front image and multiple side images of the object to be shaped.
  7. 根据权利要求5所述的整形模拟信息处理方法,其特征在于,所述获取所述待整形对象的人脸特征数据的步骤包括以下步骤:The plastic analog information processing method according to claim 5, characterized in that the step of acquiring face feature data of the object to be shaped includes the following steps:
    获取所述待整形对象的脸部区域特征点,根据所述脸部区域特征点对脸部进行分区,获取各分区的特征数据以及脸部的轮廓数据;其中,各所述分区包括眼部、鼻部、嘴部、面部和颏部,所述特征数据包括当前分区的位置数据以及当前分区和其他分区之间的相对位置数据。Obtain the feature points of the face area of the object to be reshaped, partition the face according to the feature points of the face area, and obtain the feature data of each zone and the contour data of the face; wherein, each of the zones includes the eye, For the nose, mouth, face and chin, the characteristic data includes position data of the current partition and relative position data between the current partition and other partitions.
  8. 根据权利要求5所述的整形模拟信息处理方法,其特征在于,所述对所述人脸特征数据与预设的整形人脸特征数据库进行匹配分析的步骤包括以下步骤:The plastic analog information processing method according to claim 5, wherein the step of matching and analyzing the facial feature data with a preset plastic facial feature database includes the following steps:
    将所述人脸特征数据与人脸特征预设值进行比较,确定人脸类型,在所述整形人脸特征数据库中获取与所述人脸类型相匹配的第一子数据库,根据所述人脸特征数据在所述第一子数据库中搜索匹配数据,其中,所述匹配数据与所述人脸特征数据的相似度大于或等于预设值;Comparing the face feature data with the preset value of the face feature to determine the face type, obtaining the first sub-database matching the face type in the plastic face feature database, and according to the person The face feature data searches for matching data in the first sub-database, wherein the similarity between the match data and the face feature data is greater than or equal to a preset value;
    所述获取人脸特征调整值的步骤还包括以下步骤:The step of obtaining the adjustment value of the facial features further includes the following steps:
    获取所述人脸特征数据与所述匹配数据的比值,根据所述比值获取所述人脸特征调整值,其中,所述人脸特征调整值在所述比值和数值1之间。Obtain a ratio of the face feature data to the matching data, and obtain the face feature adjustment value according to the ratio, where the face feature adjustment value is between the ratio and the value 1.
  9. 根据权利要求7所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 7, further comprising the following steps:
    接收第二选取指令,所述第二选取指令用于在各所述分区中选取第一目标分区;Receiving a second selection instruction, the second selection instruction is used to select a first target partition among the partitions;
    其中,所述服务器根据除所述第一目标分区以外的其他分区的特征数据,在所述整形人脸特征数据库选取第二子数据库,对所述第一目标分区的特征数据与所述第二子数据库进行匹配分析;其中,所述第二子数据库中的人脸特征数据与所述第一目标分区以外的其他分区的特征数据相匹配。Wherein, the server selects a second sub-database from the plastic face feature database based on the feature data of other partitions than the first target partition, and compares the feature data of the first target partition with the second The sub-database performs matching analysis; wherein, the face feature data in the second sub-database matches the feature data of other partitions than the first target partition.
  10. 根据权利要求9所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 9, further comprising the following steps:
    接收第二修改指令,根据所述第二修改指令对所述整形模拟图像进行特征数据微调;Receiving a second modification instruction, and fine-tuning the characteristic data of the shaped analog image according to the second modification instruction;
    或者,or,
    接收第三修改指令,所述第三修改指令用于重新在各所述分区中选取第一目标分区。A third modification instruction is received, and the third modification instruction is used to select a first target partition from each of the partitions again.
  11. 根据权利要求7所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 7, further comprising the following steps:
    接收针对第二目标分区的触发指令,其中,所述触发指令用于在所述整形人脸特征数据库中选取多个备选的分区图像,各所述分区图像的分区类型与所述第二目标分区的分区类型相同;Receiving a trigger instruction for a second target partition, where the trigger instruction is used to select multiple candidate partition images in the plastic face feature database, the partition type of each partition image and the second target The partition types are the same;
    显示各所述分区图像,接收第三选取指令,其中,所述第三选取指令用于在各所述分区图像中选取目标分区图像;Displaying each of the partition images and receiving a third selection instruction, wherein the third selection instruction is used to select a target partition image from each of the partition images;
    将所述目标分区图像融合到所述原始图像中对应所述第二目标分区的位置。Fuse the target partition image to a position corresponding to the second target partition in the original image.
  12. 根据权利要求11所述的整形模拟信息处理方法,其特征在于,所述将所述目标分区图像融合到所述原始图像中对应所述第二目标分区的位置的步骤包括以下步骤:The plastic analog information processing method according to claim 11, wherein the step of fusing the target partition image to the position of the original image corresponding to the second target partition includes the following steps:
    获取所述第二目标分区的图像大小、位置和颜色数据,根据所述图像大小、位置和颜色数据对所述目标分区图像进行调整,将所述原始图像中对应所述第二目标分区的部位替换成所述调整后的图像,并对所述调整后的图像与所述原始图像的对接边缘进行模糊处理。Obtain the image size, position and color data of the second target partition, adjust the target partition image according to the image size, position and color data, and place the original image corresponding to the second target partition Replace with the adjusted image, and blur the edge of the interface between the adjusted image and the original image.
  13. 根据权利要求1至12中任意一项所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to any one of claims 1 to 12, further comprising the following steps:
    若所述反馈意见为代表同意的信息,根据所述第二图像构建三维图像并显示。If the feedback is the information representing the consent, a three-dimensional image is constructed based on the second image and displayed.
  14. 根据权利要求13所述的整形模拟信息处理方法,其特征在于,还包括以下步骤:The plastic analog information processing method according to claim 13, further comprising the following steps:
    接收修饰指令,根据所述修饰指令对所述三维图像进行修饰,获得最终图像并显示。Receiving a modification instruction, modifying the three-dimensional image according to the modification instruction, obtaining a final image and displaying it.
  15. 一种整形模拟终端,其特征在于,所述整形模拟终端用于获取包含人脸的第一图像,将所述第一图像经服务器发送至整形服务终端;接收所述整形服务终端经所述服务器返回的第二图像,接收针对所述第二图像的反馈意见,将所述反馈意见经所述服务器发送至所述整形服务终端;其中,所述第二图像是所述整形服务终端根据接收的修改指令对所述第一图像进行调整后得到的图像。A plastic modeling terminal, characterized in that the plastic modeling terminal is used to obtain a first image containing a human face, and the first image is sent to a plastic service terminal via a server; the plastic service terminal is received via the server The returned second image, receiving feedback on the second image, and sending the feedback to the plastic service terminal via the server; wherein, the second image is based on the received by the plastic service terminal An image obtained after the modification instruction adjusts the first image.
  16. 一种整形模拟信息处理方法,其特征在于,包括以下步骤:A plastic analog information processing method, characterized in that it includes the following steps:
    接收包含人脸的第一图像;其中,所述第一图像是整形模拟终端经服务器发送的;Receiving a first image containing a human face; wherein, the first image is sent by the shaping analog terminal via the server;
    接收第一修改指令,根据所述第一修改指令对所述第一图像进行调整,获得第二图像,并将所述第二图像经所述服务器发送至所述整形模拟终端;Receiving a first modification instruction, adjusting the first image according to the first modification instruction, obtaining a second image, and sending the second image to the reshaping simulation terminal via the server;
    接收针对所述第二图像的反馈意见;其中,所述反馈意见是所述整形服务终端经所述服务器发送的;Receiving feedback on the second image; wherein, the feedback is sent by the shaping service terminal via the server;
    若所述反馈意见为代表同意的信息,保存所述第二图像。If the feedback is information agreed by the representative, save the second image.
  17. 一种整形服务终端,其特征在于,所述整形服务终端用于接收包含人脸的第一图像;接收第一修改指令,根据所述第一修改指令对所述第一图像进行调整,获得第二图像,并将所述第二图像经所述服务器发送至所述整形模拟终端;接收针对所述第二图像的反馈意见;若所述反馈意见为代表同意的信息,保存所述第二图像;其中,所述第一图像和所述反馈意见是整形模拟终端经服务器发送的。A shaping service terminal, characterized in that the shaping service terminal is used to receive a first image containing a human face; receive a first modification instruction, adjust the first image according to the first modification instruction, and obtain a first Two images, and send the second image to the reshaping simulation terminal via the server; receive feedback on the second image; if the feedback is information representing consent, save the second image ; Wherein, the first image and the feedback are sent by the shaping analog terminal via the server.
PCT/CN2019/127252 2018-12-24 2019-12-22 Plastic surgery simulation information processing method, plastic surgery simulation terminal and plastic surgery service terminal WO2020135287A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811581508.X 2018-12-24
CN201811581508.XA CN111354478A (en) 2018-12-24 2018-12-24 Shaping simulation information processing method, shaping simulation terminal and shaping service terminal

Publications (1)

Publication Number Publication Date
WO2020135287A1 true WO2020135287A1 (en) 2020-07-02

Family

ID=71126349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/127252 WO2020135287A1 (en) 2018-12-24 2019-12-22 Plastic surgery simulation information processing method, plastic surgery simulation terminal and plastic surgery service terminal

Country Status (2)

Country Link
CN (1) CN111354478A (en)
WO (1) WO2020135287A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115375899A (en) * 2022-08-24 2022-11-22 北京京东乾石科技有限公司 Point cloud semantic segmentation network training method, point cloud semantic segmentation method and point cloud semantic segmentation device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100142755A1 (en) * 2008-11-26 2010-06-10 Perfect Shape Cosmetics, Inc. Method, System, and Computer Program Product for Providing Cosmetic Application Instructions Using Arc Lines
CN102254151A (en) * 2011-06-16 2011-11-23 清华大学 Driver fatigue detection method based on face video analysis
CN102254180A (en) * 2011-06-28 2011-11-23 北京交通大学 Geometrical feature-based human face aesthetics analyzing method
CN107122727A (en) * 2017-04-20 2017-09-01 北京旷视科技有限公司 Method, apparatus and system for face's shaping

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064302A1 (en) * 2000-04-10 2002-05-30 Massengill R. Kemp Virtual cosmetic autosurgery via telemedicine
US8620038B2 (en) * 2006-05-05 2013-12-31 Parham Aarabi Method, system and computer program product for automatic and semi-automatic modification of digital images of faces
KR102294927B1 (en) * 2014-03-31 2021-08-30 트라이큐빅스 인크. Sns .
CN107123160A (en) * 2017-05-02 2017-09-01 成都通甲优博科技有限责任公司 Simulation lift face system, method and mobile terminal based on three-dimensional image
CN106934073A (en) * 2017-05-02 2017-07-07 成都通甲优博科技有限责任公司 Face comparison system, method and mobile terminal based on three-dimensional image
CN107578465A (en) * 2017-07-27 2018-01-12 深圳先进技术研究院 A kind of method and system of simulation shows human body shaping effect

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100142755A1 (en) * 2008-11-26 2010-06-10 Perfect Shape Cosmetics, Inc. Method, System, and Computer Program Product for Providing Cosmetic Application Instructions Using Arc Lines
CN102254151A (en) * 2011-06-16 2011-11-23 清华大学 Driver fatigue detection method based on face video analysis
CN102254180A (en) * 2011-06-28 2011-11-23 北京交通大学 Geometrical feature-based human face aesthetics analyzing method
CN107122727A (en) * 2017-04-20 2017-09-01 北京旷视科技有限公司 Method, apparatus and system for face's shaping

Also Published As

Publication number Publication date
CN111354478A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
US10255484B2 (en) Method and system for assessing facial skin health from a mobile selfie image
US10607372B2 (en) Cosmetic information providing system, cosmetic information providing apparatus, cosmetic information providing method, and program
US10799010B2 (en) Makeup application assist device and makeup application assist method
RU2668408C2 (en) Devices, systems and methods of virtualising mirror
CN105164686B (en) 3D platform for cosmetic simulation
US9760935B2 (en) Method, system and computer program product for generating recommendations for products and treatments
JP5261586B2 (en) Makeup simulation system, makeup simulation apparatus, makeup simulation method, and makeup simulation program
EP3182362A1 (en) Method and sytem for evaluating fitness between eyeglasses wearer and eyeglasses worn thereby
US20120007859A1 (en) Method and apparatus for generating face animation in computer system
CN101779218A (en) Makeup simulation system, makeup simulation apparatus, makeup simulation method, and makeup simulation program
US11461384B2 (en) Facial images retrieval system
CN110866139A (en) Cosmetic treatment method, device and equipment
US11776187B2 (en) Digital makeup artist
WO2020135287A1 (en) Plastic surgery simulation information processing method, plastic surgery simulation terminal and plastic surgery service terminal
CN111179411A (en) Visual facial cosmetology plastic simulation method, system and equipment based on social platform
WO2020135286A1 (en) Shaping simulation method and system, readable storage medium and device
KR102330833B1 (en) cosmetic curation service method
WO2023010796A1 (en) Image processing method and related apparatus
US20210279933A1 (en) Method and system to provide a computer-modified visualization of the desired face of a person
CN114333018A (en) Shaping information recommendation method and device and electronic equipment
CN111444979A (en) Face-lifting scheme recommendation method, cloud device and storage medium
JP2017016418A (en) Hairstyle proposal system
TW202122040A (en) Method for analyzing and estimating face muscle status
CN113902790B (en) Beauty guidance method, device, electronic equipment and computer readable storage medium
CN105718034B (en) Wearable device exchange method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19904194

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19904194

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19904194

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.02.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19904194

Country of ref document: EP

Kind code of ref document: A1