Skin detection method, device and system capable of 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, and the accuracy of skin detection and user experience is improved.
Patent Information
- Application Number
- CN202310796602.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
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 cannot be fully in-depth detection.
Using the skin detection method that automatically tracks the face, by receiving skin detection commands, the camera module controls the camera module to collect face images and recognizes the display position, adjusts the camera module position to align the specified position on the display screen, and uses a variety of light sources such as white light, Polarized light is detected.
No need for users to manually adjust the camera position, improving the accuracy and user experience of detection, and achieving comprehensive and in-depth detection through a variety of light sources.
Smart Images

Figure CN119229490A_ABST
Abstract
Description
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 be seen 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 resource allocation efficiency of the entire society.
[0003] With the improvement of living standards, people's requirements for beauty and health have increased accordingly. Most people maintain good skin by using skin care products. At present, some automatic skin care vending machines have appeared on the market. Since the skin may change with diet, season or age, the skin care products needed at different times may also be different. As a result, vending machines with skin detection have also been applied. This type of vending machine can first detect the skin, give a test report, and then recommend suitable products to meet the different needs of different groups of people. However, the position of the camera module of the existing vending machines with skin detection is fixed or can only be adjusted manually, requiring users to constantly adjust the position to align with the display screen, resulting in poor user experience, and the existing vending machines with skin detection have a relatively single light source, which cannot perform comprehensive and in-depth detection of the skin. Summary of the invention
[0004] 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 prior art 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. The user does not need to adjust the position by himself, making the detection process more convenient and improving the user experience.
[0005] The present invention adopts the following technical solution:
[0006] In a first aspect, a skin detection method for automatically tracking a face includes:
[0007] Receiving skin detection instructions;
[0008] Control the camera module to collect facial images;
[0009] Identifying a display position of the facial image on a display screen;
[0010] 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;
[0011] Activate skin detection.
[0012] Preferably, the controlling and adjusting the position of the camera module specifically includes:
[0013] Control and adjust the horizontal axis position and / or vertical axis position of the camera module.
[0014] 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 collected face image is displayed at the designated position of the display screen specifically includes:
[0015] 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;
[0016] 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.
[0017] 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.
[0018] 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.
[0019] Preferably, the process until the collected facial image is displayed at a designated position on the display screen further includes:
[0020] Determine whether the position of the camera module has reached the specified limit position, if so, stop adjusting.
[0021] In a second aspect, a skin detection device for automatically tracking a face includes:
[0022] An instruction receiving module, used for receiving skin detection instructions;
[0023] An image acquisition module is used to control the camera module to acquire facial images;
[0024] A position recognition module, used to recognize the display position of the face image on the display screen;
[0025] 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;
[0026] Skin detection module, used to start skin detection.
[0027] In a third aspect, a skin detection system for automatically tracking a human face includes: a detection head, a display screen, and a control mainboard; the detection head includes a camera module and a rotation module;
[0028] The control mainboard is used for:
[0029] Receiving skin detection instructions;
[0030] Control the camera module to collect facial images;
[0031] Identifying a display position of the facial image on a display screen;
[0032] 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;
[0033] Activate skin detection.
[0034] Preferably, the detection head also includes an axle box; the camera module and the rotating module are respectively connected to the axle box.
[0035] 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 skin detection.
[0036] Preferably, the rotating module includes a horizontal axis adjustment component and a vertical axis adjustment component.
[0037] 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.
[0038] Preferably, the transverse axis adjustment assembly also includes a transverse axis connecting sleeve to connect the transverse axis adjustment motor and the transverse axis transmission shaft; the longitudinal axis adjustment assembly also includes a longitudinal axis connecting sleeve to connect the longitudinal axis adjustment motor and the longitudinal axis transmission shaft.
[0039] Preferably, the skin detection system for automatically tracking a human face further comprises: a retractable shading device connected to the axle box.
[0040] In a fourth aspect, a vending machine includes a cargo rack and a delivery port; further including 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.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] (1) The present invention can automatically identify the display position of a face image on a display screen. If the display position is not at a specified position on the display screen, the position of the camera module is controlled and adjusted until the acquired face image is displayed at a specified position on the display screen, and then the face skin is 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.
[0043] (2) The light source module of the present invention can generate a variety of light sources including white light, polarized light, etc. for skin detection, and can perform comprehensive and in-depth detection of the skin to ensure the accuracy of the detection;
[0044] (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 a skin detection command or starts skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a dark room environment, thereby ensuring the detection effect.
[0045] 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 in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below.
[0046] 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
[0047] Figure 1 This is a flow chart of a skin detection method for automatically tracking a face according to Embodiment 1 of the present invention;
[0048] Figure 2 Schematic diagram of the face tracking process of 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 sending a command to adjust the horizontal axis angle; (c) indicates sending a command to adjust the vertical axis angle;
[0049] Figure 3 It is a schematic diagram of horizontal axis angle adjustment according to the first embodiment of the present invention;
[0050] Figure 4 It is a schematic diagram of adjusting the longitudinal axis angle according to the first embodiment of the present invention;
[0051] Figure 5 This is a structural block diagram of a skin detection device for automatically tracking a face according to Embodiment 1 of the present invention;
[0052] Figure 6 It is an AA cross-sectional view of a skin detection system for automatically tracking a human face according to a second embodiment of the present invention;
[0053] Figure 7 It is an enlarged view of the detection head in the AA cross-sectional view of the second embodiment of the present invention;
[0054] Figure 8 This is an exploded view of the detection head of the second embodiment of the present invention;
[0055] Fig. 9 is a three-dimensional schematic diagram of a detection head according to a second embodiment of the present invention;
[0056] Fig.10 It is a right view of the adjustment of the camera module of the detection head according to the second embodiment of the present invention;
[0057] Fig.11 A top view of the camera module of the detection head according to the second embodiment of the present invention is shown;
[0058] Fig.12 It is a structural schematic diagram of a vending machine according to a third embodiment of the present invention;
[0059] Fig.13 This is a flow chart of detection and vending of a vending machine according to the third embodiment of the present invention. DETAILED DESCRIPTION
[0060] 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, and all other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making creative work are within the scope of protection of the present invention.
[0061] In the description of the present invention, it should be noted that the terms "comprises", "includes" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0062] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top / bottom" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0063] In the description of the present invention, it should be noted that, unless otherwise clearly stipulated and limited, the terms "installed", "provided with", "mounted / connected", "connected", etc. should be understood in a broad sense. For example, "connected" 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.
[0064] 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, and the corresponding execution order can be adjusted.
[0065] Embodiment 1
[0066] See also Figure 1 As shown, this embodiment provides a skin detection method for automatically tracking a face, including:
[0067] S101, receiving a skin detection instruction;
[0068] S102, controlling the camera module to collect facial images;
[0069] S103, identifying a display position of the face image on a display screen;
[0070] 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 face image is displayed at the designated position of the display screen;
[0071] S105, start skin detection.
[0072] Specifically, the execution subject of the above S101~S105 can be a control mainboard, specifically a control module on the control mainboard (such as a control chip including a single-chip microcomputer or MCU), or other forms of execution subjects, which can be set according to needs and are not limited in this embodiment.
[0073] In this embodiment, the controlling and adjusting the position of the camera module specifically includes:
[0074] Control and adjust the horizontal axis position and / or vertical axis position of the camera module.
[0075] 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.
[0076] 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:
[0077] 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;
[0078] 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.
[0079] See also Figure 2 As shown, the display position is the center point 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 the coordinate within a preset range of the center coordinate 22 of the display screen.
[0080] See also Figure 2 (a) to 2(c), the face position tracking adjustment steps are as follows:
[0081] (a), the center coordinate 22 of the display screen is (0, 0), and the center point 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 located at the center of the screen;
[0082] (b), if Y1>0, it means that the face is higher than the camera module, then 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, then the vertical axis adjustment motor needs to rotate counterclockwise to align the camera module downward to 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)), complete face tracking.
[0083] Further, the following will be passed Figure 3 and Figure 4 The calculation process of the adjustment angle is explained in the following example.
[0084] 1. Let the distance from the face to the camera module be 520 under normal circumstances, and the distance from the extreme position of the face to the center line of the display screen be D0=300; where 30 represents the position of the camera module, and 31 represents the extreme position of the face;
[0085] 2. Assume that the face recognition frame is located at the horizontal axis limit of the display screen (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 screen 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;
[0086] 3. Under the above premise, when the face recognition frame is displayed at (50, 30) during a certain detection, D0 is actually 50 / 0.5=100 and 30 / 0.5=60 respectively;
[0087] 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°;
[0088] 5. With the tip of the nose as the center point of the face recognition frame, 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 coordinates of the face recognition frame are within this range after the first adjustment, it is considered to be centered; if not within this range, it needs to continue to be adjusted until it falls within this range, then it is considered to be centered; if not within this range, it needs to continue to be adjusted until it falls within this accuracy range before starting the detection.
[0089] It should be noted that the process of displaying the acquired facial image at a designated position on the display screen further includes:
[0090] Determine whether the position of the camera module has reached the specified limit position, if so, stop adjusting.
[0091] When the adjustment is stopped, a reminder can be given by voice or on the display screen, which can prevent the camera module from being damaged on the one hand, and can remind the user of the correct operation process in time on the other hand.
[0092] See also Figure 5 As shown, this embodiment also discloses a skin detection device for automatically tracking a face, comprising:
[0093] An instruction receiving module, used for receiving skin detection instructions;
[0094] An image acquisition module is used to control the camera module to acquire facial images;
[0095] A position recognition module, used to recognize the display position of the face image on the display screen;
[0096] 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;
[0097] Skin detection module, used to start skin detection.
[0098] The specific implementation of a skin detection device for automatically tracking a human face and a skin detection method for automatically tracking a human face are described in detail in this embodiment.
[0099] 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 of the display screen, the position of the camera module is controlled to be adjusted until the collected facial image is displayed at the specified position of the display screen, and then the skin detection is performed on the face 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.
[0100] Embodiment 2
[0101] See also Figure 6 As shown, a skin detection system for automatically tracking a human 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;
[0102] The control main board 62 is used for:
[0103] Receiving skin detection instructions;
[0104] Control the camera module 601 to collect facial images;
[0105] Identifying a display position of the face image on the display screen 61;
[0106] 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;
[0107] Activate skin detection.
[0108] For details, see Figures 7 to 11 As shown, the detection head 60 further includes an axle box 604 ; the camera module 601 and the rotating module 603 are respectively connected to the axle box 604 .
[0109] 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 holder 6061 , and the lens holder 6061 is connected to the axle box 604 via a lens holder sleeve 6062 .
[0110] 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 skin detection.
[0111] In this embodiment, the light source module 602 includes a light source board 6021 composed of 18 lamp beads, a first polarizer 6022, a second polarizer 6023, a third polarizer 6024 and a polarizer fixing plate 6025, and uses white light, parallel polarized light, cross polarized light and other light sources for skin detection, which can perform comprehensive and in-depth detection of the skin and ensure the accuracy of the detection. The light source board 6021, the first polarizer 6022, the second polarizer 6023 and the third polarizer 6024 are connected in sequence, and inserted into the lens holder 6061 to fix the four screw columns 6063, and finally fixed by the polarizer fixing plate 6025.
[0112] In this embodiment, the rotating module 603 includes a horizontal axis adjustment component and a vertical axis adjustment component.
[0113] 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 .
[0114] The transverse axis adjustment assembly also 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 also includes a longitudinal axis connecting sleeve 6036 to connect the longitudinal axis adjustment motor 6033 and the longitudinal axis transmission shaft 6034 .
[0115] 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 longitudinal axis adjustment motor 6033 is fixed to the axle box 604 by screws, and rotates with the longitudinal axis transmission shaft 6034 to achieve longitudinal axis direction angle adjustment.
[0116] In this embodiment, the maximum rotation range of the horizontal axis and the vertical axis is both plus or minus 30°.
[0117] In this embodiment, the skin detection system for automatically tracking human faces also includes: a retractable shading device connected to the axle box 604, such as a blackout curtain. After the user triggers a skin detection command or starts skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a darkroom environment, thereby ensuring the detection effect.
[0118] Embodiment 3
[0119] See also Fig.12 As shown, this embodiment discloses a vending machine, including a cargo rack 64 and a delivery port 65; also including 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.
[0120] Referring to the second embodiment, the skin detection system for automatically tracking a human face comprises: a detection head 60, a display screen 61 and a control mainboard 62; the detection head 60 comprises a camera module 601 and a rotation module 603;
[0121] The control main board 62 is used for:
[0122] Receiving skin detection instructions;
[0123] Control the camera module 601 to collect facial images;
[0124] Identifying a display position of the face image on the display screen 61;
[0125] 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;
[0126] Activate skin detection.
[0127] In this embodiment, the skin detection system for automatically tracking human faces also includes: a retractable shading device connected to the axle box 604, such as a shading curtain 63. After the user triggers a skin detection command or starts skin detection, the shading device is controlled to extend, thereby performing image acquisition and detection in a darkroom environment, thereby ensuring the detection effect.
[0128] The vending machine of this embodiment integrates the functions of skin detection and vending skin care products, so that users can accurately select suitable skin care products according to their skin conditions, thereby increasing user satisfaction and improving the sales volume of the vending machine.
[0129] The above is only a preferred specific implementation of the present invention; however, the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and its improved conception within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
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 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; 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. A vending machine, comprising a goods 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 14; 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
Automatic output adjustment method for mobile terminal
CN107133008A
Equipment, method and device for collecting human face images and medium
CN110751109A
Novel skin health detection mirror with adjustable face distance
CN214317989U
KR20220156126A