CN106503606A - face image adjusting system and face image adjusting method - Google Patents
face image adjusting system and face image adjusting method Download PDFInfo
- Publication number
- CN106503606A CN106503606A CN201510563390.8A CN201510563390A CN106503606A CN 106503606 A CN106503606 A CN 106503606A CN 201510563390 A CN201510563390 A CN 201510563390A CN 106503606 A CN106503606 A CN 106503606A
- Authority
- CN
- China
- Prior art keywords
- face image
- parameter value
- image
- face
- initial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种人脸影像调整系统及人脸影像调整方法。具体而言,本发明涉及一种应用人脸辨识与记录使用者行为的人脸影像调整系统及人脸影像调整方法。The invention relates to a human face image adjustment system and a human face image adjustment method. Specifically, the present invention relates to a face image adjustment system and a face image adjustment method that apply face recognition and record user behavior.
背景技术Background technique
目前市面上的修图软件和美图美容的应用程序相当盛行,使用者可针对其人脸影像轻松指定欲选择的美图特效,例如,使用者应用修图软件,以针对其脸部影像套用瘦脸、美白、磨皮、去斑、去痘等效果,并输出修图后的人脸影像。At present, photo editing software and Meitu beauty application programs are very popular in the market. Users can easily specify the photo special effects they want to choose according to their facial images. For example, users apply photo editing software to apply thin face to their facial images. , whitening, skin smoothing, speckle removal, acne removal and other effects, and output the retouched face image.
然而,即使对应相同使用者的多张照片,其仍需要一张张修图或点选特效,才能达到使用者所期待的美图效果,如此一来,这种重复性的操作,往往造成使用者于修图时的困扰。However, even if there are multiple photos corresponding to the same user, it still needs to edit the photos or click on special effects one by one to achieve the desired effect of the user. In this way, this repetitive operation often causes the user to be frustrated. Trouble when retouching.
发明内容Contents of the invention
为解决上述的问题,本发明的一方面提供一种人脸影像调整系统。人脸影像调整系统包括:一影像撷取模块、一储存模块及一处理模块。影像撷取模块用以取得一影像文件。储存模块耦接于影像撷取模块,用以储存至少一已知人脸影像以及对应至少一已知人脸影像的至少一调配参数组。处理模块耦接于影像撷取模块与储存模块,用以当辨识出影像文件中具有符合至少一已知人脸影像的一第一初始人脸影像时,根据至少一已知人脸影像对应的至少一调配参数组调整符合至少一已知人脸影像的第一初始人脸影像,以输出一后制人脸影像。In order to solve the above problems, one aspect of the present invention provides a human face image adjustment system. The face image adjustment system includes: an image capture module, a storage module and a processing module. The image capturing module is used for obtaining an image file. The storage module is coupled to the image capture module, and is used for storing at least one known face image and at least one configuration parameter set corresponding to the at least one known face image. The processing module is coupled to the image capturing module and the storage module, and is used for identifying a first initial human face image corresponding to at least one known human face image in the image file, according to at least one corresponding to the at least one known human face image. The allocation parameter set adjusts the first initial face image conforming to at least one known face image to output a post-production face image.
本发明的另一方面是于提供一种人脸影像调整方法人脸影像调整方法包括以下步骤:取得一影像文件;储存至少一已知人脸影像以及对应至少一已知人脸影像的至少一调配参数组;以及当辨识出影像文件中具有符合至少一已知人脸影像的一第一初始人脸影像时,根据至少一已知人脸影像对应的至少一调配参数组调整符合至少一已知人脸影像的第一初始人脸影像,以输出一后制人脸影像。Another aspect of the present invention is to provide a face image adjustment method. The face image adjustment method includes the following steps: obtaining an image file; storing at least one known face image and at least one allocation parameter corresponding to at least one known face image set; and when it is recognized that there is a first initial face image matching at least one known face image in the image file, adjust the at least one matching parameter set corresponding to at least one known face image according to at least one known face image The first initial face image to output a post-production face image.
透过应用上述的人脸影像调整系统及人脸影像调整方法,使用者可辨识影像文件中是否已知人脸影像,并通过已记录的使用者修图偏好,以直接将此修图偏好套用于对应的已知人脸影像中,借此减少针对同一使用者的多张照片需各别重新修图的困扰。By applying the above-mentioned face image adjustment system and face image adjustment method, the user can identify whether the face image is known in the image file, and use the recorded user image retouching preference to directly apply the image retouching preference to the In the corresponding known face images, the trouble of re-editing pictures for multiple photos of the same user is reduced.
附图说明Description of drawings
图1为根据本发明一实施例所绘示的人脸影像调整系统100的方块图;FIG. 1 is a block diagram of a face image adjustment system 100 according to an embodiment of the present invention;
图2为根据本发明一实施例所绘示的人脸影像调整方法200的流程图;FIG. 2 is a flowchart of a face image adjustment method 200 according to an embodiment of the present invention;
图3A~图3B为根据本发明一实施例所绘示的人脸影像调整方法300流程图;3A-3B are flowcharts of a face image adjustment method 300 according to an embodiment of the present invention;
图4A~图4C为根据本发明一实施例所绘示的人脸影像调整方法300的使用者界面示意图;4A-4C are schematic diagrams of the user interface of the face image adjustment method 300 according to an embodiment of the present invention;
图5为根据本发明一实施例所绘示的人脸影像调整方法500的流程图。FIG. 5 is a flowchart of a face image adjustment method 500 according to an embodiment of the present invention.
具体实施方式detailed description
请参照图1,图1为根据本发明一实施例所绘示的影像管理系统100的方块图。如图1所示,影像管理系统100包含影像撷取模块110、储存系统120与处理模块130。于本发明各实施例中,影像撷取模块110用以撷取影像,可以是电荷耦合元件(Charge Coupled Device,CCD)或互补性氧化金属半导体(Complementary Metal-Oxide Semiconductor,CMOS)。储存模块120用以储存数据,可以例如为记忆体、硬盘、随身盘记忆卡等。处理模块130用以处理各种运算,可以实施为集成电路如微控制单元(microcontroller)、微处理器(microprocessor)、数字信号处理器(digital signal processor)、特殊应用集成电路(application specific integrated circuit,ASIC)或一逻辑电路。以下将于图1中的影像管理系统100搭配图2中的人脸影像调整方法200,以提供本发明更具体的细节。Please refer to FIG. 1 , which is a block diagram of an image management system 100 according to an embodiment of the present invention. As shown in FIG. 1 , the image management system 100 includes an image capture module 110 , a storage system 120 and a processing module 130 . In various embodiments of the present invention, the image capturing module 110 is used to capture images, and may be a Charge Coupled Device (CCD) or a Complementary Metal-Oxide Semiconductor (CMOS). The storage module 120 is used for storing data, and may be, for example, a memory, a hard disk, a flash memory card, and the like. The processing module 130 is used to process various calculations, and can be implemented as an integrated circuit such as a microcontroller, a microprocessor, a digital signal processor, or an application specific integrated circuit, ASIC) or a logic circuit. Below, the image management system 100 in FIG. 1 will be combined with the face image adjustment method 200 in FIG. 2 to provide more specific details of the present invention.
图2为根据本发明一实施例所绘示的人脸影像调整方法200的流程图。人脸影像调整方法200可应用于相同或相似于图1中所示结构的人脸影像调整系统100。而为使叙述简单,以下将根据本发明一实施例,以图1中的人脸影像调整系统100为例进行对方法叙述,然本发明不以此应用为限。FIG. 2 is a flowchart of a face image adjustment method 200 according to an embodiment of the present invention. The face image adjustment method 200 can be applied to the face image adjustment system 100 with the same or similar structure as shown in FIG. 1 . To simplify the description, the method will be described below by taking the face image adjustment system 100 in FIG. 1 as an example according to an embodiment of the present invention, but the present invention is not limited to this application.
应注意到,人脸影像调整方法200的可经由前述实施例中的人脸影像调整系统100来实现,亦可实作为一计算机程序,并储存于一非挥发性计算机可读取记录媒体中,而使移动装置、计算机或电子装置读取此记录媒体的人脸影像调整方法200。非挥发性计算机可读取记录媒体可为唯读记忆体、快闪记忆体、软盘、硬盘、光盘、随身盘、磁带、可由网络存取的数据库或熟悉此技艺者可轻易思及具有相同功能的非挥发性计算机可读取记录媒体。It should be noted that the face image adjustment method 200 can be implemented through the face image adjustment system 100 in the aforementioned embodiments, and can also be implemented as a computer program and stored in a non-volatile computer-readable recording medium, And make the mobile device, computer or electronic device read the face image adjustment method 200 of the recording medium. The non-volatile computer-readable recording medium can be read-only memory, flash memory, floppy disk, hard disk, optical disk, pen drive, magnetic tape, database accessible by the network, or those skilled in the art can easily conceive of having the same function A non-volatile computer readable recording medium.
另外,应了解到,在本实施方式中所提及的方法的步骤,除特别叙明其顺序者外,均可依实际需要调整其前后顺序,甚至可同时或部分同时执行。In addition, it should be understood that the steps of the method mentioned in this embodiment can be adjusted in sequence according to actual needs, and can even be executed simultaneously or partially simultaneously, unless the order is specifically stated.
关于本文中所使用的“第一”、“第二”、…等,并非特别指称次序或顺位的意思,亦非用以限定本发明,其仅仅是为了区别以相同技术用语描述的元件或操作而已。As used herein, "first", "second", ... etc. do not specifically refer to the order or order, nor are they used to limit the present invention, but are only used to distinguish elements or components described with the same technical terms. Operation only.
在本实施例中,人脸影像调整方法200包括以下步骤。In this embodiment, the face image adjustment method 200 includes the following steps.
于步骤S210中,影像撷取模块110用以取得一影像文件。例如,位于移动装置中的影像撷取模块110采用前置镜头拍摄使用者自己的脸部照片,或采用后置镜头拍摄他人脸部照片。In step S210, the image capture module 110 is used to obtain an image file. For example, the image capture module 110 located in the mobile device uses the front camera to take a picture of the user's own face, or uses the rear camera to take pictures of other people's faces.
于步骤S220中,储存模块120用以储存至少一已知人脸影像以及对应至少一已知人脸影像的至少一调配参数组。于一实施例中,储存模块120耦接于影像撷取模块110,且步骤S220可于步骤S210之前或之后实行。In step S220, the storage module 120 is used for storing at least one known face image and at least one configuration parameter set corresponding to the at least one known face image. In one embodiment, the storage module 120 is coupled to the image capture module 110, and the step S220 can be performed before or after the step S210.
举例而言,储存模块120可以于取得人脸影像之前,事先储存至少一个人脸影像于储存模块120中,并记录对应每个人脸影像的调配参数组。于一实施例中,调配参数组可包含用以调整肤色的亮度参数值、用以调整脸部光滑程度的平滑参数值、用以调整脸部气色的调色参数值、眼部放大参数值、脸部去痘参数值、脸部去斑参数值、脸型参数值等等,这些参数值所对应的效果可由各种已知的影像处理演算法达成,例如:影像滤波演算法、平滑影像演算法…等,故此处不赘述之。通过将人脸影像套用或以这些调配参数值进行调整,可以使人脸影像达到美化的效果。于一实施例中,人脸影像调整系统100可经由记录每个使用者于每次操作时,所选用的多个调配参数值以产生调配参数组,或经由使用者手动设定并储存的多个调配参数值以产生调配参数组。For example, the storage module 120 may store at least one face image in the storage module 120 in advance before acquiring the face image, and record the allocation parameter set corresponding to each face image. In one embodiment, the adjustment parameter set may include the brightness parameter value for adjusting the skin color, the smoothing parameter value for adjusting the smoothness of the face, the toning parameter value for adjusting the complexion of the face, the eye enlargement parameter value, Face acne parameter values, face speckle removal parameter values, face shape parameter values, etc. The effects corresponding to these parameter values can be achieved by various known image processing algorithms, such as: image filtering algorithm, smoothing image algorithm ... and so on, so I won't repeat them here. By applying the face image or making adjustments with these adjusted parameter values, the face image can be beautified. In one embodiment, the facial image adjustment system 100 can generate a configuration parameter set by recording multiple configuration parameter values selected by each user during each operation, or by manually setting and storing multiple configuration parameters. tuning parameter values to generate a tuning parameter set.
于步骤S230中,处理模块130用以辨识影像文件中是否具有符合至少一已知人脸影像的一第一初始人脸影像。当处理模块130辨识影像文件中具有符合至少一已知人脸影像的一第一初始人脸影像时,则进行步骤S240;若处理模块130辨识影像文件中没有符合至少一已知人脸影像的一第一初始人脸影像时,则结束此流程。In step S230, the processing module 130 is used to identify whether there is a first initial face image matching at least one known face image in the image file. When the processing module 130 recognizes that there is a first initial face image matching at least one known face image in the image file, proceed to step S240; if the processing module 130 recognizes that there is no first initial face image matching at least one known face image in the image file When an initial face image is obtained, the process ends.
由于同一个人脸影像通常具有固定的人脸特征,因此,处理模块130可透过辨识人脸特征,以取得第一初始人脸影像的至少一人脸特征,并判断影像文件中是否具有第一初始人脸影像。于一实施例中,人脸特征可以为一内侧眼角间距、一鼻翼左右侧间距、一斑点位置或一嘴角间距。例如,处理模块130判断第一初始人脸影像中的斑点位置与鼻翼左右侧间距皆符合储存模块120中的某一个人脸影像的数据,则将当前的第一初始人脸影像判断为已知人脸影像。Since the same facial image usually has fixed facial features, the processing module 130 can obtain at least one facial feature of the first initial facial image by identifying facial features, and determine whether the image file has the first initial facial features. Face image. In one embodiment, the face feature may be a distance between the inner corners of the eyes, a distance between the left and right sides of the nose, a spot location, or a distance between the corners of the mouth. For example, the processing module 130 judges that the spot position and the distance between the left and right sides of the nose in the first initial face image conform to the data of a certain face image in the storage module 120, and then judges that the current first initial face image is a known person. face image.
借此,处理模块130可根据第一初始人脸影像的至少一人脸特征,以辨识第一初始人脸影像是否符合于储存模块120所储存的至少一已知人脸影像。In this way, the processing module 130 can identify whether the first initial human face image matches at least one known human face image stored in the storage module 120 according to at least one facial feature of the first initial human face image.
于另一实施例中,若影像文件中具有多个人脸影像,且一部分为已知人脸影像,而另一部份不为已知人脸影像时,使用者可透过使用界面选择欲进行修图的人脸影像,再于步骤S330中,判断是否其所选择的人脸影像为已知人脸影像。In another embodiment, if there are multiple face images in the image file, and some of them are known face images, while the other part is not, the user can choose to modify the image through the user interface Then in step S330, it is judged whether the selected face image is a known face image.
于步骤S240中,处理模块130根据至少一已知人脸影像对应的至少一调配参数组调整符合至少一已知人脸影像的第一初始人脸影像。In step S240 , the processing module 130 adjusts the first initial face image matching the at least one known face image according to at least one configuration parameter set corresponding to the at least one known face image.
于一实施例中,处理模块130耦接于影像撷取模块110与储存模块120,且当处理模块130辨识初始人脸影像为已知人脸影像后,表示储存模块120中存在对应此人脸影像的至少一调配参数组。因此,通过处理模块130依据对应此人脸影像的事先储存的调配参数组,可自动调整当前的使用者脸部照片,或建议使用者偏好的调配参数组以进行修图设定,能让使用者的修图步骤更为简洁。In one embodiment, the processing module 130 is coupled to the image capture module 110 and the storage module 120, and when the processing module 130 recognizes that the initial face image is a known face image, it indicates that there is a corresponding face image in the storage module 120 At least one tuning parameter set for . Therefore, the processing module 130 can automatically adjust the current user's face photo according to the pre-stored configuration parameter set corresponding to the face image, or suggest the user's preferred configuration parameter set for image modification settings, allowing users to The editor's editing steps are more concise.
一般而言,每一个使用者的修图习惯较为固定,例如,某一使用者具有偏好将眼部放大的修图习惯,而另一使用者具有偏好修除雀斑的修图习惯。举例而言,储存模块120中存在对应某一人脸影像的调配参数组,且此调配参数组是将平滑参数值设为50%,并将眼部放大参数值设为20%,则处理模块130可依据这些调配参数值,自动进行人脸影像调配或是推荐使用者使用这些调配参数值,以人脸影像对应调配参数组的平滑效果及眼部放大效果进行调整。Generally speaking, each user's photo editing habit is relatively fixed. For example, a certain user has a photo editing habit that prefers to enlarge eyes, while another user has a photo editing habit that prefers to remove freckles. For example, there is an allocation parameter set corresponding to a face image in the storage module 120, and the allocation parameter set is to set the smoothing parameter value to 50%, and set the eye enlargement parameter value to 20%, then the processing module 130 Based on these adjustment parameter values, the face image adjustment can be automatically performed or the user is recommended to use these adjustment parameter values to adjust the smoothing effect and the eye enlargement effect of the adjustment parameter set corresponding to the face image.
接着,于步骤S250中,处理模块130输出一后制人脸影像。于一实施例中,处理模块130将套用调配参数组后的人脸影像显示于显示模块150上。Next, in step S250, the processing module 130 outputs a post-production face image. In one embodiment, the processing module 130 displays on the display module 150 the face image after applying the configuration parameter set.
经由上述步骤,透过人脸影像调整系统100及人脸影像调整方法200可辨识出一已知人脸,让使用者方便的套用事先储存的调配参数组,以达到修图的目的。通过记录使用者的修图习惯,使得当处理模块130辨识出已知使用者后,即可自动套用已储存的调配参数组直接进行修图,或是推荐使用者偏好的调配参数值,以产生后制人脸影像。因此,在使用者为同一人的情况下,不需要将每一张影像文件都手动地调整多种调配参数值。Through the above steps, a known face can be identified through the face image adjustment system 100 and the face image adjustment method 200, allowing the user to conveniently apply the pre-stored allocation parameter set to achieve the purpose of image retouching. By recording the user's image editing habits, when the processing module 130 recognizes a known user, it can automatically apply the stored adjustment parameter set to directly perform image editing, or recommend the user's preferred adjustment parameter value to generate Post-production facial images. Therefore, in the case that the user is the same person, it is not necessary to manually adjust various allocation parameter values for each image file.
接着,请一并参照图3A~图3B及图4A~图4C,图3A~图3B为根据本发明一实施例所绘示的人脸影像调整方法300流程图。图4A~图4C为根据本发明一实施例所绘示的人脸影像调整方法300的使用者界面示意图。为了方便说明,图4A~图4C所示的使用者界面示意图会与图3A~图3B的人脸影像调整方法300一并说明。Next, please refer to FIGS. 3A-3B and FIGS. 4A-4C together. FIGS. 3A-3B are flowcharts of a face image adjustment method 300 according to an embodiment of the present invention. 4A-4C are schematic diagrams of user interfaces of a face image adjustment method 300 according to an embodiment of the present invention. For the convenience of description, the user interface diagrams shown in FIGS. 4A-4C will be described together with the face image adjustment method 300 in FIGS. 3A-3B .
于本实施例中,调配参数组可为自动调配参数值或使用者调配参数值或同时采用自动调配参数值及使用者调配参数值,且自动调配参数值或使用者调配参数值皆具有至少一调配参数值。In this embodiment, the configuration parameter set can be an automatic configuration parameter value or a user configuration parameter value, or both an automatic configuration parameter value and a user configuration parameter value, and both the automatic configuration parameter value or the user configuration parameter value have at least one Adjust parameter values.
其中,图3A~图3B中的步骤S310~S330、S350分别与图2中的步骤S210~S230、S250相同,故以下不赘述之。Wherein, steps S310-S330 and S350 in FIG. 3A-FIG. 3B are the same as steps S210-S230 and S250 in FIG. 2 respectively, so they will not be described in detail below.
于步骤S330中,处理模块130判断辨识影像文件中具有符合至少一已知人脸影像的一第一初始人脸影像(例如图4A所示)后,进入步骤S341。于一实施例中,当处理模块130判断辨识影像文件中不具有符合至少一已知人脸影像的一第一初始人脸影像时,进入图3B的步骤S361,步骤S361将于说明书后续段落描述。In step S330, after the processing module 130 determines that there is a first initial face image (such as shown in FIG. 4A ) matching at least one known face image in the recognized image file, it proceeds to step S341. In one embodiment, when the processing module 130 determines that there is no first initial face image matching at least one known face image in the recognized image file, it enters step S361 of FIG. 3B , and step S361 will be described in subsequent paragraphs of the specification.
于步骤S341中,处理模块130会由储存模块120中读取出对应第一初始人脸影像的已知人脸影像的自动调配参数值,并载入对应已知人脸影像的自动调配参数值。于一实施例中,自动调配参数值为已知人脸影像所对应的使用者所偏好的或常用的至少一个调配参数值,且此至少一调配参数值是事先储存于储存模块120中,例如,一脸部去斑参数值。In step S341, the processing module 130 reads the automatic allocation parameter value of the known face image corresponding to the first initial human face image from the storage module 120, and loads the automatic allocation parameter value corresponding to the known face image. In one embodiment, the automatic configuration parameter value is at least one configuration parameter value preferred or commonly used by the user corresponding to the known face image, and the at least one configuration parameter value is stored in the storage module 120 in advance, for example, A face speckle removal parameter value.
于步骤S343中,处理模块130判断是否接收到使用者调配参数值。若处理模块130判断接收到使用者调配参数值,则进入步骤S345;若处理模块130判断没有接收到使用者调配参数值,则进入步骤S347。于一实施例中,处理模块130可透过一使用者界面,以接收使用者当前针对人脸影像所输入的使用者调配参数值,例如,使用者透过使用者界面输入一脸型参数值及一眼部放大参数值,借此,使用者可弹性地针对当前人脸影像以手动方式微调修图效果。In step S343, the processing module 130 determines whether the parameter value configured by the user is received. If the processing module 130 determines that the user-adjusted parameter value has been received, then enter step S345; if the processing module 130 determines that the user-adjusted parameter value has not been received, then enter step S347. In one embodiment, the processing module 130 can receive the user-configured parameter value currently input by the user for the face image through a user interface, for example, the user inputs a face shape parameter value and One-eye enlargement parameter value, so that the user can flexibly fine-tune the image retouching effect manually for the current face image.
于步骤S345中,当处理模块130判断接收到使用者调配参数值时,通过载入自动调配参数值与使用者调配参数值,以调整第一初始人脸影像。于一实施例中,如图4A所示,处理模块130通过载入自动调配参数值,例如为脸部去斑参数值,以调整第一初始人脸影像F1,借此使调整后的人脸影像F2达到去斑的效果(如图4B所示),此外,处理模块130进一步载入使用者调配参数值,例如为脸型参数值及眼部放大参数值,以调整人脸影像F2,使得调整后的人脸影像F3,达到同时具有去斑、瘦脸及眼部放大的美图效果(如图4C所示)。In step S345 , when the processing module 130 determines that the user-adjusted parameter value is received, the first initial face image is adjusted by loading the automatically-adjusted parameter value and the user-adjusted parameter value. In one embodiment, as shown in FIG. 4A , the processing module 130 adjusts the first initial human face image F1 by loading the automatically adjusted parameter values, such as facial speckle removal parameter values, so that the adjusted human face The image F2 achieves the speckle removal effect (as shown in FIG. 4B ). In addition, the processing module 130 further loads user-configured parameter values, such as face shape parameter values and eye enlargement parameter values, to adjust the face image F2, so that the adjustment The final face image F3 achieves the beautification effect of freckle removal, face thinning and eye enlargement (as shown in FIG. 4C ).
另一方面,于步骤S347中,当处理模块130判断没有接收到使用者调配参数值后,则直接通过自动调配参数值调整第一初始人脸影像,例如,图4A所示,处理模块130通过载入自动调配参数值,例如为脸部去斑参数值,以调整第一初始人脸影像F1,调整后的人脸影像F2可达到去斑的效果(如图4B所示)。借此,在没有接收到使用者调配参数值的情况下,处理模块130仍可依据事先储存于储存模块120中的自动调配参数值,以自动调整人脸影像,可使对应至同一使用者的多张人脸影像,皆自动以此使用者的偏好或其事先设定的方式进行修图,以减少重复性的修图操作。On the other hand, in step S347, when the processing module 130 judges that the parameter value assigned by the user has not been received, the first initial facial image is directly adjusted by automatically adjusting the parameter value, for example, as shown in FIG. 4A, the processing module 130 passes Load the automatically adjusted parameter value, for example, the face speckle removal parameter value, to adjust the first initial face image F1, and the adjusted face image F2 can achieve the speckle removal effect (as shown in FIG. 4B ). In this way, in the case of not receiving the parameter value adjusted by the user, the processing module 130 can still automatically adjust the face image according to the automatically adjusted parameter value stored in the storage module 120 in advance, so that the face image corresponding to the same user can be adjusted. Multiple face images are automatically retouched according to the user's preference or a pre-set method to reduce repetitive retouching operations.
接着,于步骤S350中,处理模块130输出后制人脸影像。Next, in step S350, the processing module 130 outputs the post-production face image.
由上述可知,通过自动调配参数值的套用,人脸影像调整系统100可以依据已知的使用者行为及事先储存的调配参数组,以自动推荐使用者其所偏好或适当的美图效果,让使用者能够以简洁的步骤完成修图,另一方面,使用者也可透过使用者界面输入使用者调配参数,以针对当前的人脸影像进行调整,借此可使修图的操作更具弹性。As can be seen from the above, through the application of automatic allocation parameter values, the face image adjustment system 100 can automatically recommend the user's preferred or appropriate beautification effect according to the known user behavior and the pre-stored allocation parameter set, so that Users can complete image retouching in simple steps. On the other hand, users can also input user-adjusted parameters through the user interface to adjust the current face image, thereby making the image retouching operation more efficient. elasticity.
另一方面,于一实施例中,可进一步针对影像文件中未知的人脸影像进行处理。于图3A的步骤S330中,若处理模块130判断辨识影像文件中不具有符合至少一已知人脸影像的一第一初始人脸影像,则进入图3B中的步骤S361。On the other hand, in an embodiment, the unknown face image in the image file can be further processed. In step S330 of FIG. 3A , if the processing module 130 determines that there is no first initial face image matching at least one known face image in the recognized image file, then enter step S361 of FIG. 3B .
于步骤S361中,处理模块130辨识影像文件中是否具有不符合至少一已知人脸影像的另一出始人脸影像。换言之,于步骤S361中,处理模块130会进一步判断影像文件中是否有另一人脸影像,且此另一人影像并非为已知的人脸影像。In step S361 , the processing module 130 identifies whether there is another original face image in the image file that does not match at least one known face image. In other words, in step S361 , the processing module 130 further determines whether there is another human face image in the image file, and the other human face image is not a known human face image.
于步骤S363中,处理模块130接收用以调整此另一初始人脸影像的使用者调配参数值,并将另一初始人脸影像与使用者调配参数值储存于储存模块120。于一实施例中,处理模块130可将此另一使用者于当次修图的偏好记录下来,例如,用以瘦脸或瘦下巴的脸型参数值、用以修除眼袋的参数值、用以修除疤痕的参数值等等。In step S363 , the processing module 130 receives the user configuration parameter value for adjusting the other initial face image, and stores the other initial face image and the user configuration parameter value in the storage module 120 . In one embodiment, the processing module 130 can record the preferences of the other user in the current picture editing, for example, the face shape parameter values for thinning the face or chin, the parameter values for removing bags under the eyes, and the parameter values for Parameter values for scar removal, etc.
因此,当处理模块130判断影像文件中具有未知的人脸影像时,可将此未知的人脸影像及其使用者调配参数值储存起来,如此一来,当再次拍摄此人脸影像时,处理模块130即可辨识出此人脸影像,并推荐此使用者调配参数值。Therefore, when the processing module 130 judges that there is an unknown face image in the image file, it can store the unknown face image and its user-configured parameter values, so that when the face image is captured again, the processing The module 130 can recognize the face image, and recommend the user to adjust parameter values.
通过此方法,使人脸影像调整系统100能够建立大量的使用者脸型数据库,并依据脸型数据库中的各脸型对应的调配参数组以自动推荐适当的修图效果。Through this method, the face image adjustment system 100 can establish a large number of user face databases, and automatically recommend appropriate image retouching effects according to the configuration parameter sets corresponding to each face in the facial database.
请参阅图5,图5为根据本发明一实施例所绘示的人脸影像调整方法500的流程图。在此实施例中,于图1的步骤S350之后可进一步包含步骤S510~S540,以下详述这些步骤。Please refer to FIG. 5 , which is a flowchart of a method 500 for adjusting a face image according to an embodiment of the present invention. In this embodiment, steps S510 - S540 may be further included after step S350 in FIG. 1 , and these steps will be described in detail below.
于步骤S510中,处理模块130还用以判断后制人脸影像是否被选择。于一实施例中,使用者可透过一使用者界面以选择是否采用后制人脸影像。若处理模块130判断后制人脸影像被选择时,进入步骤S520;若处理模块130判断后制人脸影像没有被选择时,进入步骤S540。In step S510, the processing module 130 is also used to determine whether the post-production face image is selected. In one embodiment, the user can choose whether to use the post-production face image through a user interface. If the processing module 130 judges that the post-production face image is selected, go to step S520; if the processing module 130 judges that the post-production face image is not selected, go to step S540.
于步骤S540中,透过耦接于处理模块130的显示模块150,显示第一初始人脸影像。In step S540 , the first initial face image is displayed through the display module 150 coupled to the processing module 130 .
另一方面,于步骤S520中,处理模块130将后制人脸影像储存于储存模块120。On the other hand, in step S520 , the processing module 130 stores the post-production face image in the storage module 120 .
此外,于一实施例中,可选择性地执行步骤S530,通过耦接于处理模块130的传输模块140,以将储存模块120所储存的后制人脸影像传送于一网际网络。借此,可透过网际网络将后制人脸影像传送到其他应用程序或网页中,例如脸书(Face Book)、Line、微信等等,借此将后制人脸影像分享于多个应用程序中。In addition, in one embodiment, step S530 can be optionally performed to transmit the post-production face image stored in the storage module 120 to an Internet through the transmission module 140 coupled to the processing module 130 . In this way, the post-production face image can be sent to other applications or web pages through the Internet, such as Facebook (Face Book), Line, WeChat, etc., so that the post-production face image can be shared with multiple applications program.
借此,透过应用本发明的人脸影像调整系统及人脸影像调整方法,能使人脸影像调整系统辨识出已知使用者后,可更方便地利用已储存的调配参数组直接修图或推荐使用者其偏好的调配参数值,以产生后制人脸影像,减少对应同一使用者的多张人脸影像一一重复选择调配参数值的困扰,并满足使用者更便利的修图需求。Thereby, by applying the face image adjustment system and the face image adjustment method of the present invention, after the face image adjustment system recognizes a known user, it is more convenient to use the stored deployment parameter group to directly modify the image Or recommend the user's preferred adjustment parameter value to generate a post-production face image, reduce the trouble of repeatedly selecting the adjustment parameter value one by one for multiple face images corresponding to the same user, and meet the user's more convenient image editing needs .
虽然本发明已以实施例揭露如上,然其并非用以限定本发明,任何熟悉此技艺者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰,因此本发明的保护范围当视所附的权利要求书所界定的范围为准。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Any skilled person can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection should be based on the scope defined by the appended claims.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510563390.8A CN106503606A (en) | 2015-09-08 | 2015-09-08 | face image adjusting system and face image adjusting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510563390.8A CN106503606A (en) | 2015-09-08 | 2015-09-08 | face image adjusting system and face image adjusting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106503606A true CN106503606A (en) | 2017-03-15 |
Family
ID=58287841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510563390.8A Withdrawn CN106503606A (en) | 2015-09-08 | 2015-09-08 | face image adjusting system and face image adjusting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106503606A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169920A (en) * | 2017-04-24 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of intelligence repaiies drawing method and terminal |
CN108550185A (en) * | 2018-05-31 | 2018-09-18 | Oppo广东移动通信有限公司 | Face beautification processing method and device |
CN108764180A (en) * | 2018-05-31 | 2018-11-06 | Oppo广东移动通信有限公司 | Face recognition method and device, electronic equipment and readable storage medium |
CN109741283A (en) * | 2019-01-23 | 2019-05-10 | 芜湖明凯医疗器械科技有限公司 | A kind of method and apparatus for realizing smart filter |
CN110349079A (en) * | 2019-06-04 | 2019-10-18 | 苏州浩哥文化传播有限公司 | A kind of method for correcting image and its system based on user's habit and big data |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364265A (en) * | 2008-09-18 | 2009-02-11 | 北京中星微电子有限公司 | Method for auto configuring equipment parameter of electronic appliance and ccd camera |
CN102456232A (en) * | 2010-10-20 | 2012-05-16 | 鸿富锦精密工业(深圳)有限公司 | Face image substitution system and method |
US20130236052A1 (en) * | 2003-06-26 | 2013-09-12 | DigitalOptics Corporation Europe Limited | Digital Image Processing Using Face Detection and Skin Tone Information |
CN103310181A (en) * | 2012-03-07 | 2013-09-18 | 华晶科技股份有限公司 | Face recognition system and face recognition method thereof |
CN103425709A (en) * | 2012-05-25 | 2013-12-04 | 致伸科技股份有限公司 | Photo image management method and photo image management system |
CN104503749A (en) * | 2014-12-12 | 2015-04-08 | 广东欧珀移动通信有限公司 | Photo processing method and electronic equipment |
CN104754234A (en) * | 2015-04-13 | 2015-07-01 | 深圳市欧珀通信软件有限公司 | Photographing method and device |
-
2015
- 2015-09-08 CN CN201510563390.8A patent/CN106503606A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130236052A1 (en) * | 2003-06-26 | 2013-09-12 | DigitalOptics Corporation Europe Limited | Digital Image Processing Using Face Detection and Skin Tone Information |
CN101364265A (en) * | 2008-09-18 | 2009-02-11 | 北京中星微电子有限公司 | Method for auto configuring equipment parameter of electronic appliance and ccd camera |
CN102456232A (en) * | 2010-10-20 | 2012-05-16 | 鸿富锦精密工业(深圳)有限公司 | Face image substitution system and method |
CN103310181A (en) * | 2012-03-07 | 2013-09-18 | 华晶科技股份有限公司 | Face recognition system and face recognition method thereof |
CN103425709A (en) * | 2012-05-25 | 2013-12-04 | 致伸科技股份有限公司 | Photo image management method and photo image management system |
CN104503749A (en) * | 2014-12-12 | 2015-04-08 | 广东欧珀移动通信有限公司 | Photo processing method and electronic equipment |
CN104754234A (en) * | 2015-04-13 | 2015-07-01 | 深圳市欧珀通信软件有限公司 | Photographing method and device |
Non-Patent Citations (1)
Title |
---|
王科俊 等: "人脸图像检测与识别方法综述", 《自动化技术与应用》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169920A (en) * | 2017-04-24 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of intelligence repaiies drawing method and terminal |
CN108550185A (en) * | 2018-05-31 | 2018-09-18 | Oppo广东移动通信有限公司 | Face beautification processing method and device |
CN108764180A (en) * | 2018-05-31 | 2018-11-06 | Oppo广东移动通信有限公司 | Face recognition method and device, electronic equipment and readable storage medium |
CN109741283A (en) * | 2019-01-23 | 2019-05-10 | 芜湖明凯医疗器械科技有限公司 | A kind of method and apparatus for realizing smart filter |
CN110349079A (en) * | 2019-06-04 | 2019-10-18 | 苏州浩哥文化传播有限公司 | A kind of method for correcting image and its system based on user's habit and big data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI587242B (en) | Face image adjustment system and face image adjustment method | |
CN104503749B (en) | Photo processing method and electronic equipment | |
CN104159032B (en) | A kind of real-time adjustment camera is taken pictures the method and device of U.S. face effect | |
US8396316B2 (en) | Method and apparatus for processing image | |
CN107808136A (en) | Image processing method, device, readable storage medium storing program for executing and computer equipment | |
CN106503606A (en) | face image adjusting system and face image adjusting method | |
JP5949331B2 (en) | Image generating apparatus, image generating method, and program | |
CN108022207A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107862653A (en) | Method for displaying image, device, storage medium and electronic equipment | |
US20160189413A1 (en) | Image creation method, computer-readable storage medium, and image creation apparatus | |
CN107341762A (en) | Take pictures processing method, device and terminal device | |
WO2023010796A1 (en) | Image processing method and related apparatus | |
CN104754221A (en) | Photographing method and mobile terminal | |
CN108769537A (en) | Photographing method, device, terminal and readable storage medium | |
CN106067167A (en) | Image processing method and device | |
US11812183B2 (en) | Information processing device and program | |
CN108447026A (en) | Acquisition methods, terminal and the computer readable storage medium of U.S. face parameter attribute value | |
CN104935805A (en) | Image processing device and image processing method | |
CN111932442B (en) | Video beautifying method, device and equipment based on face recognition technology and computer readable storage medium | |
CN111915529B (en) | Dim light enhancement method and device for video, mobile terminal and storage medium | |
CN113709370A (en) | Image generation method and device, electronic equipment and readable storage medium | |
CN106327588B (en) | Intelligent terminal and image processing method and device thereof | |
CN112492211A (en) | Shooting method, electronic equipment and storage medium | |
CN103516951A (en) | Image creating device and image creating method | |
CN108447035A (en) | Image optimization method, electronic device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170315 |
|
WW01 | Invention patent application withdrawn after publication |