Laptop screen posture dynamic adjustment method and system
A method and system for calculating the rotation angle of a laptop screen by collecting facial feature information in real time solves the problem of low efficiency in automatic laptop screen rotation, achieving automation and eye protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TAIYUAN UNIVERSITY OF TECHNOLOGY
- Filing Date
- 2025-07-04
- Publication Date
- 2026-05-26
Smart Images

Figure CN120949924B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of device screen angle adjustment technology, specifically relating to a method and system for dynamically adjusting the posture of a laptop screen. Background Technology
[0002] The angle of a computer screen has a significant impact on a user's eyesight and posture. If the computer screen angle is not suitable, it can lead to weakened eyesight and improper posture. Long-term improper posture can cause problems with the lumbar spine, cervical spine, and other areas.
[0003] Currently, the rotation function of computer screens is mostly achieved by mechanical brackets mounted on the computer. Although this enables the computer screen to rotate, manually rotating the computer screen is inefficient. In addition, since laptops already have a screen hinge, installing a mechanical bracket on a laptop would render the screen hinge meaningless.
[0004] Current computer screen automatic rotation designs mostly focus on the external stand of the computer screen, lacking a screen control strategy that can automatically rotate according to the user's sitting posture. Summary of the Invention
[0005] In order to solve at least one of the above-mentioned technical problems in the prior art, the present invention provides a method and system for dynamically adjusting the posture of a laptop screen.
[0006] This invention is achieved using the following technical solution: a method for dynamically adjusting the posture of a laptop screen, comprising the following steps:
[0007] Real-time acquisition of facial feature information of users in front of the screen;
[0008] Based on the position parameters of the feature extraction points in the facial feature information, the user's current facial rotation angle is determined;
[0009] The optimal angle range of the laptop screen is obtained based on the facial rotation angle and the preset optimal vertical field of view for the user; the optimal angle range is: (90°+θ0-β, 90°+θ0+β); where θ0 is the current facial rotation angle of the user, and β is 1 / 2 of the preset optimal vertical field of view for the user.
[0010] The laptop screen angle is adjusted based on the optimal angle range.
[0011] Preferably, before collecting the facial feature information of the user in front of the screen in real time, the method further includes:
[0012] Set the initial screen angle of the laptop to 90°.
[0013] Collect initial facial feature information of the user in front of the screen; the initial facial feature information includes the feature extraction points of the left and right corners of the eyes and the feature extraction points of the left and right corners of the lips when the face is vertical;
[0014] Collect facial feature information of the user's face after it has been rotated in front of the screen; the facial feature information includes the left and right corners of the eyes, the left and right corners of the lips, the center of the eyebrows, and the chin after the face has been rotated.
[0015] Based on the imaging principle of the camera, an expression is constructed for the ratio of the image length of the horizontal or vertical line segment formed by the feature extraction points in the initial facial feature information and the rotated facial feature information to the actual length of the line segment with respect to the camera parameters of the laptop screen and the actual spatial distance between the line segment and the screen.
[0016] Based on the concept of integral calculus, the tilted face plane in the side view can be regarded as countless tiny vertical line segments, and the center of the eyebrows and the chin are selected as feature focus points. Based on the expression of the ratio of the image length to the actual length of the horizontal and vertical line segments, an expression is established for the image distance of the tiny elements projected on the screen with respect to the user's current facial rotation angle, and the calculation formula for the user's current facial rotation angle is obtained by inverse solving.
[0017] Preferably, the step of determining the user's current facial rotation angle using a calculation formula includes:
[0018] Based on the real-time acquisition of facial feature information of the user in front of the screen, the image distance between the left and right corner feature extraction points and the image distance between the left and right corner feature extraction points when the face is vertical is obtained as a first ratio; at the same time, the ratio between the image distance between the left and right corner feature extraction points and the image distance between the left and right corner feature extraction points after the face is rotated is obtained as a second ratio, and the image distance between the eyebrow feature extraction point and the chin feature extraction point is obtained.
[0019] Substitute the first ratio, the second ratio, the image distance between the brow feature extraction point and the chin feature extraction point after face rotation, and the relevant parameters of the camera into the corresponding calculation formula to obtain the user's current facial rotation angle.
[0020] Preferably, before collecting the facial feature information of the user in front of the screen in real time, the method further includes:
[0021] Based on the parameters of the laptop screen camera, obtain the angle value of half of the camera's field of view;
[0022] Collect initial facial feature information of the user in front of the screen; the initial facial feature information includes the feature extraction points of the left and right corners of the eyes, the feature extraction points of the left and right nostrils, the feature extraction point of the center of the eyebrows, and the feature extraction point of the chin when the face is vertical;
[0023] Establish a Cartesian coordinate system with the center of face rotation as the origin, the x-axis as the origin and the line containing the actual point of the chin feature when the face is vertical, and the y-axis pointing vertically upward;
[0024] In the Cartesian coordinate system, the coordinates of the actual point of the brow feature when the face is vertical are selected, and the coordinates of the actual point of the brow feature when the face is vertical are represented by the angle between the actual point of the brow feature, the origin and the actual point of the chin feature when the face is vertical, and the distance between the actual point of the brow feature and the actual point of the chin feature when the face is vertical.
[0025] At the same time, the slope of the straight line containing the laptop screen is represented by the angle of the laptop screen.
[0026] Preferably, the step of determining the user's current facial rotation angle through geometric relationships in a Cartesian coordinate system and the camera imaging principle includes:
[0027] Collect the current rotated facial feature information of the user in front of the screen; the rotated facial feature information includes the feature extraction points of the left and right corners of the eyes, the feature extraction points of the left and right nostrils, and the feature extraction point of the center of the eyebrows after the face is rotated.
[0028] Continue to select the coordinates of the actual point of the brow feature after the face is rotated, and express the coordinates of the actual point of the brow feature after the face is rotated by the angle between the actual point of the brow feature after the face is rotated, the origin and the actual point of the chin feature when the face is vertical, as well as the distance between the actual point of the brow feature and the actual point of the chin feature when the face is vertical.
[0029] The projection distance is calculated on the screen based on the projection formula, which calculates the actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature after the face is rotated, thus obtaining the first expression for the projection distance.
[0030] Based on the imaging principle of the camera, the distance between the actual points of the left and right corner features of the face when it is vertical is obtained;
[0031] Based on the principle of similar triangles, the distance between the actual points of the left and right corner features when the face is vertical, the image distance between the left and right corner feature extraction points when the face is vertical, and the image distance between the left and right corner feature extraction points after the face is rotated, the distance from the actual point of the center of the eyebrows to the screen when the face is vertical and the distance from the actual point of the center of the eyebrows to the screen after the face is rotated are obtained.
[0032] Based on the geometric relationships in the Cartesian coordinate system, the actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature on the screen after the face is rotated are calculated to obtain the second expression of the projection distance.
[0033] By combining the first expression and the second expression, the user's current facial rotation angle can be obtained.
[0034] A second aspect of the present invention provides a dynamic adjustment system for laptop screen posture, comprising a camera, a motherboard, a screen, a screen hinge assembly, a driver, a power supply assembly, an upper housing, and a lower housing; the camera is used to collect facial feature information of a user in front of the screen and transmit the facial feature information to the motherboard, the motherboard parses the facial feature information and calculates the required rotation direction and angle of the screen, the motherboard transmits the screen rotation control command to the driver, and the driver controls the screen hinge assembly to rotate the screen to an optimal angle range based on the control command; the power supply assembly includes a battery pack or an external power charging port to provide power to the dynamic adjustment system for laptop screen posture.
[0035] Preferably, the screen hinge assembly includes a screen hinge, a fastening nut, and a friction plate. The screen's flipping torque is achieved by adjusting the tightness between the fastening nut and the friction plate on the screen hinge. The portion of the screen hinge located outside the lower housing is fixedly connected to the upper housing. The screen hinge is rotatably connected to the hinge seat of the lower housing and is keyed to the drive shaft of the driver. The driver is built into a mounting bracket inside the lower housing cavity. The friction plate is movably sleeved on the screen hinge and can be tightened by the fastening nut threaded onto the screen hinge.
[0036] Preferably, a fingerprint power button is integrated on the back of the upper casing. The fingerprint power button is used to collect the user's fingerprint information and transmit the fingerprint information to the motherboard. The motherboard verifies the user's fingerprint information and controls the screen to turn on or remain off based on the verification result. A power button is provided on the front of the lower casing, and a physical mechanical switch is integrated on the side of the lower casing to enable and disable the dynamic adjustment function of the laptop screen posture.
[0037] Compared with the prior art, the beneficial effects of the present invention are:
[0038] The automatic screen rotation function implemented in this invention is reliable and features a simple and complete overall structure. It enables the laptop screen to face the user's face and eyes in real time, which can correct the user's posture, protect the user's eyesight, and improve the automation level of the laptop. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a flowchart of the overall method of the present invention;
[0041] Figure 2 This is a schematic diagram illustrating the analysis of the face in Example 1 when it is vertical and after rotation;
[0042] Figure 3 This is a schematic diagram of the feature extraction points of the face when it is vertical and after rotation in Example 1;
[0043] Figure 4 This is a first analytical schematic diagram of the face in Example 2 when it is vertical and after rotation;
[0044] Figure 5 This is a second analytical schematic diagram of the face in Example 2, showing the face in vertical position and after rotation;
[0045] Figure 6 This is a third analytical diagram of the face in Example 2, showing the face in vertical position and after rotation;
[0046] Figure 7 This is a schematic diagram of the feature extraction points of the face when it is vertical and after rotation in Example 2;
[0047] Figure 8 This is a first analytical schematic diagram of the origin shifting when the face rotates in Example 3;
[0048] Figure 9 This is a first analytical schematic diagram of the face in Example 3 when it is vertical and after rotation;
[0049] Figure 10 This is a second analytical schematic diagram of the face in Example 3, showing the face in vertical position and after rotation;
[0050] Figure 11 These are schematic diagrams of the face in Example 3 when it is vertical and after rotation;
[0051] Figure 12 This is a second analytical schematic diagram showing the offset of the origin as the face rotates in Example 3;
[0052] Figure 13 This is a diagram illustrating the optimal angle range when looking down;
[0053] Figure 14 This is a schematic diagram illustrating the first analysis of the optimal angle range when looking down.
[0054] Figure 15 This is a second analytical diagram illustrating the optimal angle range when looking down;
[0055] Figure 16 This is the first analytical diagram illustrating the optimal angle range when looking up;
[0056] Figure 17 This is a second analytical diagram illustrating the optimal angle range when looking up;
[0057] Figure 18This is a schematic diagram of the front structure of the notebook of the present invention;
[0058] Figure 19 This is a schematic diagram of the back structure of the notebook of the present invention;
[0059] Figure 20 This is a schematic diagram of the side structure of the notebook computer according to the present invention;
[0060] Figure 21 This is a schematic diagram of the internal structure of the notebook computer according to the present invention;
[0061] Figure 22 This is an exploded view of the screen hinge assembly of the present invention.
[0062] In the diagram: 1-Camera; 2-Motherboard; 3-Screen; 4-Screen hinge assembly; 4.1-Screen hinge; 4.2-Fasting nut; 4.3-Friction pad; 5-Driver; 6-Fingerprint power button; 7-Power button; 8-Physical mechanical switch; 9-Battery pack; 10-External power charging port. Detailed Implementation
[0063] The technical solutions of the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0064] It should be noted that the structures, proportions, sizes, etc., shown in the accompanying drawings of this specification are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed in the specification, and are not intended to limit the conditions under which the present invention can be implemented. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in the proportional relationships, or adjustments to the size, without affecting the effects and objectives that the present invention can produce, should fall within the scope of the technical content disclosed in the present invention. It should be noted that in this specification, relational terms such as "first" and "second" are only used to distinguish one entity from several other entities, and do not necessarily require or imply any actual relationship or order between these entities.
[0065] like Figures 1 to 22 As shown, the present invention provides a method and system for dynamically adjusting the posture of a laptop screen.
[0066] Example 1:
[0067] A method for dynamically adjusting the posture of a laptop screen includes the following steps:
[0068] The system collects facial feature information of the user in front of the screen in real time; determines the user's current facial rotation angle based on the position parameters of the feature extraction points in the facial feature information; obtains the optimal angle range of the laptop screen based on the facial rotation angle and the preset optimal vertical field of view of the user; the optimal angle range is: (90°+θ0-β, 90°+θ0+β); where θ0 is the facial rotation angle and β is 1 / 2 of the preset optimal vertical field of view of the user; and controls the laptop screen to adjust its angle based on the optimal angle range.
[0069] In Example 1, before collecting the facial feature information of the user in front of the screen in real time, the following steps are also included:
[0070] The laptop screen is initially tilted at 90° using a motor drive.
[0071] Collect initial facial feature information of the user in front of the screen; the initial facial feature information includes the left and right eye corner feature extraction points A1 and A2, and the left and right lip corner feature extraction points C1 and C2 when the face is vertical;
[0072] Collect facial rotation feature information of the user's face after it has been rotated in front of the screen; the facial rotation feature information includes the feature extraction points of the left and right corners of the eyes after the face has been rotated. Left and right lip corner feature extraction points Feature extraction point D between the eyebrows * and chin feature extraction point F * ;
[0073] First, consider the case where the face is tilted downwards. The origin O' of the l-axis is the intersection of the straight line containing the tilted face plane and the straight line containing the vertical laptop screen. The positive direction of the l-axis is along the face plane towards the chin. The l-axis is the axis of the tilted face plane in the side view. The actual point of the brow feature after the face is rotated is... Coordinates l1 represent the actual points of the chin feature after the face has been rotated. The coordinates are marked l2, with the horizontal direction pointing towards the face as the positive direction of the m-axis, which is the horizontal axis perpendicular to the laptop screen in the side view; when the face is vertical, the facial rotation angle θ0 is defined as 0°; when the head is down, the facial rotation angle θ0 takes a positive value, and when the head is up, the facial rotation angle θ0 takes a negative value.
[0074] The following formula is obtained:
[0075] dm=sinθ0dl
[0076] Based on the imaging principle of the camera, an expression is constructed to represent the ratio of the image length of the horizontal or vertical line segment formed by the facial feature extraction points to the actual length, with respect to camera parameters and the actual spatial distance between the line segment and the screen. Specifically:
[0077]
[0078] in,
[0079] In the formula, k x k is the ratio of the image length to the actual length of the horizontal line segment. y is the ratio of the image length to the actual length of the vertical line segment, f is the focal length of the laptop screen camera, m is the distance from the corresponding line segment to the screen, w is the width of the camera sensor, and s is the focal length of the vertical line segment. w h is the horizontal resolution of the image, h is the height of the camera sensor, and s is the horizontal resolution of the image. h The vertical resolution of the image;
[0080] Given that the coordinates of the corner of the eye and the center of the eyebrows are similar in reality, and the coordinates of the corner of the lips and the chin are similar, and the common deflection angle is also small, the distance from the corner of the eye to the computer screen is roughly estimated to be the distance from the center of the eyebrows to it, denoted as m1, and the distance from the corner of the lips to the computer screen is roughly estimated to be the distance from the chin to it, denoted as m2, with a small error.
[0081] Based on the ratio of the line segment image length to the actual length, let:
[0082]
[0083] At the same time, it is recorded as:
[0084]
[0085] In the formula, The image distance between the feature points of the left and right corners of the eyes after face rotation. The image distance between the feature points of the left and right corners of the lip after face rotation. The distance between the actual points of the left and right corner features of the face. The distance between the actual points of the left and right corner features of the face. Image distance between the feature extraction points of the left and right corners of the eyes when the face is vertical. is the image distance between the feature extraction points of the left and right corners of the face when the face is vertical; k0 is the ratio of the corresponding image length of the horizontal line segment to the actual length when the face is vertical. k0 can be eliminated in the subsequent reasoning process and is irrelevant to the subsequent reasoning process.
[0086] Based on the concept of integration, the tilted face plane can be considered as countless tiny vertical line segments, with the center of the eyebrows and chin selected as feature focus points. Based on the expression for the ratio of the image length to the actual length of the horizontal and vertical line segments, an expression is established for the length of the image projection of the tiny elements on the screen with respect to the user's current facial rotation angle, specifically:
[0087]
[0088] In the formula, Extraction point D of the glabella after face rotation * With chin feature extraction point F * Image distance.
[0089] Therefore, the formula for calculating the facial rotation angle when a person tilts their head down, obtained by inverse kinematics, is:
[0090]
[0091] Similarly, considering the case where the face tilts upwards, the formula for calculating the facial rotation angle corresponding to the tilting of the face is as follows:
[0092]
[0093] When the face remains vertical The calculation formula is satisfied.
[0094] In summary, the formula for calculating the facial rotation angle is:
[0095]
[0096] The steps to determine the user's current facial rotation angle include:
[0097] Based on the real-time acquisition of facial feature information of the user in front of the screen, the image distance of the left and right eye corner feature extraction points when the face is vertical is obtained. Image distance to the left and right lip corner feature extraction points when the face is vertical As the first ratio, the first ratio is expressed as: Obtain the image distance of the feature extraction points at the left and right corners of the face after rotation. Image distance to the left and right lip corner feature extraction points after face rotation The ratio of , as the second ratio, is expressed as:
[0098] The first ratio, the second ratio, and the brow feature point D after face rotation are extracted. * With chin feature extraction point F * The image distance and relevant camera parameters are substituted into the formula for calculating the facial rotation angle to obtain the user's current facial rotation angle.
[0099] Example 2:
[0100] The difference between Example 2 and Example 1 is as follows:
[0101] Before collecting facial feature information of users in front of the screen in real time, the following is also included:
[0102] Based on the parameters of the laptop screen camera, obtain the angle value θ, which is half of the camera's field of view; the camera parameters include the height h of the camera sensor and the focal length f of the laptop screen camera, obtained by the formula: Obtain the angle value θ, which is half of the camera's field of view;
[0103] Collect the initial facial feature information of the user in front of the screen; the initial facial feature information includes the left and right corner eye feature extraction points A1 and A2 when the face is vertical, the left and right nasal wing feature extraction points B1 and B2, the eyebrow center feature extraction point D and the chin feature extraction point F;
[0104] A Cartesian coordinate system is established with the face rotation center O as the origin, the x-axis as the line where the origin O and the actual chin feature point F0 when the face is vertical, and the y-axis pointing vertically upward.
[0105] In the Cartesian coordinate system, the coordinates of the actual point D0 of the brow feature when the face is vertical are selected, and the coordinates of the actual point D0 of the brow feature when the face is vertical are represented by the angle θ1 of the line connecting the actual point D0 of the brow feature, the origin and the actual point D0 of the chin feature when the face is vertical, and the distance between the actual point D0 of the brow feature and the actual point D0 of the chin feature when the face is vertical; at the same time, the slope k of the straight line where the laptop screen is located is represented by the angle α of the laptop screen.
[0106] Specifically, based on the imaging principle of the camera, we get:
[0107]
[0108] in:
[0109] In the formula, The distance between the actual points of the glabella and chin when the face is vertical; k y0 To set the scaling factor of the camera relative to the vertical line segment at a given distance, m0 can be eliminated in subsequent reasoning processes and is irrelevant to the subsequent reasoning processes; To define the image distance between the actual points of the brow and chin features when the face is vertical;
[0110] According to the geometric relationships in a Cartesian coordinate system, we know that: θ1 = tan -1 k1, θ2 = θ1 + θ0; where k1 is the ratio of the distance between the actual point of the brow feature and the actual point of the chin feature when the face is vertical to the distance from the actual point of the chin feature to the center of face rotation when the face is vertical; θ2 is the line connecting the actual point of the brow feature, the origin, and the actual point of the chin feature when the face is vertical after rotation. The included angle; θ0 is the facial rotation angle;
[0111] The coordinates of the actual point D0 of the brow feature when the face is vertical can be represented as: (rcosθ1, rsinθ1), which can be simply written as: D0(x1, y1);
[0112] in,
[0113] The steps for real-time acquisition of the user's current facial rotation feature information in front of the screen, and determination of the user's current facial rotation angle through geometric relationships in a Cartesian coordinate system and camera imaging principles, include:
[0114] Collect the user's current facial rotation feature information in front of the screen; the facial rotation feature information includes the feature extraction points of the left and right corners of the eyes after the face is rotated. Left and right nasal alar feature extraction points and the feature extraction point D between the eyebrows * ;
[0115] Continue selecting the actual points of the brow feature after the face is rotated. The coordinates, and the actual points of the brow feature after the face is rotated. The coordinates are the line connecting the actual point of the brow feature after the face is rotated, the origin, and the actual point of the chin feature when the face is vertical. The angle θ2 and the distance between the actual points of the brow feature and the chin feature when the face is vertical are represented;
[0116] Actual point of the brow after the face is rotated The coordinates can be represented as: (rcosθ2, rsinθ2), and it is recommended to write it as: (x2, y2).
[0117] Assume the line containing the laptop screen is: y = kx + n; from the diagram, we know that k = -tanα; α is the angle between the laptop screen and the horizontal plane; n is a constant, which is irrelevant to the subsequent reasoning process and can be eliminated during the reasoning.
[0118] The coordinates of the projection point D on the laptop screen of the actual point D0 of the brow feature when the face is vertical (i.e., the brow feature extraction point D when the face is vertical) can be represented as: D(x'1, y'1);
[0119] Actual point of the brow after the face is rotated Projection point D on the laptop screen * (i.e., the feature extraction point D between the eyebrows after the face is rotated) * The coordinates of ) can be represented as: D * (x'2, y'2);
[0120] The projection distance between the actual point of the brow feature when the face is vertical and the actual point of the brow feature after the face is rotated on the screen is calculated according to the projection formula, and the first expression of the projection distance is obtained, which is as follows:
[0121] From the projection formula, we get:
[0122]
[0123] but:
[0124]
[0125] In the formula, The actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature on the screen after the face is rotated;
[0126] According to the sum-to-product formula for trigonometric functions, we get:
[0127]
[0128] In addition, it can be expressed in another way. Specifically as follows:
[0129] Given that the coordinates of the center of the eyebrows and the corners of the eyes are similar in reality, and their common deflection angle is also small, the distance from the center of the eyebrows to the laptop screen can be roughly estimated as the distance from the corners of the eyes to the laptop screen, with a small error.
[0130] Based on the imaging principle of the camera, the distance between the actual points of the left and right corner features of the face when it is vertical is obtained;
[0131]
[0132] in,
[0133] In the formula, The distance between the actual points of the left and right corner features of the human face when it is vertical; k x0 To set the scaling factor of the camera relative to the horizontal line segment at a given distance; To set the image distance between the actual feature points of the left and right corners of the human face when the face is vertical.
[0134] Based on the principle of similar triangles, we can conclude that:
[0135]
[0136] In the formula, The actual distance from the center of the eyebrows (the area between the eyebrows) to the screen when the face is held vertically. The actual distance from the center of the forehead feature after the face is rotated to the screen; The image distance between the feature extraction points of the left and right corners of the human face when the face is vertical.
[0137] Based on the geometric relationships in the Cartesian coordinate system, the actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature on the screen after the face is rotated are calculated to obtain the second expression of the projection distance.
[0138] Specifically, it is expressed as follows:
[0139]
[0140] In the formula, a1 is the distance from the actual point of the brow feature when the face is vertical to the bottom of the screen; b1 is the distance from the actual point of the brow feature when the face is vertical to the center line of the screen; c1 is the distance from the actual point of the brow feature after the face is rotated to the bottom of the screen; and d1 is the distance from the actual point of the brow feature after the face is rotated to the center line of the screen.
[0141] By combining the first and second expressions of the projection distance, m0 is eliminated, and the user's current facial rotation angle is obtained.
[0142] Example 3:
[0143] The difference between Example 3 and Examples 1 and 2 is that Example 3 considers the offset of the face rotation center O during face rotation.
[0144] Establish a Cartesian coordinate system after the face rotation center O is offset; in the coordinate system, the first coordinate axis is Δx||l0, where l0 is the straight line containing the laptop screen plane; the second coordinate axis is Δy⊥l0; O1 is the new coordinate origin; After offset line segment x-axis, line segment W1O1||x-axis; for Compared to The offset in the Δx direction;
[0145] We obtain this through geometric relationships:
[0146]
[0147] In the formula, for The actual distance between them; This represents the actual distance between O1 and W1.
[0148] Therefore, the coordinates of the new origin can be expressed as:
[0149]
[0150] Then, the actual distance of the brow feature point when the face is vertical and the actual distance of the brow feature point after the face is rotated on the screen. Represented as:
[0151]
[0152] Right now:
[0153]
[0154] Similarly, a new Cartesian coordinate system can be established: where E0 is the actual point of the nose tip feature when the face is vertical; The actual point of the nose tip feature after the face is rotated; After offset E is the nose tip feature extraction point when the face is vertical; E * A1 is the nose tip feature extraction point after face rotation; B2 is the distance from the actual nose tip feature point to the bottom of the screen when the face is vertical; C2 is the distance from the actual nose tip feature point to the screen center line when the face is vertical; D2 is the distance from the actual nose tip feature point to the screen center line when the face is vertical; O2 is the latest coordinate origin. for Compared to offset in the Δx direction line segment x-axis, line segment W2O2||x-axis.
[0155] set up: k1 and k2 depend on the specific circumstances. The distance between the actual points of the tip of the nose and the actual points of the chin when the face is vertical. It is the distance between the face rotation center O and the actual point of the chin feature.
[0156] Given that the coordinates of the tip of the nose and the nostrils are similar in reality, and their common deflection angle is also small, the distance from the tip of the nose to the laptop screen can be roughly estimated as the distance from the nostrils to it, with a small error.
[0157] Then, the actual distance of the nose tip feature point when the face is vertical and the actual distance of the nose tip feature point projected on the screen after the face is rotated. Represented as:
[0158]
[0159] Right now:
[0160]
[0161] By combining equations (3) and (4), k0 is eliminated, and θ0 is obtained, thus determining the user's current facial rotation angle.
[0162] The steps for obtaining the optimal angle range of the laptop screen based on the facial rotation angle and the preset optimal vertical field of view for the user include:
[0163] A right trapezoid is constructed based on the user's current facial rotation angle and the angle between the laptop screen and the horizontal plane.
[0164] Based on geometric relationships and half the value of the user's optimal vertical field of view, the following inequality is obtained:
[0165] 360°-90°-(90°-θ0)-α<90°+β
[0166] 360°-90°-(90°-θ0)-α>90°-β
[0167] Simplifying, we get:
[0168] 90°+θ0-β<α<90°+θ0+β
[0169] In summary, the value of α ranges from (90°+θ0-β, 90°+θ0+β), meaning the angle between the laptop screen and the horizontal plane should always remain within (90°+θ0-β, 90°+θ0+β). This calculation takes into account both the user's actual posture and optimal viewing angle requirements, ensuring the screen is at the most suitable viewing angle.
[0170] Example 4: In a second aspect, the present invention also provides a dynamic adjustment system for laptop screen posture, including a camera 1, a motherboard 2, a screen 3, a screen hinge assembly 4, a driver 5, a power supply assembly, an upper housing, and a lower housing; the camera 1 and the screen 3 are integrated on the front of the upper housing, the motherboard 2, the driver 5, and the power supply assembly are integrated in the lower housing, and the screen hinge assembly 4 is connected between the upper housing and the lower housing to achieve adjustment of the angle between the upper housing and the lower housing; the camera 1 is used to collect facial feature information of the user in front of the screen and transmit the facial feature information to the motherboard 2, the motherboard 2 analyzes the facial feature information and calculates the direction and angle of rotation required for the screen 3, the motherboard 2 transmits the screen rotation control command to the driver 5, and the driver 5 controls the screen hinge assembly 4 to move based on the control command so that the screen 3 rotates to the optimal angle range; the power supply assembly includes a battery pack 9 or an external power charging port 10 to provide power for the dynamic adjustment system for laptop screen posture. The back of the upper casing integrates a fingerprint power button 6, which is used to collect the user's fingerprint information and transmit the fingerprint information to the motherboard 2. The motherboard 2 verifies the user's fingerprint information and controls the screen 3 to turn on or remain off based on the verification result. The front of the lower casing has a power button 7, and the side of the lower casing also integrates a physical mechanical switch 8 for turning the dynamic adjustment function of the laptop screen posture on and off.
[0171] The rotational torque of screen 3 is between 0.2 N·m and 0.8 N·m. Driver 5 includes a motor and a reducer. The rotational speed of the shaft on the reducer is between 4 r / min and 20 r / min. The user can set the motor's output speed within the system to control the rotational speed of screen 3. If screen 3 encounters an obstacle during automatic rotation and the rotational torque exceeds the torque threshold, the torque sensor transmits an excessive torque signal to motherboard 2. The motherboard chip in motherboard 2 activates the circuit protection system, which interrupts power supply to driver 5, disables the laptop screen posture dynamic adjustment system, and sends a message to the user that the laptop screen posture dynamic adjustment system has been disabled due to an obstacle encountered during screen rotation. The rotational torque threshold for activating the circuit protection system is set to 0.8 N·m.
[0172] When the screen is completely off, the rotation angle is defined as 0 degrees. When the screen is completely on, the rotation angle is 180 degrees. Users can customize the startup rotation angle of the screen in the system according to their own needs. The initial default value of the startup rotation angle of the screen is 120 degrees.
[0173] In this embodiment, the user can choose two ways to power on the laptop in the system: the first way is to unlock the laptop system first, and then the screen 3 will automatically rotate and open; the second way is to automatically rotate and open the screen 3 first, and then unlock the laptop system.
[0174] If the user sets the first power-on method, with the screen 3 closed, the user can press the fingerprint power button 6. At this time, the battery pack 9 or external power supply starts to power the laptop. The user touches the fingerprint power button 6 again, and the capacitive fingerprint recognition module inside the fingerprint power button 6 collects the user's fingerprint information and transmits it to the processor of the motherboard 2 for verification and matching. If the matching is successful, the motherboard 2 controls the driver 5 to drive the screen 3 to rotate and open automatically, thus completing the system command for the screen 3 to rotate and open automatically after the laptop system is unlocked.
[0175] If the user sets the second power-on method, with screen 3 closed, the user presses the fingerprint power button 6, and screen 3 automatically rotates open. After screen 3 is open, the user can choose to unlock the computer system in different ways, such as: unlocking the system by entering a password with the keyboard, or unlocking the system by facial recognition with camera 1, or choosing fingerprint recognition at the power button 7 to unlock the system.
[0176] To ensure accurate and flexible system operation, a target feature point detection function module needs to be included in the laptop screen posture dynamic adjustment system. During the system's first run, target features need to be extracted and saved. In the first ten seconds of camera operation, the user is prompted to look up, face the camera directly, and then look down, thus completely recording and extracting the user's facial features. The facial features at the beginning of the video are extracted as target features, and then saved to a template function. These features are compared with subsequent image information to determine the motor rotation parameters. The matching degree of feature points between the currently acquired image and the template image is compared, and the angle difference between the current feature point and the feature point under the camera's gaze is returned.
[0177] Because the camera's field of view may contain multiple faces, to identify the nearest face, it needs to find the largest face in the field of view. Then, it controls the direction and speed of the motor's movement, entering a loop. It obtains image frames from the photosensitive element, calls the face tracking function, and if a face is found, it calls the function module that finds the largest face to track. It then calls the feature point recognition, detection, annotation, and storage module to identify the user's facial feature points and analyze the required rotation angle. If no face is found, the motor remains stationary at its original position and angle.
[0178] In this embodiment, the screen hinge assembly 4 includes a screen hinge 4.1, a fastening nut 4.2, and a friction plate 4.3. The magnitude of the screen 3's flipping torque is achieved by adjusting the tightness of the fastening nut 4.2 on the screen hinge 4.1 and the friction plate 4.3. The part of the screen hinge 4.1 located outside the lower housing is fixedly connected to the upper housing. The screen hinge 4.1 is rotatably connected to the hinge seat of the lower housing and is keyed and fixed to the drive shaft of the driver 5. The driver 5 is built into the mounting bracket in the inner cavity of the lower housing. The friction plate 4.3 is movably sleeved on the screen hinge 4.1 and can be pressed by the fastening nut 4.2 threadedly connected to the screen hinge 4.1.
[0179] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for dynamically adjusting the posture of a laptop screen, characterized in that, Includes the following steps: Real-time acquisition of facial feature information of users in front of the screen; Based on the position parameters of the feature extraction points in the facial feature information, the user's current facial rotation angle is determined; The optimal angle range of the laptop screen is obtained based on the facial rotation angle and the preset optimal vertical field of view for the user; the optimal angle range is: In the formula, For facial rotation angle, It is set to half of the preset optimal vertical field of view for the user. The laptop screen angle is adjusted based on the optimal angle range. Before collecting facial feature information of users in front of the screen in real time, the following is also included: Set the initial screen angle of the laptop to 90°. Collect initial facial feature information of the user in front of the screen; the initial facial feature information includes the feature extraction points of the left and right corners of the eyes and the feature extraction points of the left and right corners of the lips when the face is vertical; Collect facial feature information of the user's face after it has been rotated in front of the screen; the facial feature information includes the left and right corners of the eyes, the left and right corners of the lips, the center of the eyebrows, and the chin after the face has been rotated. Based on the imaging principle of the camera, an expression is constructed for the ratio of the image length of the horizontal or vertical line segment formed by the feature extraction points in the initial facial feature information and the rotated facial feature information to the actual length of the line segment with respect to the camera parameters of the laptop screen and the actual spatial distance between the line segment and the screen. Based on the concept of integral calculus, the tilted face plane in the side view can be regarded as countless tiny vertical line segments, and the center of the eyebrows and the chin are selected as feature focus points. Based on the expression of the ratio of the image length to the actual length of the horizontal and vertical line segments, an expression is established for the image distance of the tiny elements projected on the screen with respect to the user's current facial rotation angle, and the calculation formula for the user's current facial rotation angle is obtained by inverse solving.
2. The method for dynamically adjusting the posture of a laptop screen according to claim 1, characterized in that: The steps to determine the user's current facial rotation angle using a calculation formula include: Based on the real-time acquisition of facial feature information of the user in front of the screen, the image distance between the left and right corner feature extraction points and the image distance between the left and right corner feature extraction points when the face is vertical is obtained as a first ratio; at the same time, the ratio between the image distance between the left and right corner feature extraction points and the image distance between the left and right corner feature extraction points after the face is rotated is obtained as a second ratio, and the image distance between the eyebrow feature extraction point and the chin feature extraction point is obtained. Substitute the first ratio, the second ratio, the image distance between the brow feature extraction point and the chin feature extraction point after face rotation, and the relevant parameters of the camera into the corresponding calculation formula to obtain the user's current facial rotation angle.
3. The method for dynamically adjusting the posture of a laptop screen according to claim 1, characterized in that: Before collecting facial feature information of users in front of the screen in real time, the following is also included: Based on the parameters of the laptop screen camera, obtain the angle value of half of the camera's field of view; Collect initial facial feature information of the user in front of the screen; the initial facial feature information includes the feature extraction points of the left and right corners of the eyes, the feature extraction points of the left and right nostrils, the feature extraction point of the center of the eyebrows, and the feature extraction point of the chin when the face is vertical; Establish a Cartesian coordinate system with the center of face rotation as the origin, the x-axis as the origin and the line containing the actual point of the chin feature when the face is vertical, and the y-axis pointing vertically upward; In the Cartesian coordinate system, the coordinates of the actual point of the brow feature when the face is vertical are selected, and the coordinates of the actual point of the brow feature when the face is vertical are represented by the angle between the actual point of the brow feature, the origin and the actual point of the chin feature when the face is vertical, and the distance between the actual point of the brow feature and the actual point of the chin feature when the face is vertical. At the same time, the slope of the straight line containing the laptop screen is represented by the angle of the laptop screen.
4. The method for dynamically adjusting the posture of a laptop screen according to claim 3, characterized in that: The steps to determine the user's current facial rotation angle using geometric relationships in a Cartesian coordinate system and camera imaging principles include: Collect the current rotated facial feature information of the user in front of the screen; the rotated facial feature information includes the feature extraction points of the left and right corners of the eyes, the feature extraction points of the left and right nostrils, and the feature extraction point of the center of the eyebrows after the face is rotated. Continue to select the coordinates of the actual point of the brow feature after the face is rotated, and express the coordinates of the actual point of the brow feature after the face is rotated by the angle between the actual point of the brow feature after the face is rotated, the origin and the actual point of the chin feature when the face is vertical, as well as the distance between the actual point of the brow feature and the actual point of the chin feature when the face is vertical. The projection distance is calculated on the screen based on the projection formula, which calculates the actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature after the face is rotated, thus obtaining the first expression for the projection distance. Based on the imaging principle of the camera, the distance between the actual points of the left and right corner features of the face when it is vertical is obtained; Based on the principle of similar triangles, the distance between the actual points of the left and right corner features when the face is vertical, the image distance between the left and right corner feature extraction points when the face is vertical, and the image distance between the left and right corner feature extraction points after the face is rotated, the distance from the actual point of the center of the eyebrows to the screen when the face is vertical and the distance from the actual point of the center of the eyebrows to the screen after the face is rotated are obtained. Based on the geometric relationships in the Cartesian coordinate system, the actual point of the brow feature when the face is vertical and the projection distance of the actual point of the brow feature on the screen after the face is rotated are calculated to obtain the second expression of the projection distance. By combining the first expression and the second expression, the user's current facial rotation angle can be obtained.
5. A notebook screen posture dynamic adjustment system, used to implement the notebook screen posture dynamic adjustment method as described in any one of claims 1 to 4, characterized in that: The system includes a camera (1), a motherboard (2), a screen (3), a screen hinge assembly (4), a driver (5), a power supply assembly, an upper housing, and a lower housing. The camera (1) is used to collect facial feature information of the user in front of the screen and transmit the facial feature information to the motherboard (2). The motherboard (2) analyzes the facial feature information and calculates the direction and angle of rotation required for the screen (3). The motherboard (2) transmits the screen rotation control command to the driver (5). The driver (5) controls the screen hinge assembly (4) to move based on the control command so that the screen (3) rotates to the optimal angle range. The power supply assembly includes a battery pack (9) or an external power charging port (10) to provide power for the laptop screen posture dynamic adjustment system.
6. The notebook screen posture dynamic adjustment system according to claim 5, characterized in that: The screen hinge assembly (4) includes a screen hinge (4.1), a fastening nut (4.2), and a friction plate (4.3). The magnitude of the flipping torque of the screen (3) is achieved by adjusting the tightness of the fastening nut (4.2) on the screen hinge (4.1) and the friction plate (4.3). The part of the screen hinge (4.1) located outside the lower housing is fixedly connected to the upper housing. The screen hinge (4.1) is rotatably connected to the hinge seat of the lower housing and is fixedly connected to the drive shaft of the driver (5). The driver (5) is built into the mounting bracket in the inner cavity of the lower housing. The friction plate (4.3) is movably sleeved on the screen hinge (4.1) and can be tightened by the fastening nut (4.2) threaded onto the screen hinge (4.1).
7. A notebook screen posture dynamic adjustment system according to claim 5, characterized in that: The back of the upper casing is integrated with a fingerprint power button (6). The fingerprint power button (6) is used to collect the user's fingerprint information and transmit the fingerprint information to the motherboard (2). The motherboard (2) verifies the user's fingerprint information and controls the screen (3) to open or remain closed according to the verification result. The front of the lower casing is provided with a power button (7). The side of the lower casing is also integrated with a physical mechanical switch (8) for turning the laptop screen posture dynamic adjustment function on and off.