CN110298304A - A kind of skin detecting method and terminal - Google Patents

A kind of skin detecting method and terminal Download PDF

Info

Publication number
CN110298304A
CN110298304A CN201910567018.2A CN201910567018A CN110298304A CN 110298304 A CN110298304 A CN 110298304A CN 201910567018 A CN201910567018 A CN 201910567018A CN 110298304 A CN110298304 A CN 110298304A
Authority
CN
China
Prior art keywords
light
camera
skin
skin image
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910567018.2A
Other languages
Chinese (zh)
Inventor
林华鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910567018.2A priority Critical patent/CN110298304A/en
Publication of CN110298304A publication Critical patent/CN110298304A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

It includes: the first camera, terminal that the embodiment of the present invention, which provides a kind of skin detecting method and terminal, the terminal, further include: optical filter is arranged in second camera in second camera and light filling mould group, and light filling mould group includes white light light compensating lamp and ultraviolet light light compensating lamp;Method includes: the white light skin image that target object is obtained by white light light compensating lamp and the first camera;By ultraviolet light light compensating lamp and second camera, the ultraviolet light skin image of target object is obtained;According to white light skin image and ultraviolet light skin image, the skin detection result of target object is determined.In the embodiment of the present invention, pass through light filling mould group, the first camera and second camera including white light light compensating lamp and ultraviolet light light compensating lamp, make the white light skin image and ultraviolet light skin image of the available target object of terminal, profound skin detection is carried out according to the white light skin image and ultraviolet light skin image, the accuracy of skin detection can be improved.

Description

A kind of skin detecting method and terminal
Technical field
The present embodiments relate to field of terminal technology, in particular to a kind of skin detecting method and terminal.
Background technique
Skin detection function is proposed on many intelligent terminals, which is mainly the coloured silk carried by terminal Color (Red-Green-Blue, RGB) camera is taken pictures, and then carries out skin quality detection according to resulting skin image of taking pictures.
Above-mentioned skin detection function is only capable of being detected according to the skin image under common white light, obtains the skin on some bases If desired skin state carries out the detection of deeper, then need to obtain skin image under ultraviolet light, but due to RGB camera Do not have the ability for receiving ultraviolet light, existing terminal can not obtain the skin image under ultraviolet light, and then can not carry out deeper Detection, lead to the skin detection result inaccuracy of terminal.
Summary of the invention
The embodiment of the present invention provides a kind of skin detecting method and terminal, solves existing terminal because that can not obtain under ultraviolet light Skin image, lead to the problem of skin detection result inaccuracy.
According to an embodiment of the present invention in a first aspect, providing a kind of terminal, the terminal includes: for acquiring white light skin First camera of image, the second camera for acquiring ultraviolet light skin image and light filling mould group, the second camera Interior setting optical filter, the light filling mould group include white light light compensating lamp and ultraviolet light light compensating lamp.
Second aspect according to an embodiment of the present invention provides a kind of skin detecting method, is applied to as described in relation to the first aspect Terminal, which comprises by the first camera, obtain the white light skin image of target object;Open ultraviolet light light filling Lamp obtains the ultraviolet light skin image of the target object by second camera;According to the white light skin image and described Ultraviolet light skin image determines the skin detection result of the target object.
The third aspect according to an embodiment of the present invention, provides a kind of terminal, and the terminal includes: for acquiring white light skin First camera of image, the second camera for acquiring ultraviolet light skin image and light filling mould group, the second camera Interior setting optical filter, the light filling mould group include white light light compensating lamp and ultraviolet light light compensating lamp;The terminal further include: processor, Memory and it is stored in the program that can be run on the memory and on the processor, described program is held by the processor Row Shi Shixian: by first camera, the white light skin image of target object is obtained;By the ultraviolet light light compensating lamp and The second camera obtains the ultraviolet light skin image of the target object;According to the white light skin image and the purple Outer light skin image determines the skin detection result of the target object.
In the embodiment of the present invention, by including white light light compensating lamp and the light filling mould group of ultraviolet light light compensating lamp, the first camera And second camera, make the white light skin image and ultraviolet light skin image of the available target object of terminal, according to the white light Skin image and ultraviolet light skin image carry out profound skin detection, and the accuracy of skin detection can be improved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Other attached drawings.
Fig. 1 is one of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of second camera provided in an embodiment of the present invention;
Fig. 3 is the light transmittance schematic diagram of optical filter provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of light filling mould group provided in an embodiment of the present invention;
Fig. 5 is the second structural representation of terminal provided in an embodiment of the present invention;
Fig. 6 is one of the flow diagram of skin detecting method provided in an embodiment of the present invention;
Fig. 7 is the two of the flow diagram of skin detecting method provided in an embodiment of the present invention;
Fig. 8 is the third structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, terminal can be mobile phone, tablet computer, laptop, Ultra-Mobile PC (Ultra-Mobile Personal Computer, UMPC), net book or personal digital assistant (Personal Digital Assistant, PDA) etc., the embodiment of the present invention to the concrete type of terminal without limitation.
In order to enable the terminals to need to enable the terminals to obtain ultraviolet light skin image with profound skin detection, Therefore the structure of existing terminal is improved.
Referring to Fig. 1 and Fig. 2, the embodiment of the present invention provides a kind of terminal 10, comprising: the first camera 11, second camera 12 and light filling mould group 13, optical filter 121 is set in second camera 12, which can penetrate ultraviolet light, light filling mould group Including white light light compensating lamp and ultraviolet light light compensating lamp (not shown).
Above-mentioned first camera 11 can be the included RGB camera of existing terminal, should for obtaining white light skin image Camera has the ability for receiving visible light, but for non-visible light, such as: infrared light, ultraviolet light etc. can not then receive.
Above-mentioned second camera 12 can be black and white (mono) camera, for obtaining ultraviolet light skin image, the camera shooting Head has the ability for receiving non-visible light, such as: infrared light, ultraviolet light etc..
As shown in Figure 1, the top of terminal is arranged in the first camera 11, second camera 12 and light filling mould group 13 laterally side by side Portion, it is to be understood that it is horizontal at the top of terminal that Fig. 1 shows the first camera 11, second camera 12 and light filling mould group 13 To scene arranged side by side, the first camera 11, second camera 12 and light filling mould group 13 also be can be set in the other of terminal Position, and the first camera 11, second camera 12 and light filling mould group 13 can also be using being vertically set side by side, the present invention is implemented Example to the specific location of the first camera 11, second camera 12 and light filling mould group 13 without limitation.
Optionally, light filling mould group 13 is arranged among the first camera 11 and second camera 12.Due to the first camera shooting First 11 and second camera 12 when obtaining skin image, require by light filling mould group 13 carry out light filling, by light filling mould group 13 It is arranged among the first camera 11 and second camera 12, keeps light filling mould group 13 identical as the distance between two cameras, To guarantee to be that the first camera 11 and second camera 12 provide identical light filling effect.
As shown in Fig. 2, second camera 12 include: camera lens 122, integrated circuit board (Printed Circuit Board, PCB) 123, the fixed bracket 125 of sensitive chip 124, first and the second fixed bracket 126, the first fixed bracket 125 and second are solid Fixed rack 126 is arranged between camera lens 122 and PCB 123, the both ends of optical filter 121 respectively with the first fixed bracket 125 and the Two fixed brackets 126 connect, and optical filter 121 and PCB 123 form an accommodation space 127, and sensitive chip 124 is arranged in PCB On 123, and it is located in accommodation space 127.
Further, there are gap between optical filter 121 and camera lens 122 and sensitive chip 124, prevent device from colliding with damage It is bad, guarantee the filter effect of optical filter 121.
In embodiments of the present invention, it by the white light light compensating lamp and the cooperation of the first camera 11 in light filling mould group 13, obtains The white light skin image of target object, and cooperated by the ultraviolet light light compensating lamp in light filling mould group 13 with second camera 12, Obtain the ultraviolet light skin image of target object.
It is understood that white light is a kind of light obtained after a variety of visible lights mix, it can be more clear by white light light filling The skin of clear displaying target object, additionally it is possible to improve the accuracy to the Face Detection of target object, therefore white light is selected to mend Light lamp and the first camera cooperate.
Specifically, since the first camera can receive visible light, when passing through white light light compensating lamp light filling, by the first camera shooting Head is received from the reflected white light of target object face, obtains the white light skin image of target object.It is mended by ultraviolet light When light lamp light filling, then the reflected ultraviolet light of target object face is received by second camera, obtain the ultraviolet of target object Light skin image.
It should be noted that carrying out skin detection according to skin image is carried out after the completion of skin image obtains, because This does not limit the acquisition sequencing of white light skin image and ultraviolet light skin image, it can first obtains white light skin figure Picture, it is rear to obtain ultraviolet light skin image, or ultraviolet light skin image is first obtained, it is rear to obtain white light skin image.
Optionally, terminal can also include the environmental sensor for detecting environment illumination intensity, such as the environmentally sensitive Device can be optical sensor.
In embodiments of the present invention, the environment illumination intensity extraneous by environmental sensor detection, when environmental sensor is examined When survey discovery environment illumination intensity reaches predetermined threshold value, directly the first camera of instruction obtains white light skin image.Environment light Reaching predetermined threshold value according to intensity indicates that the environment being presently in is high-brightness environment, and extraneous natural light intensity is larger at this time, by Both include visible light in natural light, also includes non-visible light, and the first camera can only receive visible light, therefore for first It is identical as by the effect of white light light filling by the effect of natural light light filling for camera, further, mended using natural light Light can save the step of deactivation white light light compensating lamp, can play the role of economize on electricity.
Correspondingly, when environmental sensor, which detects discovery environment illumination intensity, is lower than predetermined threshold value, to guarantee acquisition White light skin image quality indicates that white light light compensating lamp and the first camera work together, obtains the white light skin figure of target object Picture.
Further, it is contemplated that, can be with more than one, when different use using the user of the terminal for the same terminal When family using terminal carries out skin detection, the skin detection of each user should be stored respectively as a result, therefore can be according to skin figure As increasing the step of verifying to current user identities before carrying out skin detection, and face recognition does not need additionally as one kind Operation, and can have the verification mode of higher discrimination to different user, it can be adopted prior to other verification modes.
Still further, considering that face recognition will receive the influence of environment illumination intensity, if the environment being presently in is height Lightness environment then directly can carry out face recognition by the first camera;If the environment being presently in is low-light level environment, It needs to carry out infrared light filling to target object, and carries out face recognition using the device that can receive infrared light.
Therefore, infrared light light filling lamp, correspondingly, the optical filter in second camera 12 can be increased in light filling mould group 13 121 select bilateral optical filter, enable the optical filter 121 through infrared light and ultraviolet light, such as: the optical filter 121 is ultraviolet The bilateral narrow band filter of light and infrared light.In this way, by the way that bilateral narrow band filter is arranged in second camera 12, make this Two cameras 12 can be applied to obtain the face recognition under ultraviolet light skin image and low-light level environment simultaneously.
In embodiments of the present invention, when environment is high-brightness environment, acquisition target object is carried out by the first camera Face feature information;When environment is low-light level environment, target object is obtained by infrared light light filling lamp and second camera Face feature information.The face feature information that will acquire is matched with default face feature information, after fitting through, is carried out Skin detection, and the skin detection result that will test is stored into memory space corresponding with default face feature information.
Referring to Fig. 3, when showing the above-mentioned selection of optical filter 121 bilateral optical filter in figure, optical filter 121 is to infrared light and purple The transmitance of outer light, wherein optical filter 121 has following one or more performances: being not less than 90% to the transmitance of ultraviolet light; Transmitance to ultraviolet light is less than to the transmitance of infrared light, it is preferable that optical filter 121 to the transmitance of infrared light 10% with Under;To the transmitance of visible light less than 0.1%.
It is understood that infrared light is mainly used for assisting recognition of face, if can be to purple if infrared light transmittance is excessively high Outer imaging causes certain interference, therefore can select to the lesser optical filter of infrared light transmittance.
Referring to fig. 4, due to including: that white light light compensating lamp 131, ultraviolet light light compensating lamp 132 and infrared light are mended in light filling mould group 13 Light lamp 133 improves the utilization rate in terminal inner space for the volume for reducing light filling mould group 13, the white light light compensating lamp 131, ultraviolet Light light compensating lamp 132 and 133 common anode of infrared light light filling lamp or common cathode.
Fig. 4 shows one kind white light light compensating lamp 131, ultraviolet light light compensating lamp 132, infrared light light filling lamp in light filling mould group 13 133 and public anode 1301 (common cathode 1302) arrangement mode, wherein white light light compensating lamp 131 and public anode 1301 are (public Common cathode 1302) in side, ultraviolet light light compensating lamp 132 and infrared light light filling lamp 133 are in the other side.
It is understood that the position of each device in above-mentioned light filling mould group 13 can be free according to actual scene difference Adjustment, the embodiment of the present invention are not specifically limited the position of each device in light filling mould group 13.
Referring to Fig. 5, in the terminal 10 of the embodiment of the present invention, except including the first camera 11, second camera 12 and light filling Other than mould group 13, further includes:
First control module 51 is used for first camera, obtains the white light skin image of the target object;
Second control module 52 obtains the mesh by the second camera for opening the ultraviolet light light compensating lamp Mark the ultraviolet light skin image of object;
Detection module 53, for determining the target according to the white light skin image and the ultraviolet light skin image The skin detection result of object.
Optionally, terminal 10 further include: for detecting the environmental sensor 14 of environment illumination intensity;
First judgment module 54, for judging whether the environment illumination intensity is lower than predetermined threshold value;When the environment When intensity of illumination is lower than the predetermined threshold value, the white light light compensating lamp is opened in instruction, obtains institute by first camera State the white light skin image of target object;When the environment illumination intensity is not less than the predetermined threshold value, described the is indicated One camera obtains the white light skin image of the target object.
The terminal 10 further include:
First obtains module 55, for opening described red when the environment illumination intensity is lower than the predetermined threshold value Outer smooth light compensating lamp, the face-image of the target object is obtained by the second camera;
Second obtains module 56, for passing through described the when the environment illumination intensity is lower than the predetermined threshold value One camera obtains the face feature information of the target object;
Second judgment module 57, for judging whether the face-image matches with default face-image;When the face When image and default facial images match, indicate the detection module according to the white light skin image and the ultraviolet light skin Image determines the skin detection result of the target object;
Memory module 58 is deposited for storing the skin detection result to corresponding with the default face feature information It stores up in space.
Optionally, detection module 53 includes:
First determination unit 531, for determining the colour of skin deviation area of the target object according to the white light skin image Domain;
Second determination unit 532, for determining the color spot of the colour of skin deviation region according to the ultraviolet light skin image Parameter;
Third determination unit 533, for determining the skin detection result of the target object according to the color spot parameter.
It should be noted that the unit that above-mentioned each module and each module include, can be and be provided separately within terminal inner Functional module, be also possible to be integrated in the functional module in the processor of terminal, the embodiment of the present invention to above-mentioned each module and The set-up mode of unit in the terminal is not specifically limited.
Fig. 6 is participated in, the embodiment of the present invention also provides a kind of skin detecting method, and this method is applied to such as above-mentioned terminal, Specific step is as follows for this method:
Step 601: by the first camera, obtaining the white light skin image of target object;
Step 602: opening ultraviolet light light compensating lamp, the ultraviolet light skin image of target object is obtained by second camera;
Skin detecting method provided in an embodiment of the present invention can be stored in the terminal in the form of application program, when user needs When carrying out skin detection, the skin detecting method is executed by opening corresponding application program.
It should be noted that the embodiment of the present invention to the execution of above-mentioned steps 601 and step 602 sequence without limitation, i.e., Step 601 can be first carried out and executing step 602, step 602 can also be first carried out and executing step 601.
Step 603: according to white light skin image and ultraviolet light skin image, determining the skin detection result of target object;
In embodiments of the present invention, according to the white light skin image of acquisition and ultraviolet light skin image, pass through the inspection prestored Method of determining and calculating or inspection software determine the skin detection result of target object.
Specifically, the skin detection result of the determination target object includes the following steps:
(1) according to white light skin image, the colour of skin deviation region of target object is determined;
White light skin image mainly for detection of target object colour of skin state, and then determine target object colour of skin deviation Region, further, it is determined that colour of skin deviation region includes following sub-step:
(1.1) pre-stored skin color board is called, which includes each position of face under health status The colour of skin;
(1.2) white light skin image is compared with the skin color board, is determined and the colour of skin in skin color board Deviation is more than the region of preset value, which is determined as colour of skin deviation region.
(2) according to ultraviolet light skin image, the color spot parameter of colour of skin deviation region is determined;
(2.1) according to colour of skin deviation region, detection zone is determined in the ultraviolet light skin image;
Since ultraviolet light skin image is the skin quality situation for reflecting the entire face of target object, to make skin detection have more needle Property does further the region using region corresponding with colour of skin deviation region in ultraviolet light skin image as detection zone Color spot parameter extraction.
(2.2) the color spot parameter of the detection zone is determined;
It is only capable of confirming in the face of target object that there are the areas of colour of skin deviation since dialogue light skin image carries out detection Domain, the reason of leading to colour of skin deviation may there are many, such as: pore caused by birthmark, skin injury, color spot, fat secretion is stifled Plug etc., it is therefore desirable to which skin quality problem corresponding to the colour of skin deviation region is further confirmed that by ultraviolet light.
Above-mentioned color spot parameter is associated with many indexes, such as: sclererythrin index, ultraviolet spot index and grease index etc., this Inventive embodiments are not specifically limited in this embodiment.
(3) according to color spot parameter, the skin detection result of target object is determined;
According to range locating for the numerical value of color spot parameter, the skin detection result of target object is determined.The number of the color spot parameter Value can using form-separating is shown, such as: shown using modes such as hundred-mark system, the five-grade marking systems.
Further, after determining the skin detection result of target object, corresponding skin care advisory information is exported.The shield Skin advisory information can determine that the skin care advisory information can also prestore beyond the clouds according to the corresponding relationship for being pre-stored in terminal inner Server, by terminal according to determining skin detection as a result, being downloaded according to corresponding relationship from server.
Corresponding relationship between above-mentioned skin parameters, skin detection result and skin care suggestion is as shown in table 1:
Table 1
It should be noted that the fractional value range in table 1 is only reference value, the corresponding relationship in table 1 is merely illustrative, this hair Bright embodiment is not specifically limited the corresponding relationship between color spot parameter, skin detection result and skin care suggestion.
In the embodiment of the present invention, by including white light light compensating lamp and the light filling mould group of ultraviolet light light compensating lamp, the first camera And second camera, make the white light skin image and ultraviolet light skin image of the available target object of terminal, according to the white light Skin image and ultraviolet light skin image carry out profound skin detection, and the accuracy of skin detection can be improved.
Fig. 7 is participated in, the embodiment of the present invention also provides a kind of skin detecting method, and this method is applied to such as above-mentioned terminal, Specific step is as follows for this method:
Step 701: judge whether environment illumination intensity is lower than predetermined threshold value, if it is not, 702 are thened follow the steps, if so, Then follow the steps 703;
In embodiments of the present invention, the environment illumination intensity extraneous by the environmental sensor detection of terminal, when environment passes When sensor detection discovery environment illumination intensity reaches predetermined threshold value, it is white to indicate that current outside illumination condition can satisfy acquisition Light skin image then directly obtains white light skin image by the first camera;When environmental sensor detects discovery ambient lighting When intensity is lower than predetermined threshold value, indicate that current light condition it is impossible to meet white light skin image is obtained, needs white light light filling Lamp carries out light filling.
Step 702: opening white light light compensating lamp, the white light skin image of target object is obtained by the first camera, then Execute step 704;
Step 703: obtaining the white light skin image of target object by the first camera, then execute step 704;
Step 704: ultraviolet light light compensating lamp is opened, the ultraviolet light skin image of target object is obtained by second camera, Then whether it is lower than the judging result of predetermined threshold value to environment illumination intensity before, determines and execute step 705 or step 706, specifically, when environment illumination intensity is lower than predetermined threshold value, execute step 705;When environment illumination intensity is not less than pre- When gating limit value, step 706 is executed.
In embodiments of the present invention, after the acquisition for completing white light skin image and ultraviolet light skin image, to target pair As carrying out face recognition, to ensure that the subsequent testing result obtained according to skin image can be corresponding with target object.Into one Step ground directly can carry out face recognition by the first camera if the environment being presently in is high-brightness environment;If current Locating environment is low-light level environment, then needs to carry out target object infrared light filling, and use can receive infrared light Device carries out face recognition.
Step 705: opening infrared light light filling lamp, the face feature information of target object is obtained by second camera, so Step 707 is executed afterwards;
Step 706: by the first camera, obtaining the face feature information of target object, then execute step 707;
The mode that above-mentioned face feature information obtains can use existing face recognition method, opposite of the embodiment of the present invention The concrete mode that portion's characteristic information obtains is without limitation.
Step 707: judging whether face feature information matches with default face feature information, if so, thening follow the steps 708, it is no to then follow the steps 710;
In embodiments of the present invention, matching with default face feature information indicates that the current user for carrying out skin detection is Know user, which refers to the user for carrying out skin detection breath in the terminal.If not with default face feature information Matching, then it represents that the current user for carrying out skin detection is non-known users, and non-known users refer to not carrying out at the terminal The user of skin detection breath is crossed, it is possible to further store the face feature information of the non-known users, after such user again When secondary progress skin detection, it will be able to be identified as known users.
Step 708: according to white light skin image and ultraviolet light skin image, determine the skin detection of target object as a result, Then step 709 is executed:
The description of above-mentioned steps 708 may refer to the description of step 603 in Fig. 6, and details are not described herein.
Step 709: by the storage of skin detection result into memory space corresponding with default face feature information, then tying Line journey:
In embodiments of the present invention, a memory space can be established for each user for carrying out skin detection, be used for The skin detection of user is stored as a result, user can know the change of autologous skin state by consulting previous detection record in this way Change process.Specifically, each user is stored in advance in the default face feature information in terminal as the mark of each memory space Know, determines convenient for terminal to the corresponding memory space of user.
Step 710: output prompt information;
In embodiments of the present invention, prompt information is for prompting user in terminal not to its corresponding testing result Memory space can prompt user to establish the testing result memory space of oneself by the prompt information, such as: the prompt information For " detecting new user, archives please be create ", the embodiment of the present invention to the particular content of prompt information without limitation.
In the embodiment of the present invention, by including white light light compensating lamp and the light filling mould group of ultraviolet light light compensating lamp, the first camera And second camera, make the white light skin image and ultraviolet light skin image of the available target object of terminal, according to the white light Skin image and ultraviolet light skin image carry out profound skin detection, and the accuracy of skin detection can be improved;Meanwhile it will Face recognition is applied in skin detection, and the skin detection result from different user is enable accurately to correspond to different user, Keep the skin detection function of terminal more comprehensive.
The hardware structural diagram of Fig. 8 a kind of terminal of each embodiment to realize the present invention, as shown, the terminal 800 include but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810 and power supply 811 etc. Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 8, terminal can be with Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and Pedometer etc..
Preferably, the computer program that can be run on memory 809 and on the processor 810, the calculating are stored in Machine program performs the steps of the white light skin that target object is obtained by first camera when being executed by processor 810 Image;By the ultraviolet light light compensating lamp and the second camera, the ultraviolet light skin image of the target object is obtained;Root According to the white light skin image and the ultraviolet light skin image, the skin detection result of the target object is determined.
In this way, passing through light filling mould group, the first camera and the second camera shooting including white light light compensating lamp and ultraviolet light light compensating lamp Head makes the white light skin image and ultraviolet light skin image of the available target object of terminal, according to the white light skin image and Ultraviolet light skin image carries out profound skin detection, and the accuracy of skin detection can be improved.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 800 executes.Sound Frequency output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 8061, and proximity sensor can close display panel when terminal 800 is moved in one's ear 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 705 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 807 include touch panel 8071 and other Input equipment 8072.Touch panel 8071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 8071 or near touch panel 8071 Operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receives processor 810 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072. Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 7061.Although in fig. 8, touch panel 8071 and display Panel 8061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 8071 and display panel 8061 is integrated, is not limited herein specifically It is fixed.
Interface unit 808 is the interface that external device (ED) is connect with terminal 800.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 800 or can be used for terminal 800 and external device (ED) it Between transmit data.
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 809, and call and be stored in memory 809 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 810 may include one Or multiple processing units;Preferably, processor 810 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 810.
Terminal 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 can be with It is logically contiguous by power-supply management system and processor 810, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 800 includes some unshowned functional modules, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of terminal, comprising: for acquiring the first camera of white light skin image, which is characterized in that the terminal is also wrapped It includes: for acquiring the second camera and light filling mould group of ultraviolet light skin image, optical filter, institute being set in the second camera Stating optical filter can be through ultraviolet light, and the light filling mould group includes white light light compensating lamp and ultraviolet light light compensating lamp.
2. terminal according to claim 1, which is characterized in that
The second camera includes: camera lens, integrated circuit board PCB, sensitive chip, the first fixed bracket and the second fixed branch Frame, the described first fixed bracket and the second fixed bracket are arranged between the camera lens and the PCB, the optical filter Both ends are connect with the described first fixed bracket and the second fixed bracket respectively, and the optical filter and the PCB form one and hold Receive space, the sensitive chip setting on the pcb, and is located in the accommodation space.
3. terminal according to claim 2, which is characterized in that the terminal further include: for detecting environment illumination intensity Environmental sensor.
4. terminal according to claim 3, which is characterized in that the optical filter is bilateral optical filter, and the optical filter is also Infrared light can be penetrated, the light filling mould group further includes infrared light light filling lamp.
5. terminal according to claim 4, which is characterized in that the white light light compensating lamp, the ultraviolet light light compensating lamp and institute State infrared light light filling lamp common anode or common cathode.
6. terminal according to claim 4, which is characterized in that
The optical filter has following one or more performances:
90% is not less than to the transmitance of ultraviolet light;
It is less than the transmitance to ultraviolet light to the transmitance of infrared light;
To the transmitance of visible light less than 0.1%.
7. a kind of skin detecting method is applied to such as terminal as claimed in any one of claims 1 to 6, which is characterized in that the side Method includes:
By the first camera, the white light skin image of target object is obtained;
Ultraviolet light light compensating lamp is opened, the ultraviolet light skin image of the target object is obtained by second camera;
According to the white light skin image and the ultraviolet light skin image, the skin detection result of the target object is determined.
8. the method according to the description of claim 7 is characterized in that obtaining target pair by first camera described Before the white light skin image of elephant, the method also includes:
Judge whether environment illumination intensity is lower than predetermined threshold value;
When the environment illumination intensity is lower than the predetermined threshold value, white light light compensating lamp is opened, first camera is passed through Obtain the white light skin image of the target object;
When the environment illumination intensity is not less than the predetermined threshold value, the target pair is obtained by first camera The white light skin image of elephant.
9. according to the method described in claim 8, it is characterized in that, described according to the white light skin image and described ultraviolet Light skin image, before the skin detection result for determining the target object, the method also includes:
When the environment illumination intensity is lower than the predetermined threshold value, infrared light light filling lamp is opened, is imaged by described second Head obtains the face feature information of the target object;
When the environment illumination intensity is not less than the predetermined threshold value, the target pair is obtained by first camera The face feature information of elephant;
Judge whether the face feature information matches with default face feature information;
When the face-image and default facial images match, execute described according to the white light skin image and described ultraviolet Light skin image, the step of determining the skin detection result of the target object;
Described according to the white light skin image and the ultraviolet light skin image, the skin detection of the target object is determined As a result after, the method also includes:
By skin detection result storage into memory space corresponding with the default face feature information.
10. the method according to the description of claim 7 is characterized in that described according to the white light skin image and described ultraviolet Light skin image determines the skin detection result of the target object, comprising:
According to the white light skin image, the colour of skin deviation region of the target object is determined;
According to the ultraviolet light skin image, the color spot parameter of the colour of skin deviation region is determined;
According to the color spot parameter, the skin detection result of the target object is determined.
11. a kind of terminal, comprising: for acquiring the first camera of white light skin image, which is characterized in that the terminal is also wrapped It includes: for acquiring the second camera and light filling mould group of ultraviolet light skin image, optical filter, institute being set in the second camera Stating light filling mould group includes white light light compensating lamp and ultraviolet light light compensating lamp;The terminal further include: processor, memory and be stored in institute The program that can be run on memory and on the processor is stated, described program is realized when being executed by the processor: passing through institute The first camera is stated, the white light skin image of target object is obtained;By the ultraviolet light light compensating lamp and the second camera, Obtain the ultraviolet light skin image of the target object;According to the white light skin image and the ultraviolet light skin image, really The skin detection result of the fixed target object.
CN201910567018.2A 2019-06-27 2019-06-27 A kind of skin detecting method and terminal Pending CN110298304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910567018.2A CN110298304A (en) 2019-06-27 2019-06-27 A kind of skin detecting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910567018.2A CN110298304A (en) 2019-06-27 2019-06-27 A kind of skin detecting method and terminal

Publications (1)

Publication Number Publication Date
CN110298304A true CN110298304A (en) 2019-10-01

Family

ID=68028997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910567018.2A Pending CN110298304A (en) 2019-06-27 2019-06-27 A kind of skin detecting method and terminal

Country Status (1)

Country Link
CN (1) CN110298304A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111150369A (en) * 2020-01-02 2020-05-15 京东方科技集团股份有限公司 Medical assistance apparatus, medical assistance detection apparatus and method
CN111374489A (en) * 2020-04-22 2020-07-07 深圳市锐吉电子科技有限公司 Intelligent mirror skin measuring method and device
CN111401463A (en) * 2020-03-25 2020-07-10 维沃移动通信有限公司 Method for outputting detection result, electronic device, and medium
CN111557644A (en) * 2020-04-22 2020-08-21 深圳市锐吉电子科技有限公司 Skin care method and device based on intelligent mirror equipment and skin care equipment
CN111950637A (en) * 2020-08-14 2020-11-17 厦门美图之家科技有限公司 Purple matter detection method, purple matter detection device, skin detector and readable storage medium
CN113347370A (en) * 2021-06-17 2021-09-03 维沃移动通信有限公司 Electronic device, photographing method of electronic device, and readable storage medium
CN114710627A (en) * 2022-04-06 2022-07-05 Oppo广东移动通信有限公司 Skin detection method, mobile terminal, computer device, and medium
WO2022233055A1 (en) * 2021-05-07 2022-11-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Camera system, method for skin characteristics analysis and non-transitory computer-readable medium storing program instructions for implementing the method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377920A (en) * 2010-08-26 2012-03-14 鸿富锦精密工业(深圳)有限公司 Camera module and assembling method thereof
CN106955088A (en) * 2016-01-11 2017-07-18 深圳市安普盛科技有限公司 A kind of skin detection instrument, detecting system and detection method
US20180310872A1 (en) * 2017-04-27 2018-11-01 Li-Tek Technology Co., Ltd. Skin detection device and detection method thereof
CN208489914U (en) * 2018-06-02 2019-02-12 Oppo广东移动通信有限公司 Electronic building brick and electronic device
CN109363634A (en) * 2018-10-08 2019-02-22 蔡义文 Assessment method, device, mobile phone, computer equipment and the storage medium of skin

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377920A (en) * 2010-08-26 2012-03-14 鸿富锦精密工业(深圳)有限公司 Camera module and assembling method thereof
CN106955088A (en) * 2016-01-11 2017-07-18 深圳市安普盛科技有限公司 A kind of skin detection instrument, detecting system and detection method
US20180310872A1 (en) * 2017-04-27 2018-11-01 Li-Tek Technology Co., Ltd. Skin detection device and detection method thereof
CN208489914U (en) * 2018-06-02 2019-02-12 Oppo广东移动通信有限公司 Electronic building brick and electronic device
CN109363634A (en) * 2018-10-08 2019-02-22 蔡义文 Assessment method, device, mobile phone, computer equipment and the storage medium of skin

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111150369A (en) * 2020-01-02 2020-05-15 京东方科技集团股份有限公司 Medical assistance apparatus, medical assistance detection apparatus and method
CN111401463A (en) * 2020-03-25 2020-07-10 维沃移动通信有限公司 Method for outputting detection result, electronic device, and medium
WO2021190387A1 (en) * 2020-03-25 2021-09-30 维沃移动通信有限公司 Detection result output method, electronic device, and medium
CN111401463B (en) * 2020-03-25 2024-04-30 维沃移动通信有限公司 Method for outputting detection result, electronic equipment and medium
CN111374489A (en) * 2020-04-22 2020-07-07 深圳市锐吉电子科技有限公司 Intelligent mirror skin measuring method and device
CN111557644A (en) * 2020-04-22 2020-08-21 深圳市锐吉电子科技有限公司 Skin care method and device based on intelligent mirror equipment and skin care equipment
CN111950637A (en) * 2020-08-14 2020-11-17 厦门美图之家科技有限公司 Purple matter detection method, purple matter detection device, skin detector and readable storage medium
CN111950637B (en) * 2020-08-14 2024-05-03 厦门美图宜肤科技有限公司 Ultraviolet detection method, device, skin detector and readable storage medium
WO2022233055A1 (en) * 2021-05-07 2022-11-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Camera system, method for skin characteristics analysis and non-transitory computer-readable medium storing program instructions for implementing the method
CN113347370A (en) * 2021-06-17 2021-09-03 维沃移动通信有限公司 Electronic device, photographing method of electronic device, and readable storage medium
CN114710627A (en) * 2022-04-06 2022-07-05 Oppo广东移动通信有限公司 Skin detection method, mobile terminal, computer device, and medium
CN114710627B (en) * 2022-04-06 2024-03-29 Oppo广东移动通信有限公司 Skin detection method, mobile terminal, computer device and medium

Similar Documents

Publication Publication Date Title
CN110298304A (en) A kind of skin detecting method and terminal
CN107665697B (en) A kind of adjusting method and mobile terminal of screen intensity
CN107786817B (en) A kind of photographic method and mobile terminal
CN109343759A (en) A kind of control method and terminal of the display of breath screen
CN110134356A (en) A kind of throwing screen method and terminal
CN108196740B (en) A kind of icon display method, device and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN107864336B (en) A kind of image processing method, mobile terminal
CN109788174A (en) A kind of light compensation method and terminal
CN108429888A (en) The method and mobile terminal of light filling
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN110196668A (en) Information processing method and terminal device
CN109474787A (en) A kind of photographic method, terminal device and storage medium
CN109407948A (en) A kind of interface display method and mobile terminal
CN109327606A (en) A kind of message prompt method and terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109814799A (en) Screen response control mehtod and terminal device
CN109981904A (en) A kind of method for controlling volume and terminal device
CN109525837A (en) The generation method and mobile terminal of image
CN109190465A (en) A kind of light compensating lamp mould group, fingerprint identification method and terminal device
CN108881723A (en) A kind of image preview method and terminal
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN108510266A (en) A kind of Digital Object Unique Identifier recognition methods and mobile terminal
CN110276329A (en) A kind of skin detecting method and terminal
CN110287903A (en) A kind of skin detecting method and terminal

Legal Events

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