Method and device for adjusting fitness mirror, electronic device, and storage medium
By detecting the user's movement status and obtaining human body data, the fitness mirror automatically adjusts the height, solving the problem of insufficient manual adjustment in the prior art, improving the user experience and visual effect.
Patent Information
- Application Number
- CN202211095249.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-06
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-09-06
AI Technical Summary
The existing home fitness mirrors have low degree of automation adjustment and require manual control by users, resulting in poor visual experience and reflection problems during use.
By detecting whether the user is in a state of motion, using the camera device to obtain human body data, and automatically adjust the height of the fitness mirror based on the data, including using the height recognition model and the sports database to match the appropriate height.
It realizes automatic adjustment of the height of the fitness mirror, improves the user experience, reduces manual operation, enhances visual sense and convenience of use.
Smart Images

Figure CN116271771B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fitness mirror control, for example, to a method and device for adjusting a fitness mirror, an electronic device, and a storage medium. Background Art
[0002] Most of the existing home fitness mirrors are in a movable state and need to be placed on the ground at an angle, which will cause an angle between the user and the mirror. On the one hand, it will cause the athlete to be deformed in the photo, and on the other hand, it will cause a certain amount of reflection and tilt when the athlete is looking at the screen, which makes the visual sense not good enough.
[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0004] In the related art, the user is often required to manually control the fitness mirror to adjust the height of the fitness mirror, and the degree of automation is poor. Summary of the invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a method and device, an electronic device, and a storage medium for adjusting a fitness mirror, so as to improve the degree of automation when adjusting the fitness mirror.
[0007] In some embodiments, the method for adjusting the fitness mirror includes: detecting whether a user within a preset range is in motion, acquiring body data of the user when the user is in motion, and adjusting the height of the fitness mirror according to the body data.
[0008] In some embodiments, a camera device is provided in the fitness mirror to detect whether a user within a preset range is in motion, including: using the camera device to detect whether a user within a preset range is in motion; the preset range is the shooting range of the camera device.
[0009] In some embodiments, detecting whether a user within a preset range is in motion includes: determining that the user is in motion if the user is within the preset range for more than a preset time period. Or, determining that the user is not in motion if the user is within the preset range for less than a preset time period.
[0010] In some embodiments, the human body data is the height of the user, and when the user is in motion, obtaining the human body data of the user includes: using the camera device to take a picture of the user in a preset range to obtain a user image. Obtaining the user height based on the user image.
[0011] In some embodiments, obtaining the user's height according to the user image includes: inputting the user image into a preset height recognition model to obtain the user's height. The height recognition model is obtained according to a sample user image and a sample label, and the sample label is used to characterize the height of the user in the sample user image.
[0012] In some embodiments, adjusting the height of the fitness mirror according to the human body data includes: determining a sports program to be performed, and adjusting the height of the fitness mirror according to the sports program to be performed and the human body data.
[0013] In some embodiments, adjusting the height of the fitness mirror according to the sports to be performed and the human body data includes: matching the height of the fitness mirror corresponding to the sports to be performed and the human body data from a preset height database. The height database stores the correspondence between the sports to be performed, the human body data and the height of the fitness mirror. The fitness mirror is adjusted according to the height of the fitness mirror.
[0014] In some embodiments, the device for adjusting the fitness mirror includes: a processor and a memory storing program instructions, and the processor is configured to execute the above method for adjusting the fitness mirror when executing the program instructions.
[0015] In some embodiments, the electronic device includes the above-mentioned device for adjusting the fitness mirror.
[0016] In some embodiments, the storage medium stores program instructions, and when the program instructions are executed, the above-mentioned method for adjusting the fitness mirror is executed.
[0017] The method and device, electronic device, and storage medium for adjusting the fitness mirror provided by the embodiments of the present disclosure can achieve the following technical effects: by detecting whether the user within a preset range is in motion. When the user is in motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in motion, the height of the fitness mirror is adjusted according to the body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, which improves the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror.
[0018] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0020] Figure 1 is a schematic diagram of a method for adjusting a fitness mirror provided by an embodiment of the present disclosure;
[0021] Figure 2 is a schematic diagram of another method for adjusting a fitness mirror provided by an embodiment of the present disclosure;
[0022] Figure 3 is a schematic diagram of another method for adjusting a fitness mirror provided by an embodiment of the present disclosure;
[0023] Figure 4 is a schematic diagram of another method for adjusting a fitness mirror provided by an embodiment of the present disclosure;
[0024] Figure 5 is a schematic diagram of another method for adjusting a fitness mirror provided by an embodiment of the present disclosure;
[0025] Figure 6 Schematic diagram of a device for adjusting a fitness mirror provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0027] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0028] Unless otherwise stated, the term "plurality" means two or more.
[0029] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0030] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0031] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0032] Combination Figure 1 As shown, the embodiment of the present disclosure provides a method for adjusting a fitness mirror, the method comprising:
[0033] Step S101: The electronic device detects whether a user within a preset range is in motion.
[0034] Step S102: When the user is in motion, the electronic device obtains the user's body data.
[0035] Step S103: the electronic device adjusts the height of the fitness mirror according to the human body data.
[0036] The method for adjusting the fitness mirror provided by the embodiment of the present disclosure detects whether the user within the preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in a state of motion, the height of the fitness mirror is adjusted according to the body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror.
[0037] Furthermore, a camera device is provided in the fitness mirror, and the electronic device detects whether a user within a preset range is in motion, including: the electronic device uses the camera device to detect whether a user within a preset range is in motion; the preset range is the shooting range of the camera device. In some embodiments, the camera device can perform imaging by radar, 3D imaging or other sensor imaging methods.
[0038] In some embodiments, the shooting range of the camera device is within 10 meters from the camera device.
[0039] Optionally, the electronic device detects whether the user in the preset range is in motion, including: the electronic device determines that the user is in motion when the user is in the preset range for more than a preset time, wherein the preset time is 60 seconds.
[0040] Optionally, the electronic device detects whether the user in the preset range is in motion, including: the electronic device determines that the user is not in motion if the user is in the preset range for a period of time that does not exceed a preset time. The preset time is 60 seconds.
[0041] Combination Figure 2 As shown, the embodiment of the present disclosure provides a method for adjusting a fitness mirror, the method comprising:
[0042] Step S201: The electronic device uses a camera device to detect whether a user within a preset range is in motion.
[0043] Step S202: When the user is within a preset range for more than a preset time, the electronic device determines that the user is in motion.
[0044] Step S203: the electronic device obtains the user's body data.
[0045] Step S204: the electronic device adjusts the height of the fitness mirror according to the human body data.
[0046] The method for adjusting the fitness mirror provided by the embodiment of the present disclosure detects whether the user within the preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in a state of motion, the height of the fitness mirror is adjusted according to the body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror.
[0047] Optionally, the human body data is the height of the user, and the electronic device obtains the human body data of the user when the user is in motion, including: the electronic device uses a camera device to take a picture of the user in a preset range to obtain a user image, and obtains the user height according to the user image.
[0048] Furthermore, the electronic device obtains the user's height according to the user image, including: the electronic device inputs the user image into a preset height recognition model to obtain the user's height. The height recognition model is obtained according to a sample user image and a sample label, and the sample label is used to characterize the height of the user in the sample user image.
[0049] In some embodiments, the height recognition model is obtained by: obtaining a sample user image and a sample label; the sample label is used to characterize the height of the user in the sample user image; and the sample user image with the sample label is input into a preset neural network model for training to obtain the height recognition model.
[0050] Optionally, the human body data is a user type, and when the user is in motion, the electronic device obtains the user type of the user, including: the electronic device uses a camera to photograph the user in a preset range to obtain a user image. The user type is obtained according to the user image.
[0051] Furthermore, the electronic device obtains the user type according to the user image, including: the electronic device inputs the user image into a preset user recognition model to obtain the user type.
[0052] In some embodiments, the user identification model is obtained by the following method: obtaining a sample user image and a sample label; the sample label is used to characterize the user type of the user in the sample user image. The sample user image with the sample label is input into a preset neural network model for training to obtain a user identification model. The user types include young males, middle-aged males, elderly males, young females, middle-aged females, elderly females or children, etc.
[0053] Furthermore, the electronic device adjusts the height of the fitness mirror according to the human body data, including: the electronic device determines the sports item to be performed, and adjusts the height of the fitness mirror according to the sports item to be performed and the human body data.
[0054] Furthermore, the electronic device determines the sports program to be performed, including: the electronic device receives a program selection instruction, and determines the sports program included in the program selection instruction as the sports program to be performed.
[0055] In some embodiments, if the program selection instruction received by the electronic device is: yoga, yoga is determined as the sports program to be performed.
[0056] In some embodiments, the project selection instruction is sent to the electronic device through a preset user terminal, and the user terminal is connected to the electronic device by wireless connection. When the user clicks on the sports project on the user terminal, the user terminal sends the project selection instruction corresponding to the sports project to the electronic device.
[0057] Combination Figure 3 As shown, the embodiment of the present disclosure provides a method for adjusting a fitness mirror, the method comprising:
[0058] Step S301: The electronic device detects whether a user within a preset range is in motion.
[0059] Step S302: When the user is in motion, the electronic device obtains the user's body data.
[0060] Step S303: the electronic device determines a sports event to be performed.
[0061] Step S304: the electronic device adjusts the height of the fitness mirror according to the sports item to be performed and the human body data.
[0062] The method for adjusting the fitness mirror provided by the embodiment of the present disclosure is adopted to detect whether the user within the preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in a state of motion, the height of the fitness mirror suitable for the user can be more accurately determined from the body data and the sports to be performed, thereby improving the user's experience when using the fitness mirror. At the same time, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when using the fitness mirror.
[0063] Furthermore, the electronic device adjusts the height of the fitness mirror according to the sports to be performed and the human body data, including: the electronic device matches the height of the fitness mirror corresponding to the sports to be performed and the human body data from a preset height database. The height database stores the correspondence between the sports to be performed, the human body data and the height of the fitness mirror. The fitness mirror is adjusted according to the height of the fitness mirror. In this way, the height of the fitness mirror suitable for the user can be more accurately determined based on the human body data and the sports to be performed, thereby improving the user's experience when using the fitness mirror.
[0064] In some embodiments, as shown in Table 1, Table 1 is an example table of a height database provided by an embodiment of the present disclosure.
[0065] Human data Sports to be performed Fitness mirror height Height 155-160cm Yoga 20cm from the ground Height 161-165cm Yoga 25cm from the ground Height 166-170cm Aerobics 10cm from the ground Height 171-175cm Aerobics 15cm from the ground
[0066] Table 1
[0067] As shown in Table 1, the height of the fitness mirror corresponding to the sports item "yoga" to be performed and the human body data "height 155-160cm" in Table 1 is "20cm from the ground". The height of the fitness mirror corresponding to the sports item "yoga" to be performed and the human body data "height 161-165cm" is "25cm from the ground". The height of the fitness mirror corresponding to the sports item "aerobics" to be performed and the human body data "height 166-170cm" is "10cm from the ground". The height of the fitness mirror corresponding to the sports item "aerobics" to be performed and the human body data "height 171-175cm" is "15cm from the ground".
[0068] In some embodiments, the human body data detected by the electronic device is the user's height: 163 cm, and the sports item to be performed determined by the electronic device is yoga. Then the height of the fitness mirror matched from the preset height database is "25 cm from the ground". The electronic device adjusts the fitness mirror according to the height of the fitness mirror "25 cm from the ground".
[0069] Optionally, the human body data includes the height of the user and the type of the user, and after the electronic device adjusts the height of the fitness mirror according to the human body data, the electronic device further includes: correcting the adjusted height of the fitness mirror according to the type of the user. In this way, by correcting the height of the fitness mirror according to the type of the user, more accurate adjustments can be made when different types of users use the fitness mirror to meet the needs of different types of users.
[0070] Furthermore, the electronic device corrects the height of the fitness mirror according to the user type, including: the electronic device matches the correction height corresponding to the user type from a preset correction database. The correction database stores the corresponding relationship between the user type and the correction height.
[0071] In some embodiments, when the user type is a child, the correction height corresponding to the user type "child" is matched from the preset correction database as "lower 5 cm". Then the height of the fitness mirror is corrected according to the correction height "lower 5 cm".
[0072] Combination Figure 4 As shown, the embodiment of the present disclosure provides a method for adjusting a fitness mirror, the method comprising:
[0073] Step S401: The electronic device detects whether a user within a preset range is in motion.
[0074] Step S402: When the user is in motion, the electronic device obtains the user's body data, wherein the body data includes the user's height and the user's type.
[0075] Step S403: the electronic device adjusts the height of the fitness mirror according to the height of the user.
[0076] Step S404: the electronic device corrects the adjusted height of the fitness mirror according to the user type.
[0077] The method for adjusting the fitness mirror provided by the embodiment of the present disclosure is adopted to detect whether the user within the preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in a state of motion, the height of the fitness mirror is adjusted according to the body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror. At the same time, by correcting the height of the fitness mirror according to the user type, more accurate adjustments can be made when different types of users use the fitness mirror to meet the needs of different types of users.
[0078] Optionally, after the electronic device adjusts the height of the fitness mirror according to the human body data, the method further includes: obtaining the user type, and recommending sports items to be performed according to the user type.
[0079] Further, recommending sports to be performed according to the user type includes: obtaining sports to be performed corresponding to the user type, displaying the sports to be performed on a preset user terminal, and giving a voice prompt. The user terminal includes a mobile phone, a tablet computer, or a fitness mirror.
[0080] Further, obtaining the to-be-performed sports project corresponding to the user type includes: matching the to-be-performed sports project corresponding to the user type from a preset to-be-performed sports project database. The to-be-performed sports project database stores the correspondence between the user type and the to-be-performed sports project.
[0081] Combination Figure 5 As shown, the embodiment of the present disclosure provides a method for adjusting a fitness mirror, the method comprising:
[0082] Step S501: The electronic device detects whether a user within a preset range is in motion.
[0083] Step S502: When the user is in motion, the electronic device obtains the user's body data.
[0084] Step S503: the electronic device adjusts the height of the fitness mirror according to the human body data.
[0085] Step S504: the electronic device obtains the user type.
[0086] Step S505: the electronic device recommends sports programs to be performed according to the user type.
[0087] The method for adjusting the fitness mirror provided by the embodiment of the present disclosure detects whether the user within the preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, and also improving the visual effect, thereby improving the user experience when the user uses the fitness mirror. At the same time, sports projects can be recommended to different types of users.
[0088] Combination Figure 6As shown, the embodiment of the present disclosure provides a device for adjusting a fitness mirror, including a processor (processor) 600 and a memory (memory) 601. Optionally, the device may also include a communication interface (Communication Interface) 602 and a bus 603. The processor 600, the communication interface 602, and the memory 601 may communicate with each other through the bus 603. The communication interface 602 may be used for information transmission. The processor 600 may call the logic instructions in the memory 601 to execute the method for adjusting the fitness mirror of the above embodiment.
[0089] The device for adjusting the fitness mirror provided by the embodiment of the present disclosure detects whether the user within a preset range is in a state of motion. When the user is in a state of motion, the human body data of the user is obtained; and the height of the fitness mirror is adjusted according to the human body data. By obtaining the human body data of the user when the user is in a state of motion, the height of the fitness mirror is adjusted according to the human body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror.
[0090] In addition, the logic instructions in the memory 601 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0091] The memory 601 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 600 executes the function application and data processing by running the program instructions / modules stored in the memory 601, that is, the method for adjusting the fitness mirror in the above embodiment is implemented.
[0092] The memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 601 may include a high-speed random access memory and may also include a non-volatile memory.
[0093] An embodiment of the present disclosure provides an electronic device, including the above-mentioned device for adjusting a fitness mirror.
[0094] Optionally, the electronic device is a fitness mirror.
[0095] The electronic device provided by the embodiment of the present disclosure detects whether a user within a preset range is in a state of motion. When the user is in a state of motion, the user's body data is obtained; and the height of the fitness mirror is adjusted according to the body data. By obtaining the user's body data when the user is in a state of motion, the height of the fitness mirror is adjusted according to the body. In this way, the height of the fitness mirror can be automatically adjusted without the user manually controlling the fitness mirror, thereby improving the degree of automation when adjusting the fitness mirror, thereby improving the user experience when the user uses the fitness mirror.
[0096] An embodiment of the present disclosure provides a storage medium storing program instructions, which, when executed, execute the method for adjusting a fitness mirror.
[0097] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above method for adjusting a fitness mirror.
[0098] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0099] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0100] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0101] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0102] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0103] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for adjusting a fitness mirror, characterized in that: include: Detect whether the user within the preset range is in motion; When the user is in motion, obtaining body data of the user; Adjusting the height of the fitness mirror according to the human body data; The fitness mirror is provided with a camera device, the human body data is the height of the user, and when the user is in a state of exercise, the human body data of the user is obtained, including: using the camera device to take a picture of the user in a preset range to obtain a user image; and obtaining the height of the user according to the user image; The height of a fitness mirror is adjusted according to the human body data, comprising: determining a sports item to be performed; matching a height of a fitness mirror corresponding to the sports item to be performed and the human body data from a preset height database; the height database stores a correspondence between the sports item to be performed, the human body data and the height of the fitness mirror; and adjusting the fitness mirror according to the height of the fitness mirror.
2. The method according to claim 1, characterized in that Detect whether the user within the preset range is in motion, including: The camera device is used to detect whether a user within a preset range is in motion; the preset range is the shooting range of the camera device.
3. The method according to claim 1, characterized in that Detect whether the user within the preset range is in motion, including: When the user is within the preset range for more than a preset time, determining that the user is in motion; or, When the user is within the preset range for a period of time that does not exceed a preset time, it is determined that the user is not in a motion state.
4. The method according to claim 1, characterized in that: Acquiring the user's height according to the user image, comprising: The user image is input into a preset height recognition model to obtain the user's height; the height recognition model is obtained based on sample user images and sample labels, and the sample labels are used to characterize the height of the user in the sample user image.
5. A device for adjusting a fitness mirror, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for adjusting a fitness mirror according to any one of claims 1 to 4 when running the program instructions.
6. An electronic device, characterized in that: The invention comprises the device for adjusting a fitness mirror as claimed in claim 5.
7. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for adjusting a fitness mirror according to any one of claims 1 to 4 is executed.
Citation Information
Patent Citations
Control method, device and system for adjusting height of table tennis table
CN103657024A
Intelligent mirror control method, device and system and intelligent mirror
CN107193291A
Body-building control method and related device
CN109712686A
Intelligent mirror for fitness
CN113076780A
Intelligent mirror
CN211324156U
