An intelligent makeup mirror, an intelligent makeup mirror adjustment method, device and medium

By integrating the image acquisition module and controller in the intelligent makeup mirror, automatically adjusting the seat height or shooting angle, the problem of manual adjustment when the user's face position is inappropriate, and the user experience is improved.

CN116172332BActive Publication Date: 2025-06-10HISENSE GRP HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111423979.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2025-06-10
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

When the existing smart makeup mirror is inappropriate when the user's face position is not suitable, the user needs to manually adjust the seat height and other parameters, resulting in poor user experience.

Method used

An intelligent makeup mirror is designed, equipped with an image acquisition module and a controller. By collecting video frames, determining user position, and automatically adjusting seat height or shooting angle according to position relationships, ensuring the appropriate position of user position in the video frame.

Benefits of technology

It realizes automatic and intelligent adjustment of the user's position in the video frame, improves the user experience, and reduces the time and energy of manual adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116172332B_ABST
    Figure CN116172332B_ABST
Patent Text Reader

Abstract

The present application discloses an intelligent makeup mirror, an intelligent makeup mirror adjustment method, device, equipment and medium, which are used to automatically and intelligently adjust the position of a user in a video frame, thereby improving the user experience. Since the image acquisition module in the intelligent makeup mirror of the present application can acquire a video frame and send the acquired video frame to the controller in the intelligent makeup mirror; the controller in the intelligent makeup mirror can determine the position of the user included in the video frame, and when the position of the user is not located at a predetermined target position, based on the positional relationship between the position of the user and the predetermined target position, adjust the parameter information of the intelligent makeup mirror to adjust the position of the user to a suitable position (target position), so that the position of the user in the video frame can be automatically and intelligently adjusted, improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of intelligent makeup mirrors, and particularly to an intelligent makeup mirror, an intelligent makeup mirror adjustment method, device, equipment, and medium. Background Art

[0002] Everyone loves beauty. With the improvement of living standards, more and more users hope to make themselves more beautiful through makeup, and intelligent makeup mirrors have emerged as the times require. An intelligent makeup mirror is usually configured with an image acquisition module such as a camera. Users can perform makeup, touch-up, etc. based on the video frames acquired by the image acquisition module to make themselves more beautiful. Among them, for example, when the position of the user's face in the video frame is too high or too low (inappropriate), it usually affects the user experience.

[0003] Currently, when the position of the user in the video frame is inappropriate, it is usually necessary for the user to manually adjust the parameter information of the intelligent makeup mirror, such as the height of the seat corresponding to the intelligent makeup mirror, to adjust the position of the user in the video frame. However, the method of manually adjusting the parameter information of the intelligent makeup mirror by the user is not only time-consuming and laborious, but also may be difficult to adjust the user to an appropriate position, resulting in a poor user experience.

[0004] Therefore, there is an urgent need for a technical solution that can automatically and intelligently adjust the position of the user in the video frame to improve the user experience. Summary of the Invention

[0005] This application provides an intelligent makeup mirror, an intelligent makeup mirror adjustment method, device, equipment, and medium, which are used to automatically and intelligently adjust the position of the user in the video frame and improve the user experience.

[0006] In a first aspect, this application provides an intelligent makeup mirror, which includes: an image acquisition module and a controller;

[0007] The image acquisition module is used to acquire a video frame and send the video frame to the controller;

[0008] The controller is used to execute:

[0009] Determine the position of the user included in the video frame;

[0010] If the position does not lie in a pre-determined target position, then based on the position relationship between the position and the target position, adjust the parameter information of the intelligent makeup mirror so that the position of the user included in at least one video frame after the video frame lies in the target position.

[0011] In a second aspect, this application provides an intelligent makeup mirror adjustment method, and the method includes:

[0012] Determine the position of the user included in the acquired video frame;

[0013] If the position is not located at a predetermined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the smart dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position.

[0014] In a third aspect, the present application provides a smart dressing mirror adjustment device, and the device includes:

[0015] A determination module, configured to determine the position of the user included in the acquired video frame;

[0016] An adjustment module, configured to, if the position is not located at a predetermined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the smart dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position.

[0017] In a fourth aspect, the present application provides an electronic device, and the electronic device at least includes a processor and a memory. When the processor executes a computer program stored in the memory, the steps of the above-mentioned smart dressing mirror adjustment method are implemented.

[0018] In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned smart dressing mirror adjustment method are implemented.

[0019] Since the image acquisition module in the smart dressing mirror of the present application can acquire video frames and send the acquired video frames to the controller in the smart dressing mirror; the controller in the smart dressing mirror can determine the position of the user included in the video frame, and when the position of the user is not located at a predetermined target position, based on the positional relationship between the position of the user and the predetermined target position, adjust the parameter information of the smart dressing mirror to adjust the position of the user to a suitable position (target position), so that the position of the user in the video frame can be automatically and intelligently adjusted, improving the user experience. Description of the Drawings

[0020] In order to more clearly illustrate the embodiments of the present application or the implementation manners in the related art, the following will briefly introduce the drawings required for use in the description of the embodiments or the related art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings.

[0021] Figure 1Shows a schematic structural diagram of the first intelligent makeup mirror provided by some embodiments;

[0022] Figure 2 Shows a schematic diagram of a target frame where a user's face is located provided by some embodiments;

[0023] Figure 3 Shows a schematic diagram of the first intelligent makeup mirror provided by some embodiments;

[0024] Figure 4 Shows a schematic diagram of a video frame provided by some embodiments;

[0025] Figure 5 Shows a schematic structural diagram of the second intelligent makeup mirror provided by some embodiments;

[0026] Figure 6 Shows a schematic diagram of the adjustment process of the first intelligent makeup mirror provided by some embodiments;

[0027] Figure 7 Shows a schematic diagram of the second intelligent makeup mirror provided by some embodiments;

[0028] Figure 8 Shows a schematic diagram of the third intelligent makeup mirror provided by some embodiments;

[0029] Figure 9 Shows a schematic diagram of the fourth intelligent makeup mirror provided by some embodiments;

[0030] Figure 10 Shows a schematic diagram of the adjustment process of the second intelligent makeup mirror provided by some embodiments;

[0031] Figure 11 Shows a schematic diagram of an intelligent makeup mirror adjustment device provided by some embodiments;

[0032] Figure 12 Shows a schematic structural diagram of an electronic device provided by some embodiments. Detailed implementation manners

[0033] In order to automatically and intelligently adjust the position of the user in the video frame and improve the user experience, the embodiments of the present application provide an intelligent makeup mirror, an intelligent makeup mirror adjustment method, device, equipment and medium.

[0034] To make the purpose and implementation manners of the present application clearer, the following will clearly and completely describe the exemplary implementation manners of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only a part of the embodiments of the present application, rather than all of the embodiments.

[0035] It should be noted that the brief description of the terms in this application is only for the convenience of understanding the following described embodiments, rather than intending to limit the embodiments of this application. Unless otherwise specified, these terms should be understood in their ordinary and common meanings.

[0036] In this application, the terms "first", "second", "third", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such terms can be interchanged under appropriate circumstances.

[0037] The terms "comprising" and "having" and any variations thereof are intended to cover but not exclusively include. For example, a product or device comprising a series of components does not necessarily have to be limited to all the components clearly listed, but may include other components not clearly listed or inherent to these products or devices.

[0038] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or a combination of hardware or / and software code that can perform functions related to that element.

[0039] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of this application.

[0040] In the actual use process, the image acquisition module 11 in the intelligent dressing mirror can acquire video frames and send the acquired video frames to the controller 12 in the intelligent dressing mirror; the controller 12 can determine the position of the user included in the video frame, and when the position of the user is not located at a pre-determined target position, based on the positional relationship between the position of the user and the pre-determined target position, adjust the parameter information of the intelligent dressing mirror to adjust the position of the user to a suitable position (target position), so as to achieve the purpose of automatically and intelligently adjusting the position of the user in the video frame and improving the user experience.

[0041] Figure 1 The first schematic structural diagram of an intelligent dressing mirror provided by some embodiments is shown. The intelligent dressing mirror includes: an image acquisition module 11 and a controller 12;

[0042] The image acquisition module 11 is used to acquire video frames and send the video frames to the controller 12;

[0043] The controller 12 is configured to perform:

[0044] Determine the position of the user included in the video frame;

[0045] If the position does not lie at a predetermined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the intelligent dressing mirror so that the position of the user included in at least one video frame after the video frame lies at the target position.

[0046] To achieve the control of the intelligent dressing mirror, an image acquisition module 11 and a controller 12 are provided in the intelligent dressing mirror, where the image acquisition module 11 is connected to the controller 12. In a possible implementation, the intelligent dressing mirror may further include a display integrated with a mirror surface (mirror display), and the display integrated with the mirror surface is specifically a mirror material provided on the outer surface of the display. When the display is turned off, the intelligent dressing mirror is similar to an ordinary mirror and can be used to tidy up the appearance; when the display is lit, the display can display content for intelligent interaction with the user. In a possible implementation, when the display is lit, the video frame acquired by the image acquisition module 11 can be displayed on the display.

[0047] In a possible implementation, the image acquisition module 11 may send the acquired video frame to the controller 12, and the controller 12 may receive the video frame sent by the image acquisition module 11 and, after receiving the video frame, determine the position of the user included in the video frame. Exemplarily, the controller 12 may determine the position of the face (human face) of the user included in the video frame in the video frame, and use the position of the user's human face in the video frame as the position of the user in the video frame (the position of the user included in the video frame). For ease of understanding, hereinafter, the position of the user included in the video frame is taken as the position of the user's human face in the video frame as an example for explanation.

[0048] After determining the position of the user included in the video frame, the controller 12 may determine whether the position of the user included in the video frame lies at a predetermined target position. In a possible implementation, Figure 2 Some embodiments provide a schematic diagram of a target box where a user's human face is located, such as Figure 2As shown, in a possible implementation, the controller 12 can first determine the ordinate of the center point of the target box where the user's face is located, and then determine whether the user's position is at the target position by comparing whether the pixel value of the ordinate of the center point of the target box where the user's face is located is the same as the pixel value of the ordinate of the target position. If the pixel values of the ordinates of the center point of the target box where the user's face is located and the target position are the same, it can be considered that the user's position is at the pre-determined target position; if the pixel values of the ordinates of the center point of the target box where the user's face is located and the target position are different, it can be considered that the user's position is not at the pre-determined target position.

[0049] Exemplarily, the pixel values of the coordinates of the center point of the target box where the user's face is located in the video frame are represented by (x’, y’), and the pixel value of the ordinate of the target position is represented by A. When y’ = A, it can be considered that the user's position is at the target position. When y’ > A or y’ < A, it can be considered that the user's position is not at the pre-determined target position. For example, taking the pixel value A of the ordinate of the target position as 1280, if y’ = 1280, it can be considered that the user's position is at the target position. If y’ > 1280 or y’ < 1280, it can be considered that the user's position is not at the pre-determined target position.

[0050] In a possible implementation, when determining whether the position of the user included in the video frame is at the pre-determined target position, the controller 12 can also first determine the ordinate and abscissa of the center point of the target box where the user's face is located, and then determine whether the user's position is at the target position by comparing whether the pixel value of the ordinate of the center point of the target box where the user's face is located is the same as the pixel value of the ordinate of the target position, and by comparing whether the pixel value of the abscissa of the center point of the target box where the user's face is located is the same as the pixel value of the abscissa of the target position. Exemplarily, if the pixel values of the ordinates of the center point of the target box where the user's face is located and the target position are the same, and the pixel values of the abscissas of the center point of the target box where the user's face is located and the target position are the same, it can be considered that the user's position is at the pre-determined target position. If the pixel values of the ordinates of the center point of the target box where the user's face is located and the target position are different, or the pixel values of the abscissas of the center point of the target box where the user's face is located and the target position are different, it can be considered that the user's position is not at the pre-determined target position.

[0051] In a possible implementation, if the user's position is not at a pre-determined target position, in order to automatically and intelligently adjust the user's position in the video frame and improve the user experience, the parameter information of the intelligent dressing mirror can be adjusted based on the positional relationship between the user's current position and the target position, so as to adjust the user's position to a suitable position (target position), and make the position of the user included in at least one video frame after the video frame be at the target position. In a possible implementation, the time taken for adjusting the parameter information of the intelligent dressing mirror in this application is not specifically limited. Exemplarily, if a video frame in which the position of the user included in the video frame is not at the target position is called a non-conforming video frame, and the interval duration between two adjacent video frames collected is called an interval duration. When adjusting the parameter information of the intelligent dressing mirror, it can take only one interval duration, that is, based on the positional relationship between the position of the user included in only one non-conforming video frame and the target position, the user's position can be adjusted to a suitable position (target position), and make the positions of the users included in other video frames after this video frame (non-conforming video frame) be at the target position. Additionally, when adjusting the parameter information of the intelligent dressing mirror, it can also take multiple (at least two) interval durations, that is, based on the positional relationship between the positions of the users included in multiple non-conforming video frames and the target position, the user's position can be adjusted to a suitable position (target position), and make the position of the user included in at least one video frame after the non-conforming video frame be at the target position, so as to achieve the purpose of adjusting the user's position to a suitable position (target position).

[0052] Since the image acquisition module 11 in the intelligent dressing mirror of this application can acquire video frames and send the acquired video frames to the controller 12 in the intelligent dressing mirror; the controller 12 in the intelligent dressing mirror can determine the position of the user included in the video frame, and when the position of the user is not at the pre-determined target position, based on the positional relationship between the user's position and the pre-determined target position, adjust the parameter information of the intelligent dressing mirror, so as to adjust the user's position to a suitable position (target position), thereby automatically and intelligently adjusting the user's position in the video frame and improving the user experience.

[0053] In a possible implementation, when the user's position is not at the target position, at least one parameter information such as the shooting angle of the image acquisition module 11 corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror can be adjusted to adjust the user's position to a suitable position (target position).

[0054] Figure 3 The first schematic diagram of the intelligent dressing mirror provided by some embodiments is shown, such as Figure 3As shown, the intelligent dressing mirror may include a matching (corresponding) liftable seat. If the user's position is not at the target position in the vertical direction (longitudinal direction), that is, when the pixel value of the ordinate of the user's position is different from the pixel value of the ordinate of the target position, the height of the seat can be adjusted to adjust the user's position to the target position. In a possible implementation, when adjusting the parameter information of the intelligent dressing mirror based on the position relationship between the user's position and the target position, the distance between the user's position and the target position in the video frame can be determined first. According to this distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, the target actual distance corresponding to this distance is determined, and the height of the seat corresponding to the intelligent dressing mirror is adjusted to the target actual distance to adjust the user's position in the video frame to the target position.

[0055] Exemplarily, assume that the pre-determined correspondence (scale) between the pixel distance and the actual distance in the video frame includes the correspondence between 640 pixels and 17 cm of the actual distance. In the vertical direction, the user's position (the pixel value y' of the ordinate of the user's position) and the target position (the pixel value A of the ordinate of the target position A y ) in the video frame is y'-A y , then according to this distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, the target actual distance h1 corresponding to this distance is determined as h1=(y'-A y ) / 640*17.

[0056] In a possible implementation, the target actual distance may include the adjustment direction. Refer to Figure 4 , Figure 4 shows a schematic diagram of a video frame provided by some embodiments. As shown in Figure 4 , the pixel value coordinates of the upper left corner of the video frame are (0, 0), the pixel value coordinates of the lower right corner of the video frame are (1080, 1920), the horizontal size of the video frame is 1080 pixels, and the vertical size is 1920 pixels. It can be seen that in the vertical direction (longitudinal direction) of the video frame, the higher the position, the smaller the pixel value of the ordinate; the lower the position, the larger the pixel value of the ordinate. In the horizontal direction (transverse direction) of the video frame, the more to the left the position, the smaller the pixel value of the abscissa; the more to the right the position, the larger the pixel value of the abscissa.

[0057] Refer to Figure 4, for example, vertically, when the user's position is below the target position (at A'), that is, when the pixel value of the vertical coordinate of the user's position is greater than the pixel value of the vertical coordinate of the target position, the seat can be adjusted upward by the target actual distance to adjust the user's position in the video frame to the target position. Vertically, when the user's position is above the target position (at A''), that is, when the pixel value of the vertical coordinate of the user's position is less than the pixel value of the vertical coordinate of the target position, the seat can be adjusted downward by the target actual distance to adjust the user's position in the video frame to the target position.

[0058] In a possible implementation, considering that when the user's position is above the target position, the user may be relatively tall. If the seat is adjusted downward, the user's sitting posture may not be very comfortable. Before the controller 12 determines the target actual distance corresponding to the distance between the user's position and the target position in the video frame according to the distance between the user's position and the target position in the video frame and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, it can also first determine whether the user's position is below the target position. If the user's position is below the target position, it can be considered that the user may not be very tall, and the subsequent steps of determining the target actual distance corresponding to the distance between the user's position and the target position in the video frame according to the distance between the user's position and the target position in the video frame and the pre-determined correspondence between the pixel distance and the actual distance in the video frame can be performed, that is, the step of adjusting the seat upward by the target actual distance to adjust the user's position to the target position can be performed.

[0059] In a possible implementation, when the pixel value of the vertical coordinate of the user's position is less than the pixel value of the vertical coordinate of the target position and the user's position is above the target position, it can be considered that the user may be relatively tall, and the subsequent steps of determining the target actual distance corresponding to the distance between the user's position and the target position in the video frame according to the distance between the user's position and the target position in the video frame and the pre-determined correspondence between the pixel distance and the actual distance in the video frame may not be performed; instead, the position of the user can be adjusted to the target position by adjusting the shooting angle of the image acquisition module 11 corresponding to the intelligent dressing mirror, as detailed in the subsequent embodiments.

[0060] Figure 5 The second schematic structural diagram of the intelligent dressing mirror provided by some embodiments is shown, such as Figure 5As shown in the figure, the intelligent dressing mirror may include a supporting (corresponding) image acquisition module 11 such as a camera. The image acquisition module 11 may be arranged in the intelligent dressing mirror in an embedded or external manner. This application does not specifically limit the specific setting method of the image acquisition module 11, and it can be flexibly set according to requirements. In a possible implementation manner, when the user's position is not at the target position, the shooting angle of the image acquisition module 11 can be adjusted to adjust the user's position to the target position.

[0061] Specifically, when adjusting the shooting angle of the image acquisition module 11 to adjust the user's position to the target position, the distance between the user's position and the target position in the video frame can be determined first, and then according to this distance and the pre-determined corresponding relationship between the pixel distance and the adjustment angle in the video frame, the target adjustment angle corresponding to this distance can be determined. By adjusting the shooting angle of the image acquisition module 11 corresponding to the intelligent dressing mirror to this target adjustment angle, the position of the user in the video frame can be adjusted to the target position.

[0062] In a possible implementation manner, when in the horizontal coordinate direction (horizontal) of the video frame, the user's position is not at the target position, that is, the pixel value of the horizontal coordinate of the user's position is different from the pixel value of the horizontal coordinate of the target position; or when in the vertical coordinate direction (vertical) of the video frame, the user's position is not at the target position, that is, the pixel value of the vertical coordinate of the user's position is different from the pixel value of the vertical coordinate of the target position, the shooting angle of the image acquisition module 11 can be adjusted to adjust the user's position to the target position.

[0063] Exemplarily, taking the case where the user's position is not at the target position in the vertical direction of the video frame as an example, assume that in the vertical direction, the pre-determined corresponding relationship between the pixel distance and the adjustment angle in the video frame includes the corresponding relationship between 1280 pixels and an adjustment angle of 53°. The distance between the user's position (the pixel value y' of the vertical coordinate of the user's position) and the target position (the pixel value A of the vertical coordinate of the target position A y ) in the video frame is A y -y'. Then, according to the distance between the user's position (y') and the target position (A y ) in the video frame and the pre-determined corresponding relationship between the pixel distance and the adjustment angle in the video frame, the target adjustment angle a' corresponding to the distance between the user's position (y') and the target position (A y ) in the video frame is a'=(A y -y') / 1280*53°.

[0064] Among them, whether it is vertical or horizontal, the process (principle) of adjusting the shooting angle of the image acquisition module 11 to adjust the user's position to the target position is the same. For example, for a certain preset direction (such as a preset direction like horizontal or vertical), the distance between the user's position and the target position in the video frame can be determined first in this preset direction, and then according to this distance and the pre-determined corresponding relationship between the pixel distance and the adjustment angle in the video frame in this preset direction, the target adjustment angle corresponding to this distance is determined. By adjusting the shooting angle of the image acquisition module 11 corresponding to the intelligent dressing mirror to this target adjustment angle, the user's position in the video frame can be adjusted to the target position in this preset direction.

[0065] In a possible implementation manner, the target adjustment angle may include an adjustment direction. For example, when vertically, the user's position is below the target position, that is, the pixel value of the ordinate of the user's position is greater than the pixel value of the ordinate of the target position, the image acquisition module 11 can be adjusted downward by the target adjustment angle. When vertically, the user's position is above the target position, that is, the pixel value of the ordinate of the user's position is less than the pixel value of the ordinate of the target position, the image acquisition module 11 can be adjusted upward by the target adjustment angle. When horizontally, the user's position is to the left of the target position, that is, the pixel value of the abscissa of the user's position is less than the pixel value of the abscissa of the target position, the image acquisition module 11 can be adjusted leftward by the target adjustment angle. When horizontally, the user's position is to the right of the target position, that is, the pixel value of the abscissa of the position is greater than the pixel value of the abscissa of the target position, the image acquisition module 11 can be adjusted rightward by the target adjustment angle.

[0066] In a possible implementation, since the image acquisition module 11 is usually configured in the intelligent dressing mirror, the shooting angle of the image acquisition module 11 can be adjusted by adjusting the mirror angle of the intelligent dressing mirror. That is, the mirror angle of the intelligent dressing mirror can be adjusted to the target adjustment angle, so as to realize adjusting the image acquisition module 11 to the target adjustment angle. In addition, considering that the mirror angle of the intelligent dressing mirror is usually adjusted upward, therefore, in a possible implementation, before determining the target actual distance corresponding to the distance between the user's position and the target position in the video frame according to the distance between the user's position and the target position in the video frame and the corresponding relationship between the pixel distance and the adjustment angle in the pre-determined video frame, it can also be determined whether the pixel value of the ordinate of the user's position is less than the pixel value of the ordinate of the target position. If so, it can be considered that the user's position is above the target position, and then the subsequent steps of determining the target adjustment angle corresponding to the distance between the user's position and the target position in the video frame according to the distance between the user's position and the target position in the video frame and the corresponding relationship between the pixel distance and the adjustment angle in the pre-determined video frame can be performed, that is, the shooting angle (the mirror angle of the intelligent dressing mirror) of the image acquisition module 11 can be adjusted upward by the target adjustment angle to adjust the user's position to the target position.

[0067] For ease of understanding, the following uses a specific embodiment to illustrate the adjustment process of the intelligent dressing mirror provided in the present application. Figure 6 Some embodiments provide a schematic diagram of the first intelligent dressing mirror adjustment process, as Figure 6 shown, this process includes the following steps:

[0068] S601: Determine the position of the user included in the captured video frame.

[0069] S602: Determine whether the user's position is located at a pre-determined target position. If so, perform S603; if not, perform S604.

[0070] S603: The user's position is appropriate, and the parameter information of the intelligent dressing mirror is not adjusted.

[0071] S604: Determine whether the pixel value of the ordinate of the user's position is greater than the pixel value of the ordinate of the target position. If so, perform S605; if not, perform S606.

[0072] S605: Determine the distance between the user's position and the target position in the video frame vertically; according to the distance between the user's position and the target position in the video frame, and the corresponding relationship between the pixel distance and the actual distance in the video frame determined in advance, determine the target actual distance corresponding to the distance between the user's position and the target position in the video frame, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance, so that the user's position included in at least one video frame after this video frame is located at the target position.

[0073] S606: Determine the distance between the user's position and the target position in the video frame vertically; according to the distance between the user's position and the target position in the video frame, and the corresponding relationship between the pixel distance and the adjustment angle in the video frame determined in advance, determine the target adjustment angle corresponding to the distance between the user's position and the target position in the video frame, and adjust the shooting angle of the image acquisition module 11 corresponding to the intelligent dressing mirror to the target adjustment angle, so that the user's position included in at least one video frame after this video frame is located at the target position.

[0074] To accurately determine the target position, based on the above embodiments, in the embodiments of the present application, the process of determining the target position may be as follows:

[0075] Determine the ratio between the distance of the target position from the video frame boundary and the video frame size in the preset direction; based on the ratio and the video frame size, determine the target position.

[0076] In a possible implementation manner, the preset direction may include at least one preset direction such as vertical and horizontal. Among them, whether it is a vertical or horizontal preset direction, the process (principle) of determining the target position in the video frame in the preset direction is similar. For ease of understanding, taking the example of determining the pixel value of the ordinate of the target position in the video frame vertically, the process of determining the target position in the video frame will be explained. Refer to Figure 4 For convenience of description, the target position is represented by A; the size (height) of the video frame in the ordinate direction (vertical direction) is represented by L'; the pixel value A of the ordinate of the target position A in the vertical direction yThe distance from the bottom boundary B of the video frame is denoted as a. First, the ratio between the distance of the target position from the boundary of the video frame in the vertical direction and the size of the video frame can be determined. Among them, the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame can be flexibly set according to requirements, and this application does not make specific limitations. Exemplarily, in the vertical direction, the ratio between the distance a of the target position from the boundary of the video frame and the size L' of the video frame can be 1 / 3. After determining the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame, the target position of the user in the video frame in the preset direction can be determined based on this ratio and the size of the video frame. Exemplarily, the pixel value of the ordinate of the bottom boundary of the video frame is denoted as b, and the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame in the vertical direction is denoted as c. Then, in the vertical direction, the pixel value of the ordinate of the target position can be b*c. Refer to Figure 4 , taking the size of the video frame in the vertical coordinate as 1920 pixels as an example, the pixel value of the ordinate of the bottom boundary B is 1920. When c is 1 / 3, the pixel value of the ordinate of the target position is 1920*1 / 3, that is, 1280.

[0077] In a possible implementation manner, in the horizontal direction, the ratio c' between the distance of the target position from the boundary of the video frame (the left boundary of the video frame) and the size (W') of the video frame can be 1 / 2. Refer to Figure 4 , taking the size of the video frame in the horizontal coordinate as 1080 pixels and c' as 1 / 2 as an example, the pixel value of the abscissa of the target position is 1080*1 / 2, that is, 540.

[0078] In a possible implementation manner, the controller 12 can determine the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame according to the ratio determined by the smart dressing mirror manufacturer, etc. Among them, when the smart dressing mirror manufacturer, etc. determine the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame, factors such as the height of the smart dressing mirror from the ground, the height of the seat surface of the seat corresponding to the smart dressing mirror from the ground, the height range in which most users' heights are concentrated, the field of view angle of the image acquisition device corresponding to the smart dressing mirror, the horizontal distance between the seat corresponding to the smart dressing mirror and the mirror surface of the smart dressing mirror, the areas of the user's face in the video frame where the user experience is better, and the position of the user in the mirror when the user is in front of the smart dressing mirror can be comprehensively considered to determine the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame.

[0079] In a possible implementation manner, when determining the ratio between the distance of the target position from the boundary of the video frame and the size of the video frame, the size of the field of view angle of the image acquisition module 11 can be determined first. The process of determining the field of view angle of the image acquisition module 11 can be as follows:

[0080] Refer to Figure 3 Figure 3 , the height of the desktop of the intelligent dressing mirror from the ground usually includes standard heights such as 700mm, 720mm, 740mm, etc., and the height of the seat surface of the seat corresponding to the intelligent dressing mirror from the ground usually includes standard heights such as 400mm, 420mm, 440mm, etc. For the convenience of understanding, taking the height of the seat surface of the seat corresponding to the intelligent dressing mirror from the ground as 400mm (for the convenience of description, called the 400mm seat), the height of the desktop of the intelligent dressing mirror from the ground as 700mm, the horizontal distance L between the seat corresponding to the intelligent dressing mirror and the mirror surface of the intelligent dressing mirror as 30cm, the height of the image acquisition device from the ground as H, and the field of view angle of the image acquisition device corresponding to the intelligent dressing mirror as β as an example, within the field of view angle range of the image acquisition device, the lowest height Hmin that can be captured = H - tan(β / 2) * L, and the highest height Hmax that can be captured = H + tan(β / 2) * L.

[0081] Considering that the heights of most users (such as female users, etc.) are concentrated between 155cm and 170cm, when a user with a height of 155cm sits on a 400mm seat, the height of the user's face from the ground is 105cm. When a user with a height of 170cm sits on a 400mm seat, the height of the user's face from the ground is 130cm. Therefore, Hmin can be no greater than (less than or equal to) 105cm, and Hmax can be no less than (greater than or equal to) 130cm. Based on this, combined with Hmin = H - tan(β / 2) * L and Hmax = H + tan(β / 2) * L, the field of view angle of the image acquisition device can be determined to be 80°.

[0082] In a possible implementation manner, after determining the field of view angle of the image acquisition device, intelligent dressing mirror manufacturers, etc. can determine the ratio between the distance of the target position from the video frame boundary and the video frame size based on factors such as which areas of the user's face in the video frame have better user experience and the position of the user in the mirror when the user is in front of the intelligent dressing mirror. Exemplarily, still taking the ratio of the distance a of the target position from the bottom boundary of the video frame to the video frame size L' in the vertical direction in the above embodiment as 1 / 3 as an example, the difference h between Hmin and Hmax can be determined first. When the distance between the target face position and Hmin is configured as 1 / 3h and the distance between the target face position and Hmax is configured as 2 / 3h, it can be considered that the user's position is more appropriate. Based on this, when determining the ratio between the distance of the target position from the video frame boundary and the video frame size, the ratio of the distance of the target position from the bottom boundary of the video frame to the video frame size (height) in the vertical direction can be determined as 1 / 3, and the ratio of the distance of the target position from the top boundary of the video frame to the video frame size (height) can be determined as 2 / 3. Exemplarily,Figure 7 The schematic diagram of the second intelligent dressing mirror provided by some embodiments is shown. As Figure 7 shown, on the left side of the figure (left and right as shown in the figure), the schematic diagram of the positional relationship between the user and the intelligent dressing mirror when the user is at different heights longitudinally is shown. On the right side of the figure (left and right as shown in the figure), the schematic diagram of the position of the user included in the video frame when the user is at different heights longitudinally corresponding to the left side of the figure is shown. Figure 8 The schematic diagram of the third intelligent dressing mirror provided by some embodiments is shown. Refer to Figure 7 and Figure 8 . Taking Hmin as 105 cm and Hmax as 130 cm as an example, the height of the target face position from the ground is 122 cm. Taking the vertical size of the video frame as 1920 pixels as an example, the pixel value of the ordinate of the target position is 1280.

[0083] For ease of understanding, the process of determining the correspondence between the pixel distance and the actual distance in the video frame will be illustrated by a specific embodiment below. Refer to Figure 8 . The actual distance between the target face position and Hmin is 17 cm. The pixel distance between the target position in the video frame and the bottom boundary of the video frame is 1920 - 1280 = 640 pixels. Then, it can be determined that the actual distance corresponding to the pixel distance of 640 pixels is 17 cm, and the correspondence between the pixel distance of 640 pixels and the actual distance of 17 cm can be saved.

[0084] For ease of understanding, the process of determining the correspondence between the pixel distance and the adjustment angle in the video frame will be illustrated by a specific embodiment below. Refer to Figure 9 . Figure 9 The schematic diagram of the fourth intelligent dressing mirror provided by some embodiments is shown. Suppose that longitudinally, the pixel distance between the target position in the video frame and the top boundary of the video frame is 1280 - 0 = 1280 pixels, the field of view angle of the image acquisition device is 80°, and the ratio of the distance between the target position and the top boundary to the size (height) of the video frame is 2 / 3. Then, it can be determined that the adjustment angle corresponding to the pixel distance of 1280 pixels is 80° * 2 / 3 = 53°, and the correspondence between the pixel distance of 1280 pixels and the adjustment angle of 53° can be saved.

[0085] Refer to Figure 9 . Suppose that the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame includes the correspondence between 1280 pixels and the adjustment angle of 53°. The distance between the position of the user (the pixel value y' of the ordinate of the position of the user) and the target position (the pixel value A of the ordinate of the target position A y ) in the video frame is A y-y', after adjusting the shooting angle of the image acquisition module 11 (the mirror angle of the intelligent dressing mirror) to the target adjustment angle ((A y -y') / 1280*53°), the position of the user can be adjusted to the target position.

[0086] Based on the same technical concept, the present application provides an intelligent dressing mirror adjustment method. Figure 10 FIG. shows a schematic diagram of the second intelligent dressing mirror adjustment process provided by some embodiments, as Figure 10 shown, this process includes the following steps:

[0087] S1001: Determine the position of the user included in the acquired video frame.

[0088] S1002: If the position is not located at a pre-determined target position, based on the position relationship between the position and the target position, adjust the parameter information of the intelligent dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position.

[0089] The intelligent dressing mirror adjustment method provided by the present application is applied to an electronic device, which may be, for example, a device such as a PC, a mobile terminal, or may also be a server, a home brain, an intelligent dressing mirror, etc.

[0090] In a possible implementation manner, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror.

[0091] In a possible implementation manner, the adjusting the parameter information of the intelligent dressing mirror based on the position relationship between the position and the target position includes:

[0092] Determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determine the target actual distance corresponding to the distance, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance.

[0093] In a possible implementation manner, before determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, the method further includes:

[0094] Judge whether the pixel value of the ordinate of the position is greater than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame.

[0095] In a possible implementation manner, the adjusting the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position includes:

[0096] Determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, determine the target adjustment angle corresponding to the distance, and adjust the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror to the target adjustment angle.

[0097] In a possible implementation manner, before determining the target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, the method further includes:

[0098] Judge whether the pixel value of the ordinate of the position is less than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame.

[0099] In a possible implementation manner, the process of pre-determining the target position includes:

[0100] Determine the ratio between the distance of the target position from the video frame boundary and the video frame size in the preset direction; based on the ratio and the video frame size, determine the target position.

[0101] Based on the same technical concept, the present application provides an intelligent dressing mirror adjustment device. Figure 11 The schematic diagram of an intelligent dressing mirror adjustment device provided by some embodiments is shown, as Figure 11 shown, the device includes:

[0102] A determination module 111, configured to determine the position of the user included in the acquired video frame;

[0103] An adjustment module 112, configured to, if the position does not locate at the pre-determined target position, adjust the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position, so that the position of the user included in at least one video frame after the video frame locates at the target position.

[0104] In a possible implementation manner, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror.

[0105] In a possible implementation, the adjustment module 112 is specifically configured to determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determine the target actual distance corresponding to the distance, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance.

[0106] In a possible implementation, the adjustment module 112 is further configured to, before determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determine whether the pixel value of the ordinate of the position is greater than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame.

[0107] In a possible implementation, the adjustment module 112 is specifically configured to determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, determine the target adjustment angle corresponding to the distance, and adjust the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror to the target adjustment angle.

[0108] In a possible implementation, the adjustment module 112 is further configured to, before determining the target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, determine whether the pixel value of the ordinate of the position is less than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame.

[0109] In a possible implementation, the adjustment module 112 is specifically configured to determine the ratio between the distance of the target position from the video frame boundary and the video frame size in a preset direction; based on the ratio and the video frame size, determine the target position.

[0110] Based on the same technical concept, the present application provides an electronic device, Figure 12 which shows a schematic structural diagram of an electronic device provided by some embodiments, as Figure 12 shown, including: a processor 121, a communication interface 122, a memory 123, and a communication bus 124, wherein the processor 121, the communication interface 122, and the memory 123 communicate with each other through the communication bus 124;

[0111] A computer program is stored in the memory 123. When the program is executed by the processor 121, the processor 121 is caused to execute the following steps:

[0112] Determine the position of the user included in the acquired video frame;

[0113] If the position is not located at a pre-determined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the intelligent dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position.

[0114] In a possible implementation manner, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror.

[0115] In a possible implementation manner, the processor 121 is specifically configured to determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determine the target actual distance corresponding to the distance, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance.

[0116] In a possible implementation manner, before the processor 121 is further configured to determine the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, it is determined whether the pixel value of the ordinate of the position is greater than the pixel value of the ordinate of the target position; if so, the subsequent step of determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame is performed.

[0117] In a possible implementation manner, the processor 121 is specifically configured to determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, determine the target adjustment angle corresponding to the distance, and adjust the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror to the target adjustment angle.

[0118] In a possible implementation, before the processor 121 is further configured to determine a target adjustment angle corresponding to the distance according to the distance and a pre-determined correspondence between a pixel distance and an adjustment angle in a video frame, it is further configured to determine whether a pixel value of the ordinate of the position is less than a pixel value of the ordinate of the target position; if so, perform subsequent steps of determining a target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame.

[0119] In a possible implementation, the processor 121 is specifically configured to determine a ratio between a distance from a target position to a video frame boundary in a preset direction and a video frame size; and determine the target position based on the ratio and the video frame size.

[0120] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.

[0121] The communication interface 122 is used for communication between the above electronic device and other devices.

[0122] The memory may include a Random Access Memory (RAM), and may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0123] The above processor may be a general-purpose processor, including a central processing unit, a Network Processor (NP), etc.; it may also be a Digital Signal Processing (DSP), an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0124] Based on the same technical concept, the present application further provides a computer-readable storage medium, in which a computer program executable by an electronic device is stored. When the program runs on the electronic device, the electronic device is caused to perform the following steps when executed:

[0125] Determine the position of the user included in the acquired video frame.

[0126] If the position is not located at a pre-determined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the intelligent dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position.

[0127] In a possible implementation manner, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror.

[0128] In a possible implementation manner, the adjusting the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position includes:

[0129] Determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determine the target actual distance corresponding to the distance, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance.

[0130] In a possible implementation manner, before determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, the method further includes:

[0131] Judge whether the pixel value of the ordinate of the position is greater than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target actual distance corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame.

[0132] In a possible implementation manner, the adjusting the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position includes:

[0133] Determine the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, determine the target adjustment angle corresponding to the distance, and adjust the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror to the target adjustment angle.

[0134] In a possible implementation manner, before determining the target adjustment angle corresponding to the distance according to the distance and the pre-determined correspondence between the pixel distance and the adjustment angle in the video frame, the method further includes:

[0135] Determine whether the pixel value of the vertical coordinate at the said position is less than the pixel value of the vertical coordinate at the target position; if so, perform the subsequent step of determining the target adjustment angle corresponding to the said distance according to the said distance and the corresponding relationship between the pixel distance and the adjustment angle determined in advance in the video frame.

[0136] In a possible implementation manner, the process of pre-determining the target position includes:

[0137] Determine the ratio between the distance from the target position to the video frame boundary and the video frame size in the said preset direction; based on the said ratio and the video frame size, determine the target position.

[0138] The above computer-readable storage medium can be any available medium or data storage device accessible by the processor in the electronic device, including but not limited to magnetic memories such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical memories such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memories such as ROMs, EPROMs, EEPROMs, non-volatile memories (NANDFLASH), solid-state drives (SSD), etc.

[0139] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0140] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0141] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the controllers of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to produce a machine, such that the instructions executed by the controllers of the computer or other programmable data processing devices produce means for implementing the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0142] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0144] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these changes and modifications.

Claims

1. An intelligent dressing mirror, characterized in that, the intelligent dressing mirror includes: an image acquisition module and a controller; the image acquisition module is used to acquire video frames and send the video frames to the controller; the controller is used to perform: determine the position of the user included in the video frame; if the position is not located at a predetermined target position, based on the positional relationship between the position and the target position, adjust the parameter information of the intelligent dressing mirror so that the position of the user included in at least one video frame after the video frame is located at the target position; wherein, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror; wherein, the controller is used to perform: determine the distance between the position and the target position in the video frame; according to the distance and the corresponding relationship between the pixel distance and the actual distance in the predetermined video frame, determine the target actual distance corresponding to the distance, and adjust the height of the seat corresponding to the intelligent dressing mirror to the target actual distance; wherein, the controller is used to perform: judge whether the position is below the target position; if so, perform the step of determining the target actual distance corresponding to the distance between the position and the target position in the video frame according to the distance and the corresponding relationship between the pixel distance and the actual distance in the predetermined video frame; if not, adjust the shooting angle of the image acquisition module to adjust the position to the target position.

2. The dressing mirror according to claim 1, characterized in that, the controller is used to perform: judge whether the pixel value of the ordinate of the position is greater than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target actual distance corresponding to the distance according to the distance and the corresponding relationship between the pixel distance and the actual distance in the predetermined video frame.

3. The dressing mirror according to claim 1, characterized in that, the controller is used to perform: determine the distance between the position and the target position in the video frame; according to the distance and the corresponding relationship between the pixel distance and the adjustment angle in the predetermined video frame, determine the target adjustment angle corresponding to the distance, and adjust the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror to the target adjustment angle.

4. The dressing mirror according to claim 3, characterized in that, the controller is used to perform: judge whether the pixel value of the ordinate of the position is less than the pixel value of the ordinate of the target position; if so, perform the subsequent step of determining the target adjustment angle corresponding to the distance according to the distance and the corresponding relationship between the pixel distance and the adjustment angle in the predetermined video frame.

5. The dressing mirror according to claim 1, characterized in that, the controller is used to perform: determine the ratio of the distance between the target position and the video frame boundary to the video frame size in a preset direction; based on the ratio and the video frame size, determine the target position.

6. An intelligent dressing mirror adjustment method, characterized in that, The method includes: Determining the position of the user included in the acquired video frame; If the position is not located at a pre-determined target position, adjusting the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position, so that the position of the user included in at least one video frame after the video frame is located at the target position; wherein, the parameter information of the intelligent dressing mirror includes at least one of the shooting angle of the image acquisition module corresponding to the intelligent dressing mirror and the height of the seat corresponding to the intelligent dressing mirror; Wherein, the adjusting the parameter information of the intelligent dressing mirror based on the positional relationship between the position and the target position includes: Determining the distance between the position and the target position in the video frame; according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, determining the target actual distance corresponding to the distance, and adjusting the height of the seat corresponding to the intelligent dressing mirror to the target actual distance; Before determining the target actual distance corresponding to the distance between the position and the target position in the video frame according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame, the method further includes: Judging whether the position is below the target position; If so, performing the step of determining the target actual distance corresponding to the distance between the position of the user and the target position in the video frame according to the distance and the pre-determined correspondence between the pixel distance and the actual distance in the video frame; If not, adjusting the shooting angle of the image acquisition module to adjust the position to the target position.

7. An electronic device, Characterized in that The electronic device at least includes a processor and a memory, and the processor is used to implement the steps of the method for adjusting an intelligent dressing mirror as described in claim 6 when executing the computer program stored in the memory.

8. A computer-readable storage medium, Characterized in that It stores a computer program, and when the computer program is executed by a processor, it implements the steps of the method for adjusting an intelligent dressing mirror as described in claim 6.

Citation Information

Patent Citations

  • Mirror surface adjustment control system and method

    CN112819887A

  • Adjustable unit e.g. seat, position adjusting system for motor vehicle, has measuring unit measuring position of users eyes with respect to body shell, and electronic control unit controlling seat position based on measured position

    FR2860759A1