Method, apparatus and system for performing skin testing by automatically tracking human face, and vending machine

By automatically adjusting the position of the camera module and using multiple light sources, the problem of fixed camera position and single light source in existing vending machines is solved, convenient and efficient skin detection is achieved, and user experience and detection accuracy are improved.

WO2025002362A1PCT designated stage expired Publication Date: 2025-01-02XIAMEN SOLEX HIGH TECH INDUSTRIES CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/102416
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-30
Filing Date
2024-06-28
Publication Date
2025-01-02

AI Technical Summary

Technical Problem

The existing vending machine camera module with skin detection is fixed or needs manual adjustment, which has poor user experience and a single light source, so comprehensive and in-depth inspection cannot be carried out.

Method used

Using the skin detection method that automatically tracks the face, adjusts the horizontal and vertical axis positions through the camera module, combines multiple light sources such as white light and polarized light to automatically identify and align the face for skin detection, and can be used in dark room environments. Telescopic light shielding device.

Benefits of technology

There is no need for users to manually adjust the camera position to ensure the accuracy and comprehensiveness of skin detection, improve the user experience, and conduct effective inspections in darkroom environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024102416_02012025_PF_FP_ABST
    Figure CN2024102416_02012025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a method, apparatus and system for performing skin testing by automatically tracking a human face, and a vending machine. The method comprises: receiving a skin testing instruction; controlling a camera module to collect a facial image; identifying a display position of the facial image on a display screen; if the display position is not a specified position on the display screen, performing control to adjust the position of the camera module until the collected facial image is displayed at the specified position on the display screen; and starting skin testing. By means of the present invention, the position of the camera module can be automatically adjusted according to the height and position of a user, such that skin testing is performed in a manner of directly facing a human face, and thus the user does not need to adjust the position by himself / herself, and the testing process is more convenient, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Skin detection method, device, system and vending machine for automatically tracking human faces Technical Field

[0001] The present invention relates to the technical field of vending machines with skin detection, and in particular to a skin detection method, device, system and vending machine for automatically tracking a human face. Background Art

[0002] With the development of technology, vending machines can now be found everywhere, such as in subway stations, hospitals, cinemas, and sports venues. Vending machines break through the limitations of time, location, and human resources, making goods transactions more convenient and improving the efficiency of resource allocation in society as a whole.

[0003] With rising living standards, people's expectations for beauty and health have also increased. Most people rely on skincare products to maintain good skin. Automated skincare vending machines are already available on the market. Since skin changes with diet, season, or age, the skincare products needed at different times may vary. This has led to the emergence of vending machines with skin detection capabilities. These machines first test the skin, generate a report, and then recommend suitable products to meet the diverse needs of different groups. However, the camera modules of existing skin detection vending machines are fixed in position or can only be adjusted manually, requiring users to constantly adjust the position to align the display, resulting in a poor user experience. Furthermore, existing skin detection vending machines use a single light source, making them incapable of comprehensive and in-depth skin testing.

[0004] Summary of the Invention

[0005] The main purpose of the present invention is to propose a skin detection method, device, system and vending machine for automatically tracking human faces, which overcomes the shortcomings of the existing technology and can automatically adjust the position of the camera module according to the user's height and position to perform skin detection on the face. There is no need for the user to adjust the position himself, the detection process is more convenient, and the user experience is improved.

[0006] The present invention adopts the following technical solutions:

[0007] In a first aspect, a skin detection method for automatically tracking a face includes:

[0008] receiving skin detection instructions;

[0009] Control the camera module to collect facial images;

[0010] Identifying a display position of the facial image on a display screen;

[0011] If the display position is not at the designated position of the display screen, controlling and adjusting the position of the camera module until the acquired facial image is displayed at the designated position of the display screen;

[0012] Start skin detection.

[0013] Preferably, the controlling and adjusting the position of the camera module specifically includes:

[0014] Control and adjust the horizontal axis position and / or vertical axis position of the camera module.

[0015] Preferably, if the display position is not at the designated position of the display screen, controlling and adjusting the position of the camera module until the acquired facial image is displayed at the designated position of the display screen specifically includes:

[0016] If the horizontal coordinate of the display position is greater than the horizontal coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the horizontal axis position; if the horizontal coordinate of the display position is less than the horizontal coordinate of the specified position, the camera module is controlled to rotate clockwise at the horizontal axis position until the horizontal coordinate of the display position is equal to the horizontal coordinate of the specified position;

[0017] If the vertical coordinate of the display position is greater than the vertical coordinate of the specified position, the camera module is controlled to rotate clockwise at the vertical axis position; if the vertical coordinate of the display position is less than the vertical coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the vertical axis position until the vertical coordinate of the display position is equal to the vertical coordinate of the specified position.

[0018] Preferably, the horizontal axis position of the camera module is controlled and adjusted by controlling the horizontal axis adjustment motor; and the vertical axis position of the camera module is controlled and adjusted by controlling the vertical axis adjustment motor.

[0019] Preferably, the display position is the coordinates of the center point of the face recognition frame; the designated position is the center coordinates of the display screen, or the designated position is the coordinates within a preset range of the center coordinates of the display screen.

[0020] Preferably, the process until the collected facial image is displayed on a designated position on the display screen further includes:

[0021] Determine whether the position of the camera module has reached the specified limit position. If so, stop adjusting.

[0022] In a second aspect, a skin detection device for automatically tracking a face includes:

[0023] An instruction receiving module, used for receiving skin detection instructions;

[0024] Image acquisition module, used to control the camera module to collect facial images;

[0025] A position recognition module, configured to recognize a display position of the facial image on a display screen;

[0026] a position adjustment module, configured to determine if the display position is not at the designated position of the display screen, and control and adjust the position of the camera module until the acquired facial image is displayed at the designated position of the display screen;

[0027] Skin detection module, used to start skin detection.

[0028] In a third aspect, a skin detection system for automatically tracking a face includes: a detection head, a display screen, and a control mainboard; the detection head includes a camera module and a rotation module;

[0029] The control mainboard is used for:

[0030] receiving skin detection instructions;

[0031] Control the camera module to collect facial images;

[0032] Identifying a display position of the facial image on a display screen;

[0033] If the display position is not at the designated position of the display screen, controlling the rotation module to adjust the position of the camera module until the acquired facial image is displayed at the designated position of the display screen;

[0034] Start skin detection.

[0035] Preferably, the detection head further includes an axle box; the camera module and the rotation module are respectively connected to the axle box.

[0036] Preferably, the detection head further comprises a light source module connected to the axle box; the light source module generates at least one light source for performing skin detection.

[0037] Preferably, the rotating module includes a horizontal axis adjustment component and a vertical axis adjustment component.

[0038] Preferably, the transverse axis adjustment component includes a transverse axis adjustment motor and a transverse axis transmission shaft; the longitudinal axis adjustment component includes a longitudinal axis adjustment motor and a longitudinal axis transmission shaft.

[0039] Preferably, the transverse axis adjustment assembly further includes a transverse axis connecting sleeve to connect the transverse axis adjustment motor and the transverse axis transmission shaft; the longitudinal axis adjustment assembly further includes a longitudinal axis connecting sleeve to connect the longitudinal axis adjustment motor and the longitudinal axis transmission shaft.

[0040] Preferably, the skin detection system for automatically tracking a human face further comprises: a retractable shading device connected to the axle box.

[0041] In a fourth aspect, a vending machine includes a cargo rack and a delivery port; further includes the skin detection system that automatically tracks human faces; after the skin detection is completed, the skin detection system that automatically tracks human faces recommends skin care products on the cargo rack through the display screen; after receiving a skin care product purchase instruction, the corresponding skin care product is controlled to be shipped from the delivery port.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] (1) The present invention can automatically identify the display position of a facial image on a display screen. If the display position is not at the specified position on the display screen, the position of the camera module is controlled and adjusted until the acquired facial image is displayed at the specified position on the display screen. The skin of the face is then detected to ensure the accuracy of the detection. The adjustment process does not require manual participation by the user, and the adjustment is accurate and convenient, thereby improving the user experience.

[0044] (2) The light source module of the present invention can generate a variety of light sources including white light and polarized light for skin detection, and can perform comprehensive and in-depth detection of the skin to ensure the accuracy of the detection;

[0045] (3) The skin detection system of the present invention is provided with a retractable shading device (such as a blackout curtain). After the user triggers the skin detection instruction or starts the skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a darkroom environment, ensuring the detection effect.

[0046] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention so that it can be implemented in accordance with the contents of the specification, and to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are listed below.

[0047] Based on the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will become more aware of the above and other objects, advantages and features of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a flow chart of a skin detection method for automatically tracking a face according to a first embodiment of the present invention;

[0049] FIG2 is a schematic diagram of the face tracking process according to the first embodiment of the present invention; wherein (a) indicates that the user's face is initially displayed in the lower right corner of the display screen; (b) indicates that a command is sent to adjust the horizontal axis angle; and (c) indicates that a command is sent to adjust the vertical axis angle.

[0050] FIG3 is a schematic diagram of horizontal axis angle adjustment according to the first embodiment of the present invention;

[0051] FIG4 is a schematic diagram of longitudinal axis angle adjustment according to the first embodiment of the present invention;

[0052] FIG5 is a structural block diagram of a skin detection device for automatically tracking a face according to a first embodiment of the present invention;

[0053] FIG6 is an AA cross-sectional view of a skin detection system for automatically tracking a face according to a second embodiment of the present invention;

[0054] FIG7 is an enlarged view of the detection head in the AA cross-sectional view of the second embodiment of the present invention;

[0055] FIG8 is an exploded view of the detection head according to the second embodiment of the present invention;

[0056] FIG9 is a perspective schematic diagram of a detection head according to a second embodiment of the present invention;

[0057] FIG10 is a right side view of the camera module adjustment of the detection head according to the second embodiment of the present invention;

[0058] FIG11 is a top view of the camera module adjustment of the detection head according to the second embodiment of the present invention;

[0059] FIG12 is a schematic structural diagram of a vending machine according to a third embodiment of the present invention;

[0060] FIG. 13 is a flow chart of detection and vending of a vending machine according to a third embodiment of the present invention. DETAILED DESCRIPTION

[0061] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0062] In the description of the present invention, it should be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0063] In the description of the present invention, it should be noted that the terms "upper," "lower," "inner," "outer," "top / bottom," and the like, indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0064] In the description of the present invention, it should be noted that, unless otherwise clearly stipulated and limited, the terms "installed", "provided with", "sleeved / connected", "connected", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be a direct connection or an indirect connection through an intermediate medium. It can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0065] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, step identifiers S101, S102, S103, etc. are only used for convenient expression and do not represent the execution order. The corresponding execution order can be adjusted.

[0066] Example 1

[0067] 1 , this embodiment provides a skin detection method for automatically tracking a face, including:

[0068] S101, receiving a skin detection instruction;

[0069] S102, controlling the camera module to collect facial images;

[0070] S103, identifying a display position of the facial image on a display screen;

[0071] S104, if the display position is not at the designated position of the display screen, controlling and adjusting the position of the camera module until the acquired facial image is displayed at the designated position of the display screen;

[0072] S105, start skin detection.

[0073] Specifically, the execution subject of the above S101~S105 can be the control main board, specifically the control module on the control main board (such as a control chip including a single-chip microcomputer or MCU), or other forms of execution subjects. It can be set according to needs and is not limited in this embodiment.

[0074] In this embodiment, controlling and adjusting the position of the camera module specifically includes:

[0075] Control and adjust the horizontal axis position and / or vertical axis position of the camera module.

[0076] After the user starts skin detection, the camera module will identify the face position, that is, rely on the existing face recognition algorithm technology to identify the face position on the display screen, and send the face position to the control motherboard. The control motherboard controls the adjustment motor to adjust the horizontal axis position and / or vertical axis position of the camera module according to the face position. Specifically, the horizontal axis position of the camera module can be controlled by controlling the horizontal axis adjustment motor; the vertical axis position of the camera module can be controlled by controlling the vertical axis adjustment motor.

[0077] If the display position is not at the designated position of the display screen, controlling and adjusting the position of the camera module until the acquired face image is displayed at the designated position of the display screen, specifically includes:

[0078] If the horizontal coordinate of the display position is greater than the horizontal coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the horizontal axis position; if the horizontal coordinate of the display position is less than the horizontal coordinate of the specified position, the camera module is controlled to rotate clockwise at the horizontal axis position until the horizontal coordinate of the display position is equal to the horizontal coordinate of the specified position;

[0079] If the vertical coordinate of the display position is greater than the vertical coordinate of the specified position, the camera module is controlled to rotate clockwise at the vertical axis position; if the vertical coordinate of the display position is less than the vertical coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the vertical axis position until the vertical coordinate of the display position is equal to the vertical coordinate of the specified position.

[0080] 2 , the display position is the center coordinate 20 of the face recognition frame 21 ; the designated position is the center coordinate 22 of the display screen, or the designated position is a coordinate within a preset range of the center coordinate 22 of the display screen.

[0081] Referring to Figures 2(a) to 2(c), the steps for adjusting the face position tracking are as follows:

[0082] (a) The center coordinate 22 of the display screen is (0, 0), and the center coordinate 20 of the face recognition frame 21 before adjustment is (X1, Y1). If X1>0, the horizontal axis adjustment motor rotates counterclockwise; if X1<0, the horizontal axis adjustment motor rotates clockwise until X1=0; at this time, the horizontal axis direction is at the center of the screen;

[0083] (b), if Y1>0, it means that the face is higher than the camera module, and the vertical axis adjustment motor needs to rotate clockwise to align the camera module with the face until Y1=0; if Y1<0, it means that the face is lower than the camera module, and the vertical axis adjustment motor needs to rotate counterclockwise to align the camera module downward with the face until Y1=0; at this time, the center point coordinate 20 of the face recognition frame 21 coincides with the center coordinate 22 of the display screen (Figure 2(c)), and face tracking is completed.

[0084] Furthermore, the calculation process of the adjustment angle will be described below through the examples of FIG3 and FIG4 .

[0085] 1. Assume that the distance between the face and the camera module is 520, and the distance between the extreme position of the face and the center line of the display screen is D0 = 300. Here, 30 represents the position of the camera module, and 31 represents the extreme position of the face.

[0086] 2. Assume that the face recognition frame is at the horizontal axis limit position of the display (i.e. it needs to be rotated 30 degrees 0 The face coordinates are (X max =150,0), then the ratio of the distance on the display to the actual distance is K=X max / D0=0.5, that is, the face size on the display is 0.5 times the actual size;

[0087] 3. Under the above premise, when the face recognition frame is displayed at (50, 30) during a certain detection, the actual D0 is 50 / 0.5=100 and 30 / 0.5=60 respectively;

[0088] 4. The angle that needs to be adjusted for the horizontal axis is arctan(100 / 520) = 10.88°, and the angle that needs to be adjusted for the vertical axis is arctan(60 / 520) = 6.56°;

[0089] 5. The tip of the nose is used as the center point of the face recognition frame, and its accuracy range is (X less than or equal to plus or minus 10, Y less than or equal to plus or minus 10). That is, if the horizontal / vertical coordinates of the center of the face recognition frame are within this range after the first adjustment, it is considered centered; if not, continue to adjust until it falls within this range, then it is considered centered; if not, continue to adjust until it falls within this accuracy range before starting detection.

[0090] It should be noted that the process until the collected facial image is displayed on the designated position of the display screen further includes:

[0091] Determine whether the position of the camera module has reached the specified limit position. If so, stop adjusting.

[0092] When the adjustment is stopped, a reminder can be given by voice or on the display screen. On the one hand, it can prevent the camera module from being damaged, and on the other hand, it can promptly remind the user of the correct operation process.

[0093] As shown in FIG5 , this embodiment further discloses a skin detection device for automatically tracking a face, comprising:

[0094] An instruction receiving module, used for receiving skin detection instructions;

[0095] Image acquisition module, used to control the camera module to collect facial images;

[0096] A position recognition module, configured to recognize a display position of the facial image on a display screen;

[0097] a position adjustment module, configured to determine if the display position is not at the designated position of the display screen, and control and adjust the position of the camera module until the acquired facial image is displayed at the designated position of the display screen;

[0098] Skin detection module, used to start skin detection.

[0099] The specific implementation of the skin detection device for automatically tracking a human face is the same as the skin detection method for automatically tracking a human face, and will not be repeated in this embodiment.

[0100] This embodiment can automatically identify the display position of a facial image on the display screen. If the display position is not at the specified position on the display screen, the position of the camera module is controlled and adjusted until the captured facial image is displayed at the specified position on the display screen. The skin of the face is then detected to ensure the accuracy of the detection. The adjustment process does not require manual user participation, and the adjustment is precise and convenient, thereby improving the user experience.

[0101] Example 2

[0102] As shown in FIG6 , a skin detection system for automatically tracking a face includes: a detection head 60 , a display screen 61 , and a control mainboard 62 ; the detection head 60 includes a camera module 601 and a rotation module 603 ;

[0103] The control main board 62 is used for:

[0104] receiving skin detection instructions;

[0105] Control the camera module 601 to collect facial images;

[0106] Identifying a display position of the facial image on the display screen 61;

[0107] If the display position is not at the designated position of the display screen 61, the rotation module 603 is controlled to adjust the position of the camera module 601 until the acquired face image is displayed at the designated position of the display screen 61;

[0108] Start skin detection.

[0109] Specifically, referring to FIG. 7 to FIG. 11 , the detection head 60 further includes an axle box 604 ; the camera module 601 and the rotation module 603 are respectively connected to the axle box 604 .

[0110] In this embodiment, the camera module 601 includes a matching lens 6011 and a photosensitive chip 6012 , which are combined and fixed on a lens base 6061 , and the lens base 6061 is connected to the axle box 604 via a lens base sleeve 6062 .

[0111] The detection head 60 further includes a light source module 602 connected to an axle box 604 ; the light source module 602 generates at least one light source for performing skin detection.

[0112] In this embodiment, the light source module 602 includes a light source board 6021 composed of 18 light beads, a first polarizer 6022, a second polarizer 6023, a third polarizer 6024, and a polarizer fixing plate 6025. It utilizes white light, parallel polarized light, and cross-polarized light sources for skin testing, enabling comprehensive and in-depth skin testing while ensuring accuracy. The light source board 6021, first polarizer 6022, second polarizer 6023, and third polarizer 6024 are sequentially connected and inserted into the lens holder 6061, secured by four screws 6063, and finally secured by the polarizer fixing plate 6025.

[0113] In this embodiment, the rotation module 603 includes a horizontal axis adjustment component and a vertical axis adjustment component.

[0114] Specifically, the transverse axis adjustment component includes a transverse axis adjustment motor 6031 and a transverse axis transmission shaft 6032 ; the longitudinal axis adjustment component includes a longitudinal axis adjustment motor 6033 and a longitudinal axis transmission shaft 6034 .

[0115] The transverse axis adjustment assembly further includes a transverse axis connecting sleeve 6035 to connect the transverse axis adjustment motor 6031 and the transverse axis transmission shaft 6032 ; the longitudinal axis adjustment assembly further includes a longitudinal axis connecting sleeve 6036 to connect the longitudinal axis adjustment motor 6033 and the longitudinal axis transmission shaft 6034 .

[0116] The axle box 604 is connected to the horizontal axis adjustment motor 6031 by bolts 605, and rotates with the horizontal axis transmission shaft 6032 to achieve horizontal axis direction angle adjustment. The vertical axis adjustment motor 6033 is fixed to the axle box 604 by screws and rotates with the vertical axis transmission shaft 6034 to achieve vertical axis direction angle adjustment.

[0117] In this embodiment, the maximum rotation range of the horizontal axis and the vertical axis is both plus or minus 30 degrees.

[0118] In this embodiment, the skin detection system for automatically tracking human faces further includes: a retractable shading device connected to the axle box 604, such as a blackout curtain. After the user triggers the skin detection instruction or starts the skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a darkroom environment, thereby ensuring the detection effect.

[0119] In this embodiment, the control method for controlling the operation of the control mainboard 62 may refer to the first embodiment.

[0120] Example 3

[0121] As shown in Figure 12, this embodiment discloses a vending machine, including a cargo rack 64 and a delivery port 65; it also includes a skin detection system that automatically tracks human faces; after the skin detection is completed, the skin detection system that automatically tracks human faces recommends skin care products on the cargo rack 64 through the display screen 61; after receiving a skin care product purchase instruction, the corresponding skin care product is controlled to be shipped from the delivery port 65.

[0122] Referring to the second embodiment, the skin detection system for automatically tracking a face includes: a detection head 60, a display screen 61 and a control mainboard 62; the detection head 60 includes a camera module 601 and a rotation module 603;

[0123] The control main board 62 is used for:

[0124] receiving skin detection instructions;

[0125] Control the camera module 601 to collect facial images;

[0126] Identifying a display position of the facial image on the display screen 61;

[0127] If the display position is not at the designated position of the display screen 61, the rotation module 603 is controlled to adjust the position of the camera module 601 until the acquired face image is displayed at the designated position of the display screen 61;

[0128] Start skin detection.

[0129] In this embodiment, the skin detection system for automatically tracking human faces further includes: a retractable shading device connected to the axle box 604, such as a shading curtain 63. After the user triggers the skin detection instruction or starts the skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a darkroom environment, thereby ensuring the detection effect.

[0130] In this embodiment, the control method for controlling the operation of the control mainboard 62 may refer to the first embodiment.

[0131] The vending machine of this embodiment integrates the functions of skin detection and vending of skin care products, allowing users to accurately select suitable skin care products according to their skin conditions, thereby increasing user satisfaction and boosting the sales volume of the vending machine.

[0132] The above description is merely a preferred embodiment of the present invention; however, the scope of protection of the present invention is not limited thereto. Any person skilled in the art who, within the technical scope disclosed by the present invention, makes equivalent substitutions or modifications based on the technical solutions and improved concepts of the present invention shall be covered by the scope of protection of the present invention. Industrial Applicability

[0133] The present invention provides a skin detection method and device for automatically tracking a human face. The method automatically adjusts the position of a camera module according to the user's height and position to perform skin detection on the human face. The user does not need to adjust the position himself, making the detection process more convenient, improving the user experience, having a wide range of applications, and having good industrial applicability.

Claims

1. A skin detection method for automatically tracking a face, characterized in that: include: Receiving skin detection instructions; Control the camera module to collect facial images; Identifying a display position of the facial image on a display screen; If the display position is not at the specified position of the display screen, control and adjust the position of the camera module until the collected face image is displayed at the specified position of the display screen; Activate skin detection.

2. The skin detection method for automatically tracking a face according to claim 1, characterized in that: The controlling and adjusting the position of the camera module specifically includes: Control and adjust the horizontal axis position and / or vertical axis position of the camera module.

3. The skin detection method for automatically tracking a face according to claim 2, characterized in that: If the display position is not at the designated position of the display screen, controlling and adjusting the position of the camera module until the acquired face image is displayed at the designated position of the display screen, specifically including: If the horizontal coordinate of the display position is greater than the horizontal coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the horizontal axis position; if the horizontal coordinate of the display position is less than the horizontal coordinate of the specified position, the camera module is controlled to rotate clockwise at the horizontal axis position until the horizontal coordinate of the display position is equal to the horizontal coordinate of the specified position; If the longitudinal coordinate of the display position is greater than the longitudinal coordinate of the specified position, the camera module is controlled to rotate clockwise at the longitudinal axis position; if the longitudinal coordinate of the display position is less than the longitudinal coordinate of the specified position, the camera module is controlled to rotate counterclockwise at the longitudinal axis position until the longitudinal coordinate of the display position is equal to the longitudinal coordinate of the specified position.

4. The skin detection method for automatically tracking a face according to claim 2, characterized in that: The horizontal axis position of the camera module is controlled and adjusted by controlling the horizontal axis adjustment motor; the vertical axis position of the camera module is controlled and adjusted by controlling the vertical axis adjustment motor.

5. The skin detection method for automatically tracking a face according to claim 1, characterized in that: The display position is the coordinates of the center point of the face recognition frame; the designated position is the center coordinates of the display screen, or the designated position is the coordinates within a preset range of the center coordinates of the display screen.

6. The skin detection method for automatically tracking a face according to claim 1, characterized in that: The method of displaying the collected facial image at a designated position on the display screen further includes: Determine whether the position of the camera module has reached the specified limit position, if so, stop adjusting.

7. A skin detection device for automatically tracking a face, characterized in that: include: An instruction receiving module, used for receiving skin detection instructions; An image acquisition module is used to control the camera module to acquire facial images; A position recognition module, used to recognize the display position of the face image on the display screen; A position adjustment module, used for determining if the display position is not at the specified position of the display screen, and controlling and adjusting the position of the camera module until the acquired face image is displayed at the specified position of the display screen; Skin detection module, used to start skin detection.

8. A skin detection system for automatically tracking a face, characterized in that: include: Detection head, display screen and control mainboard; the detection head includes a camera module and a rotation module; The control mainboard is used for: Receiving skin detection instructions; Control the camera module to collect facial images; Identifying a display position of the facial image on a display screen; If the display position is not at the designated position of the display screen, controlling the rotation module to adjust the position of the camera module until the acquired face image is displayed at the designated position of the display screen; Activate skin detection.

9. The skin detection system for automatically tracking a face according to claim 8, characterized in that: The detection head also includes an axle box; the camera module and the rotating module are respectively connected to the axle box.

10. The skin detection system for automatically tracking a face according to claim 9, characterized in that: The detection head also includes a light source module connected to the axle box; the light source module generates at least one light source for skin detection.

11. The skin detection system for automatically tracking a face according to claim 8, characterized in that: The rotating module includes a horizontal axis adjustment component and a vertical axis adjustment component.

12. The skin detection system for automatically tracking a face according to claim 11, characterized in that: The transverse axis adjustment component includes a transverse axis adjustment motor and a transverse axis transmission shaft; the longitudinal axis adjustment component includes a longitudinal axis adjustment motor and a longitudinal axis transmission shaft.

13. The skin detection system for automatically tracking a face according to claim 12, characterized in that: The transverse axis adjustment component also includes a transverse axis connecting sleeve to connect the transverse axis adjustment motor and the transverse axis transmission shaft; the longitudinal axis adjustment component also includes a longitudinal axis connecting sleeve to connect the longitudinal axis adjustment motor and the longitudinal axis transmission shaft.

14. The skin detection system for automatically tracking a face according to claim 9, characterized in that: Also includes: A retractable shading device connected to the axle box.

15. The skin detection system for automatically tracking a face according to claim 10, characterized in that: The light source module comprises: a light source plate, a first polarizer, a second polarizer and a third polarizer connected in sequence; the light source module also comprises a polarizer fixing plate to fix the light source plate, the first polarizer, the second polarizer and the third polarizer.

16. A vending machine, comprising a cargo rack and a delivery port; characterized in that: It also includes the skin detection system for automatically tracking human faces as described in any one of claims 8 to 15; after the skin detection is completed, the skin detection system for automatically tracking human faces recommends skin care products on the shelf through the display screen; after receiving a skin care product purchase instruction, the corresponding skin care product is controlled to be shipped from the shipping port.

Citation Information

Patent Citations

  • Camera control method, device, electronic device and storage medium

    CN108769514A

  • Camera automatic adjustment method and device, equipment and storage medium

    CN110460772A

  • Online skin analysis system

    CN113240652A

  • Height-adaptive face recognition method and device

    CN113688744A

  • Skin detection system with position adjusting function and vending machine

    CN220876748U