Skin detection device connected with display screen and intelligent equipment
By using a wide-spectrum receiver that combines UV light and visible light and binocular technology in the skin detection device, the problem of complex and large equipment is solved, compact and efficient skin detection is achieved, and the effects of identity recognition and health detection are improved. , and reduce hardware cost and volume.
Patent Information
- Application Number
- CN202410797688.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-22
AI Technical Summary
Existing skin detection devices are complex and large in size, making it difficult to achieve compact and efficient detection.
It uses UV light and visible light as the collection band, uses a wide spectrum receiver to receive UV light and visible light at the same time, combines binocular technology to obtain depth information, and performs signal transmission and processing through the display screen to achieve compact structure, diverse data, and fast skin detection. detection.
It achieves better identity recognition and health detection, reduces the size of the device, reduces the hardware cost, improves the user experience, and does not require special LED lights to protect human eye safety.
Smart Images

Figure CN118806232A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of non-contact skin detection, and in particular to a skin detection device and an intelligent device connected to a display screen. Background Art
[0002] Non-contact skin detection technology is mainly based on image processing, biosignal processing and artificial intelligence technology. Non-contact skin detection technology is currently mainly used to evaluate skin conditions, such as skin moisture content, oil secretion, pore size, etc. This technology does not require direct contact with the skin, but is measured by optical or electrical methods. In the medical field, non-contact skin detection technology can be used for early diagnosis of skin diseases such as eczema and psoriasis.
[0003] The main characteristics of the skin surface are as follows:
[0004] Pores: Pores are the circular openings of the sweat gland ducts. Due to shading, your pores appear darker than the surrounding skin tone and are identified by their darker color and circular shape.
[0005] Wrinkles: Wrinkles are furrows, folds, or creases in the skin that increase due to sun exposure and are associated with decreased skin elasticity. This skin feature has the greatest variability between images because it is highly dependent on the client's facial expression. Wrinkles are identified by their characteristic elongated shape.
[0006] Texture: Texture is primarily an analysis of skin smoothness. Texture measures skin color and smoothness by identifying color gradients from the surrounding skin tone as well as peaks (shown in yellow) and valleys (shown in blue) on the skin surface that indicate changes in surface texture.
[0007] Porphyrins: Porphyrins are bacterial excretions that can lodge in pores and cause acne. Porphyrins fluoresce under ultraviolet light and appear as characteristic round white spots.
[0008] UV spots: UV spots occur when melanin condenses below the surface of the skin due to sun damage. UV spots are usually not visible under normal lighting conditions. Their appearance is enhanced by the selective absorption of UV light by epidermal melanin.
[0009] Red Zones: Red zones represent various underlying conditions, such as acne, inflammation, rosacea, or spider veins. The blood vessels and hemoglobin contained in the papillary dermis (a sublayer of the skin) give these structures their red color. Acne spots and inflammation vary in size but are generally round in shape. Compared to acne, rosacea is usually larger and diffuse, and spider veins are usually shorter, thinner, and can be interconnected in a dense network.
[0010] Spots: Spots are usually brown or red skin lesions and include freckles, acne scars, hyperpigmentation, and vascular damage. Spots can be distinguished by their different color and contrast with the background skin color. Spots vary in size and are usually round in shape.
[0011] Brown spots: Brown spots are lesions on the skin, such as hyperpigmentation, freckles, lentigos, and melasma. Brown spots are caused by an excess of melanin. Melanin is produced by melanocytes in the lower layer of the epidermis. Brown spots create an uneven appearance on the skin.
[0012] Non-contact skin detection technology can be applied in many fields:
[0013] Home health management: Users can monitor key vital signs, such as heart rate and blood pressure, in real time at home through non-contact skin detection technology, providing data support for personal health management.
[0014] Traffic operations: This technology can be applied to health checks of drivers to ensure that their health conditions meet safe driving requirements.
[0015] Campus mental health monitoring: Comprehensively and efficiently screen the mental health status of teachers and students, and provide strong support for campus mental health management.
[0016] Recently, non-contact skin detection technology has been increasingly used in the consumer field. For example, Huawei Pocket2 has functions such as sunscreen detection / AI skin detection, which allows people to conveniently monitor and detect their skin in daily life.
[0017] The skin detection devices in the prior art usually have problems such as complex equipment and large size.
[0018] The disclosure of the above background technology content is only used to assist in understanding the inventive concept and technical solution of the present invention. It does not necessarily belong to the prior art of this patent application. In the absence of clear evidence that the above content has been disclosed on the filing date of this patent application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention
[0019] To this end, the present invention adopts UV light and visible light as the collection bands, and uses a wide spectrum receiver to simultaneously receive UV light and visible light, saving space. At the same time, binocular technology can also be used to obtain depth information and perform three-dimensional reconstruction. It has the advantages of compact structure, diverse data, and fast detection speed.
[0020] In a first aspect, the present invention provides a skin detection device connected to a display screen, characterized in that it comprises:
[0021] UV light source, used for emitting UV light;
[0022] A first polarizer, located on the outgoing light path of the UV light source;
[0023] A wide spectrum receiver, used for receiving a reflection signal of the UV light to generate a UV image, and receiving a reflection signal of the visible light to generate a first RGB image;
[0024] A second polarizer, located on the incident light path of the wide spectrum receiver;
[0025] An RGB receiver, used for receiving a reflection signal of the visible light and generating a second RGB image;
[0026] An interface, used to connect to a display screen and transmit signals to the display screen;
[0027] The processor is used to control the wide spectrum receiver to alternately acquire the UV image and the first RGB image, and when acquiring the first RGB image, enable the RGB receiver to synchronously acquire the second RGB image, detect the human skin condition according to the UV image, the first RGB image, and the second RGB image, and perform depth calculation and identity recognition according to the first RGB image and the second RGB image.
[0028] Optionally, the skin detection device connected to a display screen is characterized in that the processor sends a signal to the display screen through the interface so that the display screen lights up with specific parameters when the RGB receiver is exposed.
[0029] Optionally, the skin detection device connected to a display screen is characterized in that a UV filter is further arranged between the UV light source and the first polarizer; and a double-pass filter is further arranged between the wide spectrum receiver and the second polarizer.
[0030] Optionally, the skin detection device connected to a display screen is characterized in that a distance between the wide spectrum receiver and the RGB receiver is greater than a distance between the wide spectrum receiver and the UV light source.
[0031] Optionally, the skin detection device connected to a display screen is characterized by further comprising: a distance sensor for detecting the distance of a target object.
[0032] Optionally, the skin detection device connected to a display screen is characterized in that the processor controls the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to work simultaneously, obtains the translation amount r of the first RGB image and the third RGB image according to the depth value l obtained by the distance sensor and the first formula, and aligns the first RGB image and the third RGB image; wherein the first formula is obtained by a calibration stage, and the third RGB image is an image generated by converting the second RGB image and having the same size and resolution as the first RGB image.
[0033] Optionally, the skin detection device connected to a display screen is characterized in that, when obtaining the first formula, it includes:
[0034] Step S1: controlling the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect signals from the test board, so that the distance sensor obtains a first depth value l1, and obtains a depth value d1 of the center of the light spot of the distance sensor according to parallax calculation through the first RGB image and the third RGB image;
[0035] Step S2: changing the distance of the test board, and controlling the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect the signal of the test board, so that the distance sensor obtains a second depth value l2, and obtains a depth value d2 of the center of the light spot of the distance sensor according to the parallax calculation through the first RGB image and the third RGB image;
[0036] Step S3: According to the formula d=k*l+b, obtain k and b.
[0037] Optionally, the skin detection device connected to a display screen is characterized in that the wide spectrum receiver comprises:
[0038] The first area is used to receive a signal to perform exposure with a third exposure parameter and generate a fourth RGB image;
[0039] A second area, adjacent to the first area, is used for exposure with a fourth exposure parameter to obtain a fifth RGB image;
[0040] A weighted mean value of the fifth RGB image pixels is subtracted from the fourth RGB image pixels to obtain a first RGB image.
[0041] Optionally, the skin detection device connected to a display screen is characterized in that the weight coefficient of the weighted mean is determined by the brightness of the fourth RGB image and the fifth RGB image.
[0042] In a second aspect, the present invention provides a smart device, characterized in that it includes:
[0043] Display screen;
[0044] A skin detection device connected to a display screen as described in any of the above items;
[0045] The display screen is electrically connected to the skin detection device connected to the display screen and has the same orientation.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention collects UV images and RGB images respectively to obtain information on the surface and depth layers of the skin, and simultaneously receives UV light and RGB light through a wide-spectrum receiver, so that the wide-spectrum receiver and the RGB receiver form a binocular system, and uses parallax calculation to obtain depth information, so that identity recognition and health detection can be better performed, and user posture can be judged, thereby improving the user's interactive experience.
[0048] The present invention reduces the number of parts by connecting an external display screen, so that the present invention has a smaller volume when applied to a smart device. The present invention uses the light of the display screen as the light source of visible light, so that the display screen is used as the light source of visible light, and there is no need to specially set up LED lights, thereby saving the number of hardware, which is conducive to reducing costs and miniaturization of equipment. At the same time, using the display screen as the visible light source reduces the visible light intensity of the light source per unit area, which is beneficial to human eye safety. Therefore, when acquiring RGB images, the user does not need to close his eyes or perform other operations, and the RGB image can be quickly obtained, and the user experience is good. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings in the following descriptions are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more obvious:
[0050] Figure 1 This is a schematic diagram of the structure of a skin detection device connected to a display screen in an embodiment of the present invention;
[0051] Figure 2 This is a schematic diagram of the structure of a UV light source and a first polarizer in an embodiment of the present invention;
[0052] Figure 3This is a schematic diagram of the structure of another skin detection device connected to a display screen in an embodiment of the present invention;
[0053] Figure 4 This is a schematic diagram of the structure of another skin detection device connected to a display screen in an embodiment of the present invention;
[0054] Figure 5 is a flowchart of steps for obtaining a first formula in an embodiment of the present invention;
[0055] Figure 6 A schematic diagram of the positional relationship between a distance sensor and a binocular coordinate system in an embodiment of the present invention;
[0056] Figure 7 Schematic diagram of the structure of a wide spectrum receiver in an embodiment of the present invention.
[0057] 1-UV light source;
[0058] 2- first polarizer;
[0059] 3- Display screen;
[0060] 4-Wide spectrum receiver;
[0061] 5- second polarizer;
[0062] 6-RGB receiver;
[0063] 7- Processor;
[0064] 8- Light source;
[0065] 9-Phase plate;
[0066] 10- reflective mirror;
[0067] 11-UV filter;
[0068] 12-Double pass filter;
[0069] 13- distance sensor;
[0070] 14-Interface;
[0071] 41-First area;
[0072] 42-Second area; DETAILED DESCRIPTION
[0073] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0074] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0075] An embodiment of the present invention provides a skin detection device connected to a display screen, aiming to solve the problems existing in the prior art.
[0076] The following specific embodiments are used to describe in detail the technical solutions of the present invention and how the technical solutions of the present application solve the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0077] The present invention adopts UV light and visible light as the collection bands, and utilizes a wide spectrum receiver to simultaneously receive UV light and visible light, thereby saving space. At the same time, binocular technology can also be used to obtain depth information and perform three-dimensional reconstruction. It has the advantages of compact structure, diverse data, and fast detection speed.
[0078] Figure 1 FIG. 1 is a schematic diagram of the structure of a skin detection device connected to a display screen in an embodiment of the present invention. Figure 1 As shown, a skin detection device connected to a display screen in an embodiment of the present invention includes:
[0079] The UV light source 1 is used to emit UV light.
[0080] Specifically, UV light is the abbreviation of Ultraviolet light, which is the invisible light part with a wavelength shorter than visible light. The wavelength range of the ultraviolet light source used by the detector is between 280nm-400nm, corresponding to UV-A (315nm-280nm) and UV-B (315nm-400nm) respectively. The UV light source uses an LED or lamp tube in the UV-A or UV-B band as a light source. Ultraviolet light is often used in skin testing to reveal specific features on the skin, such as sunburn, spots, etc., because different skin conditions have different absorption and reflection characteristics of UV light. Emit UV (ultraviolet) light to irradiate human skin to detect the characteristics of the skin under UV light, such as skin damage, pigmentation, etc. It is necessary to ensure that the radiation of the UV light source is within a safe range to avoid unnecessary damage to human skin.
[0081] The first polarizer 2 is located on the outgoing light path of the UV light source.
[0082] Specifically, the first polarizer is a parallel polarizer, and the first polarizer located on the outgoing light path of the UV light source is used to control the polarization state of the light passing through. The polarizer can filter out light waves vibrating in certain directions, thereby improving image contrast or reducing glare. By only allowing light in a specific direction to pass through, the scattering and interference of light is reduced, and the directionality and contrast of UV light are improved. By adjusting the polarization direction of the parallel polarizer, the polarization state of the light wave can be controlled, thereby achieving precise control and processing of the light signal, making the light irradiated on the skin more consistent.
[0083] The interface 14 is used to connect to the display screen 3 and perform signal transmission with the display screen.
[0084] Specifically, the skin detection device communicates with the display screen 3 through the interface 14. The interface can be various types of interfaces such as USB interface, serial port, I2C interface, RS-232, RS485, etc., and of course, it can also be any other interface type. The interface communicates through a connecting line. One end of the connecting line is connected to the skin detection device, and the other end is connected to the display screen. The display screen can interact with the user and can provide visible light as a visible light source. When the display screen provides visible light, the entire display screen appears white. By controlling the display screen to switch between white and interactive images by the processor, it is possible to achieve illumination while interacting. When the display screen is white for less than 1 / 60 second, ordinary human eyes cannot perceive this state. Therefore, the processor controls the display screen to be white for less than 1 / 60 second for illumination, and makes the RGB receiver receive synchronously, so that the image can be obtained when the human eye cannot perceive it. Visible light is essential for generating a color image of the skin surface and helps to observe skin color and other visible features. Visible light is projected for normal lighting and generating RGB images to detect the appearance and texture of the skin under visible light. Compared with the use of LED light sources for illumination, the display screen as a visible light source can also reduce the visible light intensity per unit area, which is beneficial to human eye safety, and can obtain a clear user image without the user closing their eyes, which has the advantage of good user experience. The visible light emitted by the display screen is polarized light, which can make the images received by the RGB receiver and the wide spectrum receiver clearer.
[0085] The wide spectrum receiver 4 is used for receiving the reflection signal of the UV light to generate a UV image, and for receiving the reflection signal of the visible light to generate a first RGB image.
[0086] Specifically, the wide spectrum receiver 4 can cover the spectrum range of UV and visible light, and has high sensitivity and high resolution. The characteristics of the skin under UV are analyzed through the UV image, and the appearance and texture of the skin under visible light are analyzed through the first RGB image. UV light can penetrate deep into the dermis, detect deeper pigments, and acne bacteria deep in the pores. At the same time, hormone face and lead-mercury face can also be checked under UV light. When wearing makeup, it can also be seen whether our sunscreen ingredients are physical sunscreen or chemical sunscreen.
[0087] The second polarizer 5 is located on the incident light path of the wide spectrum receiver.
[0088] Specifically, the second polarizer is a cross-polarizer, which filters out the diffusely reflected light on the skin surface and selectively collects the transmitted light. It can observe the pathological changes in the skin at the submicroscopic level, which is mainly reflected in the observation of the skin epidermal structure, pigments, blood vessels and skin appendages.
[0089] The RGB receiver 6 is used to receive the reflection signal of the visible light and generate a second RGB image.
[0090] Specifically, the RGB receiver 6 is specifically used to receive the reflected signal of visible light and generate a second RGB image. Compared with the wide spectrum receiver, the RGB receiver 6 has higher visible light sensitivity and resolution. High-definition natural light images can perform basic imaging of spots, wrinkles, textures, pores, etc. on the skin surface.
[0091] In some embodiments, the RGB receiver 6 is also provided with a third polarizer in the incident direction. The third polarizer is a parallel polarizer. Parallel polarized light can better obtain surface wrinkle and texture information by enhancing surface reflection. Under cross-polarized light, polarizer technology is used to filter the reflected light on the skin surface, and it can be seen that light brown, yellowish brown, dark brown, light yellow or dark red represent different skin lesion forms. The morphology of capillaries, skin color uniformity, and acne can be detected. Cross-polarized light can provide more accurate information for red and brown area images. Using high-definition RGB images, RGB (red, green, and blue) can be converted into RBX (red-brown-X) color space, so that red and brown represent hemoglobin and melanin respectively. The red area image mainly detects areas of inflammation that can present flakes of dark red. For example: acne, common acne, rosacea, pigmentation caused by vascular obstruction, spots, etc. The red area image is very helpful for laser freckle removal, and can also be used to view the state of blood vessels under the red area image at the spot site. The brown zone image mainly detects the brown-black color in melanin, and uses orange light with a wavelength of 590-625nm to detect spots with higher pigment density, such as chloasma, freckles, and freckle-like nevi.
[0092] Processor 7 is used to control the wide spectrum receiver to alternately collect the UV image and the first RGB image, and when collecting the first RGB image, make the RGB receiver synchronously collect the second RGB image, detect human skin condition according to the UV image, the first RGB image and the second RGB image, and perform depth calculation and identity recognition according to the first RGB image and the second RGB image.
[0093] Specifically, the processor is the brain of the entire device, responsible for controlling the alternating acquisition of UV images and RGB images, and processing the image data obtained from the wide spectrum receiver and the RGB receiver. The processor will analyze the UV image, the first RGB image, and the second RGB image to detect the condition of human skin, such as acne, rash, pigmentation, etc. At the same time, the processor is also responsible for depth calculation and identity recognition, and can evaluate the three-court and five-eyes, contour morphology, facial symmetry, and depression problems. The processor can also combine identity recognition with skin detection. Perform identity recognition on the human body, associate the skin detection results with the identity, and obtain the changes in the skin over time through detections performed at different times, so as to provide users with personalized skin care recommendations.
[0094] The processor sends a signal to the display screen through the interface so that the display screen lights up with specific parameters when the RGB receiver is exposed. Since the light emitted by the display screen is visible light, the processor sends a signal to the display screen when visible light shooting is required, so that the display of the display screen not only does not interfere with the wide spectrum receiver and the RGB receiver, but also can make the display screen illuminate with specific parameters, realize the function of visible light fill light or illumination, so that the wide spectrum receiver and the RGB receiver can obtain stronger signals and clearer images.
[0095] The distance between the wide spectrum receiver and the RGB receiver is greater than the distance between the wide spectrum receiver and the UV light source.
[0096] In some embodiments, the processor adjusts the UV light source or the wide spectrum receiver according to the brightness of the UV image, and adjusts the display screen or the RGB receiver according to the brightness of the second RGB image. When adjusting the UV light source or the wide spectrum receiver, the parameters of the UV light source are adjusted first to increase or decrease the light intensity. When adjusting the display screen or the RGB receiver, the parameters of the RGB receiver are adjusted first to maintain the stability of the first RGB image. The brightness of the display screen is adjusted according to the brightness of the first RGB image.
[0097] In some embodiments, when the wide spectrum receiver receives the UV light, the RGB receiver receives the reflected signal of the visible light to generate a second RGB image, and adjusts the parameters for the next acquisition according to the brightness of the second RGB image. Since the UV image and the first RGB image are acquired alternately, when the UV image is acquired, the brightness information of the background can be obtained by acquiring the second RGB image. According to the second RGB image acquired at this time, the brightness parameters of the display screen can be obtained, so that the next time the visible light image is acquired, the first RGB image and the second RGB image with high quality can be directly obtained. It should be noted that the second RGB image obtained when acquiring the UV image is not used for subsequent processing, but is only used to adjust the parameters of the display screen, the wide spectrum receiver or the RGB receiver.
[0098] Figure 2 FIG. 1 is a schematic diagram of the structure of a UV light source and a first polarizer in an embodiment of the present invention. Figure 2 As shown, a UV light source in an embodiment of the present invention includes:
[0099] The light source 8 is used to emit UV light.
[0100] Specifically, the light source emits UV light. The UV light can be in various forms, which are not limited in this embodiment.
[0101] The phase plate 9 is located between the light source and the first polarizer and is used to change the polarization state of light.
[0102] Specifically, the phase plate is used to change the polarization state of light, so that the light that fails to penetrate the first polarizer can penetrate the first polarizer after the polarization state is changed. The phase plate can be a random phase plate or a 1 / 8 wave plate. The phase plate changes the polarization state of light, that is, modulates the phase of the polarization state.
[0103] When the phase plate is a random phase plate, the light reflected by the first polarizer will be converted into a random phase after passing through the random phase plate, so that 50% of the light that shines on the first polarizer again will penetrate the first polarizer. The remaining light is reflected by the first polarizer again. This cycle repeats, and the overall light output rate can reach 90%.
[0104] When the phase plate is a 1 / 8 wave plate, the light reflected back by the first polarizer will rotate its polarization state by 1 / 8 after passing through the 1 / 8 wave plate, and after passing through the 1 / 8 wave plate twice, the polarization state will change by 90 degrees, so that it can penetrate the first polarizer after one reflection, and the overall light output rate can reach more than 95%. At the same time, the use of a 1 / 8 wave plate can reduce the number of reflections of light in the projector and reduce light loss.
[0105] In some embodiments, the distance between the phase plate and the first polarizer is less than 2 mm.
[0106] The reflective mirror 10 is located on the same side of the polarizer as the light source and is used to reflect the UV light.
[0107] Specifically, the reflective mirror is used to change the direction of light so that the light reflected by the first polarizer is directed toward the first polarizer again. The reflective mirror is closedly connected to the first polarizer and the light source so that the light between the first polarizer and the light source can be reflected by the reflective mirror. Figure 2 In the figure, the solid line represents the light directly emitted from the light source, and the dotted line represents the light path of the light reflected by the first polarizer. Figure 2 The optical path in the figure is only a schematic diagram, which is used to help those skilled in the art to better understand the present embodiment.
[0108] This embodiment allows the UV light that fails to pass through the first polarizer to pass through the first polarizer again after phase processing and reflection, thereby improving the emission efficiency of the UV light source, improving energy utilization efficiency, and reducing light loss, reducing the heat generated by the UV light source, and improving the stability of the device.
[0109] Figure 3 FIG. 1 is a schematic diagram of another structure of a skin detection device connected to a display screen according to an embodiment of the present invention. Figure 3 As shown, compared with the above-mentioned embodiment, another skin detection device connected to a display screen in the embodiment of the present invention further includes:
[0110] The UV filter 11 is located between the UV light source and the first polarizer.
[0111] Specifically, the main function of the UV filter is to select and transmit ultraviolet rays of a specific wavelength, while absorbing or reflecting light of other wavelengths. The use of this filter is to ensure that the light emitted by the UV light source has sufficient purity and intensity to meet the needs of skin detection. In skin detection devices, effective UV filtering can improve the quality of UV images, thereby more accurately assessing the condition of the skin, such as sunburn, spots, etc., which are usually more obvious under UV light. Since UV light has a certain degree of damage to the skin, the use of UV filters can also help control the intensity of UV light irradiated on the skin and protect the skin of the person being tested from being overexposed.
[0112] The double-pass filter 12 is located between the wide spectrum receiver and the second polarizer.
[0113] Specifically, the dual-pass filter 12 can selectively allow light waves of a specific wavelength range to pass through, while blocking light waves of other wavelength ranges. In the skin detection device, the dual-pass filter is designed to allow UV light and visible light to pass through at the same time, so that the wide spectrum receiver can receive the reflected signals of these two lights at the same time. By selectively allowing light waves of specific wavelengths to pass through, the dual-pass filter can reduce background noise and interference, and improve the clarity and contrast of the image. This is very important for accurately detecting skin conditions. The dual-pass filter can also protect the wide spectrum receiver from damage by potentially harmful light, thereby extending its service life.
[0114] This embodiment can remove the influence of stray light, improve imaging quality, reduce skin exposure, and help protect the wide spectrum receiver and extend the service life of the device by providing a UV filter and a double-pass filter.
[0115] Figure 4 FIG. 1 is a schematic diagram of another structure of a skin detection device connected to a display screen according to an embodiment of the present invention. Figure 4 As shown, another skin detection device connected to a display screen in an embodiment of the present invention further includes:
[0116] The distance sensor 13 is used to detect the distance of the target object.
[0117] Specifically, the working principle of the distance sensor is mainly based on the emission and reception of a certain substance to determine the distance between it and the target object. Taking the infrared distance sensor as an example, it contains an infrared transmitting tube and an infrared receiving tube. When the infrared light emitted by the transmitting tube is received by the receiving tube, it indicates that the distance is close; when the receiving tube cannot receive the infrared light emitted by the transmitting tube, it indicates that the distance is far.
[0118] The processor controls the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to work simultaneously, obtains the translation amount r of the first RGB image and the third RGB image according to the depth value l obtained by the distance sensor and the first formula, and aligns the first RGB image and the third RGB image; wherein the first formula is obtained in the calibration stage, and the third RGB image is an image converted from the second RGB image and has the same size and resolution as the first RGB image. The speed at which the distance sensor obtains the depth value l is very fast, much faster than the time for matching calculation of the first RGB image and the third RGB image. Therefore, using the depth value l to calculate the first RGB image and the third RGB image can speed up data processing.
[0119] In the prior art, the pixel points on the first RGB image and the third RGB image are matched and calculated to obtain the translation r of the two, and then the depth value of each pixel is calculated by triangulation. When the intrinsic and extrinsic parameters of the depth camera are fixed, the translation r of the depth image is negatively correlated with the depth value of the target object. That is, the closer the target object is to the depth camera, the larger the translation r; the farther the target object is from the depth camera, the smaller the translation r. Since there is a deviation in the direction of the distance sensor and the binocular camera, there is a certain rotation angle. At the same time, there is a certain height difference between the center point of the distance sensor and the binocular camera, so there is a translation constant. The position deviation between the distance sensor and the binocular camera can be characterized by rotation and translation. The first formula represents the relevant parameters of rotation and translation, so that the first RGB image and the third RGB image can be quickly aligned.
[0120] In some embodiments, a table is established according to the first formula, and the translation r is quickly obtained according to the depth value l by looking up the table. The table lookup method can greatly reduce the amount of calculation during use. It should be noted that the first formula can be the relationship between the depth value l of the distance sensor and the depth value of the binocular camera, or the relationship between the depth value l of the distance sensor and the translation amount. Therefore, the table can be a table of the depth value l of the distance sensor and the depth value of the binocular camera, or a table of the depth value l of the distance sensor and the translation amount.
[0121] In some embodiments, when there are multiple distance sensors, the distance sensor corresponding to the maximum value of the sum of the center brightness of the light spot on the first RGB image and the third RGB image is used for calculation. In some embodiments, one binocular camera corresponds to multiple distance sensors. At this time, multiple distance sensors may obtain different depth values due to their different positions. In this step, the distance sensor with the strongest signal can be obtained by simple calculation, and the distance sensor with the strongest signal is used for calculation to improve accuracy.
[0122] Figure 5 FIG. 1 is a flow chart of steps for obtaining the first formula in an embodiment of the present invention. Figure 5 As shown, in an embodiment of the present invention, a step of obtaining a first formula includes:
[0123] Step S1: Control the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect signals from the test board, so that the distance sensor obtains a first depth value l1, and obtains a depth value d1 of the center of the distance sensor spot according to parallax calculation through the first RGB image and the third RGB image.
[0124] In this step, the distance sensor is irradiated on the target object, and the binocular camera composed of the wide spectrum receiver and the RGB receiver can obtain the image of the target object, and the light spot irradiated by the distance sensor on the target object is also within the field of view of the binocular camera. The distance sensor emits a light spot and irradiates on the target object. Figure 6 As shown, the distance sensor and the binocular camera have the same orientation, and the direction of the distance sensor illumination is within the field of view of the binocular camera. Preferably, the minimum distance between the distance sensor and the center of the binocular camera does not exceed half of the baseline length of the binocular camera, that is, the distance sensor is located within a circle with the two cameras of the binocular camera as the diameter.
[0125] During the calibration phase, the distance sensor and the binocular camera are controlled to simultaneously collect signals from the test board. The test board can be a board of any color, generally a solid color board, such as a white board, a red board, a blue board, etc. The test board has a flat surface and consistent color. Since materials of different colors are different, resulting in inconsistent reflectivity, the same color of the test board can improve the accuracy of calibration. During the calibration phase, the positional relationship between the distance sensor and the binocular camera has been determined. Figure 6 The position diagram of the distance sensor coordinate system and the binocular camera coordinate system is shown, and the first depth value and the second depth value of the test board are marked. O1 is the origin of the binocular camera coordinate system, and O2 is the origin of the distance sensor coordinate system. O2 may not be in the xy plane of the O1 coordinate system, and the direction of O2 is at an angle to the z axis of the O1 coordinate system.
[0126] Step S2: changing the distance of the test board, and controlling the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect the signal of the test board, so that the distance sensor obtains a second depth value l2, and obtains a depth value d2 of the center of the light spot of the distance sensor according to the parallax calculation through the first RGB image and the third RGB image;
[0127] In this step, the first depth value and the second depth value are different, and the difference between the two is greater than the baseline length of the binocular camera. The binocular camera can obtain images in a large range. Since the distance sensor spot is irradiated on the position of the test board by both the distance sensor spot and the light source used by the binocular camera (which can be either active light or passive light), the brightness of the distance sensor spot is higher than other positions on the binocular image, so the distance sensor spot position can be obtained by brightness detection. The position of the spot is represented by the position of the center point of the spot. The depth value of the distance sensor at this time is the depth value of the center point of the spot.
[0128] Since the coordinate system of the binocular camera is a three-dimensional coordinate system, which is different from the coordinate system of the distance sensor, it is necessary to obtain the first formula through calibration to associate the coordinate system of the distance sensor with the coordinate system of the binocular camera. Different from the fusion of TOF camera, laser radar, etc. with binocular camera in the prior art, this embodiment only uses the depth value of the distance sensor to quickly align the binocular camera, thereby realizing fast depth calculation of the binocular camera and improving the speed of depth calculation of the binocular camera, rather than processing the depth value of the binocular camera.
[0129] Step S3: According to the formula d=k*l+b, obtain k and b.
[0130] In this step, since the coordinate system of the distance sensor is a one-dimensional coordinate system, there is a rotation and translation relationship between the binocular camera and the distance sensor coordinate system, and the camera depth and the distance sensor depth can be expressed as: d1=k*l1+b, d2=k*l2+b; Through the above equations, the calibration parameters can be obtained: k=(d1-d2) / (l1-l2), b=(d2l1-d1l2) / (l1-l2), and the relationship between the camera depth and the distance sensor depth value is: d=l*(d1-d2) / (l1-l2)+(d2l1-d1l2) / (l1-l2).
[0131] This embodiment establishes a corresponding relationship between the distance sensor coordinate system and the binocular camera coordinate system, and uses the first depth value and the second depth value to calibrate and calculate the conversion relationship to obtain a conversion formula for the depth value, which has the advantages of small calculation amount and fast speed.
[0132] Figure 7 FIG. 1 is a schematic diagram of the structure of a wide spectrum receiver in an embodiment of the present invention. Figure 7 As shown, a wide spectrum receiver in an embodiment of the present invention includes:
[0133] The first area 41 is used to receive a signal, perform exposure with a third exposure parameter, and generate a fourth RGB image.
[0134] Specifically, the first area is exposed with a uniform exposure parameter within the same time range. After the first area is exposed, a fourth RGB image is generated. The third exposure parameter may be the first exposure parameter or the second exposure parameter.
[0135] The second area 42, adjacent to the first area, is used for exposure with a fourth exposure parameter to obtain a fifth RGB image.
[0136] Specifically, the second area is another area different from the first area, and is controlled separately from the first area, and can be exposed with different exposure parameters or time. The fourth exposure parameter can be the first exposure parameter or the second exposure parameter.
[0137] After the fourth RGB image and the fifth RGB image are obtained, a weighted mean value of the fifth RGB image pixels is subtracted from the fourth RGB image pixels to obtain a first RGB image.
[0138] When calculating the first RGB image, first, calculate the weighted mean of the fifth RGB image. The weight coefficient of the weighted mean is determined by the brightness of the fourth RGB image and the fifth RGB image. The size of the fourth RGB image is larger than the size of the fifth RGB image. The fifth RGB image is used to characterize the influence of background light. For UV light and RGB light, the value of the third exposure parameter is different, and the value of the fourth exposure parameter is also different. The exposure time of the second area is different from the exposure time of the first area. The exposure of the first area is not synchronized with the second area, which can increase the acquisition frequency of the wide spectrum receiver so that the wide spectrum receiver can perform the next exposure without waiting for the background acquisition time.
[0139] Then, the weighted mean value of the corresponding pixel of the fifth RGB image is subtracted from each pixel value of the fourth RGB image to obtain the first RGB image.
[0140] In this embodiment, the wide spectrum receiver is a multi-region image sensor designed to allow images to be captured at different exposure parameters at the same time or in succession. This can be used for high dynamic range (HDR) imaging, where images of different exposure values are combined to capture a wider range of brightness in the scene.
[0141] In another embodiment of the present invention, a smart device is provided, comprising:
[0142] Display screen;
[0143] The skin detection device connected to a display screen according to any one of the preceding embodiments;
[0144] The display screen is electrically connected to the skin detection device connected to the display screen and has the same orientation.
[0145] Specifically, the smart device can be various smart devices such as mobile phones, robots, and vending machines. The display screen and the skin detection device connected to the display screen have the same orientation. When using the smart device, the user is located on one side of the smart device, facing the display screen and the skin detection device. The display screen can display the imaging content of the RGB receiver, and can also display other preset content. The area of the display screen is not less than 10 square centimeters to provide sufficient visible light illumination intensity. The surface of the skin detection device does not exceed the surface of the display screen to keep the front end of the smart device flat.
[0146] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. The above description of the disclosed embodiments enables professionals and technicians in this field to implement or use the present invention. Various modifications to these embodiments will be obvious to professionals and technicians in this field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown in this article, but will comply with the widest range consistent with the principles and novel features disclosed herein.
[0147] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A skin detection device connected to a display screen, characterized in that: include: UV light source, used for emitting UV light; A first polarizer, located on the outgoing light path of the UV light source; A wide spectrum receiver, used for receiving a reflection signal of the UV light to generate a UV image, and receiving a reflection signal of the visible light to generate a first RGB image; A second polarizer, located on the incident light path of the wide spectrum receiver; An RGB receiver, used for receiving a reflection signal of the visible light and generating a second RGB image; An interface, used to connect to a display screen and transmit signals to the display screen; The processor is used to control the wide spectrum receiver to alternately acquire the UV image and the first RGB image, and when acquiring the first RGB image, enable the RGB receiver to synchronously acquire the second RGB image, detect the human skin condition according to the UV image, the first RGB image, and the second RGB image, and perform depth calculation and identity recognition according to the first RGB image and the second RGB image.
2. A skin detection device connected to a display screen according to claim 1, characterized in that: The processor sends a signal to the display screen through the interface to cause the display screen to light up with specific parameters when the RGB receiver is exposed.
3. The skin detection device connected to a display screen according to claim 1, characterized in that: A UV filter is further arranged between the UV light source and the first polarizer; and a double-pass filter is further arranged between the wide spectrum receiver and the second polarizer.
4. The skin detection device connected to a display screen according to claim 1, characterized in that: The distance between the wide spectrum receiver and the RGB receiver is greater than the distance between the wide spectrum receiver and the UV light source.
5. The skin detection device connected to a display screen according to claim 1, characterized in that: Also includes: Distance sensor, used to detect the distance of the target object.
6. The skin detection device connected to a display screen according to claim 5, characterized in that: The processor controls the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to work simultaneously, obtains the translation amount r of the first RGB image and the third RGB image according to the depth value l obtained by the distance sensor and the first formula, and aligns the first RGB image and the third RGB image; wherein the first formula is obtained in a calibration stage, and the third RGB image is generated by converting the second RGB image and has the same size and resolution as the first RGB image.
7. The skin detection device connected to a display screen according to claim 6, characterized in that: The method for obtaining the first formula includes: Step S1: controlling the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect signals from the test board, so that the distance sensor obtains a first depth value l1, and obtains a depth value d1 of the center of the light spot of the distance sensor according to parallax calculation through the first RGB image and the third RGB image; Step S2: changing the distance of the test board, and controlling the distance sensor, the display screen, the wide spectrum receiver and the RGB receiver to simultaneously collect the signal of the test board, so that the distance sensor obtains a second depth value l2, and obtains a depth value d2 of the center of the light spot of the distance sensor according to the parallax calculation through the first RGB image and the third RGB image; Step S3: According to the formula d=k*l+b, obtain k and b.
8. The skin detection device connected to a display screen according to claim 1, characterized in that: The wide spectrum receiver comprises: The first area is used to receive a signal to perform exposure with a third exposure parameter and generate a fourth RGB image; A second area, adjacent to the first area, is used for exposure with a fourth exposure parameter to obtain a fifth RGB image; A weighted mean value of the fifth RGB image pixels is subtracted from the fourth RGB image pixels to obtain a first RGB image.
9. The skin detection device connected to a display screen according to claim 8, characterized in that: The weight coefficient of the weighted mean is determined by the brightness of the fourth RGB image and the fifth RGB image.
10. A smart device, characterized in that: include: Display screen; The skin detection device connected to a display screen according to any one of claims 1 to 9; The display screen is electrically connected to the skin detection device connected to the display screen and has the same orientation.
