Sitting posture reminding method and device

文档序号:170623 发布日期:2021-10-29 浏览:60次 中文

阅读说明:本技术 坐姿提醒方法及装置 (Sitting posture reminding method and device ) 是由 李媛媛 于 2021-06-29 设计创作,主要内容包括:本申请涉及一种坐姿提醒方法及装置,坐姿提醒方法应用于坐姿提醒装置,包括:获取目标对象的坐姿数据,坐姿数据包括目标对象的轮廓坐标和目标对象与坐姿提醒装置之间的距离;根据坐姿数据与预设坐姿数据分析目标对象的坐姿;根据分析结果输出对应的提醒信息。本申请的坐姿提醒方法从多个维度对坐姿判断分析,以较低成本实现了有效的坐姿提醒,同时保障了用户的隐私安全。(The application relates to a sitting posture reminding method and a sitting posture reminding device, wherein the sitting posture reminding method is applied to the sitting posture reminding device and comprises the following steps: acquiring sitting posture data of the target object, wherein the sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device; analyzing the sitting posture of the target object according to the sitting posture data and the preset sitting posture data; and outputting corresponding reminding information according to the analysis result. The sitting posture reminding method provided by the application judges and analyzes the sitting posture from multiple dimensions, realizes effective sitting posture reminding at low cost, and guarantees privacy safety of users.)

1. A sitting posture reminding method is characterized by being applied to a sitting posture reminding device and comprising the following steps:

acquiring sitting posture data of a target object, wherein the sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device;

analyzing the sitting posture of the target object according to the sitting posture data and preset sitting posture data;

and outputting corresponding reminding information according to the analysis result.

2. The sitting posture reminding method as claimed in claim 1, wherein before the obtaining of the sitting posture data of the target object, the method comprises:

sending out a prompt for keeping a correct sitting posture;

and responding to a preset operation, and collecting sitting posture data of the target object as the preset sitting posture data.

3. The sitting posture reminding method as claimed in claim 1, wherein the obtaining of the sitting posture data of the target object comprises:

determining contour coordinates of the target object according to detection data of at least one group of dynamic ultrasonic components;

and determining the distance between the sitting posture reminding device and the target object according to the detection data of at least one group of static ultrasonic components.

4. The sitting posture prompting method as claimed in claim 3, wherein the determining contour coordinates of the target object according to the detection data of at least one group of dynamic ultrasonic components comprises:

establishing a coordinate system by taking the position of the static ultrasonic assembly as an original point, a horizontal straight line which passes through the original point and is parallel to the plane of the target object as an x-axis and a straight line which passes through the original point in the vertical direction as a y-axis;

adjusting a detection angle of the at least one set of dynamic ultrasound components relative to the target object;

and determining the contour coordinate of the target object according to the detection value and the detection angle of the dynamic ultrasonic assembly.

5. The sitting posture reminding method as claimed in claim 4, wherein the determining contour coordinates of the target object according to the detection value and the detection angle of the dynamic ultrasonic wave component comprises:

determining a detection angle of the dynamic ultrasonic assembly corresponding to the outer edge of the outline of the target object according to the change of the detection value of the dynamic ultrasonic assembly;

and acquiring a preset coordinate corresponding to a detection angle corresponding to the outer edge of the outline as an outline coordinate of the target object, wherein the preset coordinate is a coordinate in the coordinate system with the position of the static ultrasonic assembly as an origin.

6. The sitting posture reminding method as claimed in claim 3, wherein the determining the distance between the sitting posture reminding device and the target object according to the detection data of at least one set of static ultrasonic components comprises at least one of the following:

acquiring distance data of a group of static ultrasonic components and the target object as the distance data of the sitting posture reminding device and the target object;

collecting multiple groups of distance data of one or more groups of static ultrasonic components and the target object, and screening the minimum value in the multiple groups of distance data as the distance data of the sitting posture reminding device and the target object;

and acquiring multiple groups of distance data of one or more groups of static ultrasonic components and the target object, and determining the average value of the multiple groups of distance data as the distance data of the sitting posture reminding device and the target object.

7. The sitting posture reminding method according to claim 1, wherein the analyzing the sitting posture of the target object according to the sitting posture data and preset sitting posture data comprises:

extracting coordinates of preset key points from the contour coordinates, wherein the coordinates of the preset key points comprise a vertex coordinate, a left shoulder coordinate and a right shoulder coordinate;

and analyzing whether the coordinates of the preset key points, the distance between the target object and the sitting posture reminding device and the deviation between the preset sitting posture data are within a preset range or not.

8. The sitting posture reminding method according to claim 1, wherein the outputting of the corresponding reminding information according to the analysis result comprises:

and if the sitting posture data do not accord with the preset sitting posture data, reminding according to the difference between the sitting posture data and the preset sitting posture data.

9. The sitting posture reminding method according to claim 8, wherein the reminding according to the difference between the sitting posture data and the preset sitting posture data comprises at least one of the following steps:

displaying corresponding colors through an indicator light according to the difference degree of the sitting posture data and preset sitting posture data;

and according to the difference type of the sitting posture data and the preset sitting posture data, carrying out voice broadcasting or playing specified ring tones.

10. A sitting posture reminding device is characterized by comprising an acquisition module, a reminding module and a control module;

the acquisition module is used for acquiring sitting posture data of the target object;

the reminding module is used for executing a corresponding reminding strategy according to the judgment result of the sitting posture data of the target object and the preset sitting posture data;

the control module comprises a processor and a memory storing a computer program, and when the processor runs the computer program, the sitting posture reminding method is realized according to any one of claims 1 to 9.

Technical Field

The application relates to the technical field of electronic products, in particular to a sitting posture reminding method and device.

Background

The data shows that the number of Chinese myopia patients reaches up to 7 hundred million, the number accounts for 50 percent of the total population, wherein the myopia rate of junior middle school students, high school students and college students exceeds 70 percent, and the myopia rate of teenagers reaches the first world. The important reason for myopia of teenagers is that the sitting posture is incorrect during learning, and poor sitting posture not only affects eyesight, but also has a serious effect on cervical vertebrae of teenagers. At present, some electronic products for reminding the sitting posture of teenagers exist in the market, the sitting posture of a user is identified by using a camera to collect images by placing equipment in front of a learning table, but the hardware cost and the software development cost are undoubtedly increased, and the privacy of the teenagers is possibly influenced.

Disclosure of Invention

To the technical problem, the application provides a sitting posture reminding method and device, which are used for judging and analyzing sitting postures from multiple dimensions, so that effective sitting posture reminding is realized at low cost, and privacy safety of users is guaranteed.

In order to solve the technical problem, the present application provides a sitting posture reminding method, which is applied to a sitting posture reminding device, and comprises:

acquiring sitting posture data of a target object, wherein the sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device;

analyzing the sitting posture of the target object according to the sitting posture data and preset sitting posture data;

and outputting corresponding reminding information according to the analysis result.

Optionally, before the obtaining of the sitting posture data of the target object, the method includes:

sending out a prompt for keeping a correct sitting posture;

and responding to a preset operation, and collecting sitting posture data of the target object as the preset sitting posture data.

Optionally, the acquiring sitting posture data of the target object includes:

determining contour coordinates of the target object according to detection data of at least one group of dynamic ultrasonic components;

and determining the distance between the sitting posture reminding device and the target object according to the detection data of at least one group of static ultrasonic components.

Optionally, the determining contour coordinates of the target object according to the detection data of at least one group of dynamic ultrasonic components comprises:

establishing a coordinate system by taking the position of the static ultrasonic assembly as an original point, a horizontal straight line which passes through the original point and is parallel to the plane of the target object as an x-axis and a straight line which passes through the original point in the vertical direction as a y-axis;

adjusting a detection angle of the at least one set of dynamic ultrasound components relative to the target object;

and determining the contour coordinate of the target object according to the detection value and the detection angle of the dynamic ultrasonic assembly.

Optionally, the determining the contour coordinates of the target object according to the detection value and the detection angle of the dynamic ultrasonic wave component includes:

determining a detection angle of the dynamic ultrasonic assembly corresponding to the outer edge of the outline of the target object according to the change of the detection value of the dynamic ultrasonic assembly;

and acquiring a preset coordinate corresponding to a detection angle corresponding to the outer edge of the outline as an outline coordinate of the target object, wherein the preset coordinate is a coordinate in the coordinate system with the position of the static ultrasonic assembly as an origin.

Optionally, the determining the distance between the sitting posture reminding device and the target object according to the detection data of at least one group of static ultrasonic components comprises at least one of the following steps:

acquiring distance data of a group of static ultrasonic components and the target object as the distance data of the sitting posture reminding device and the target object;

collecting multiple groups of distance data of one or more groups of static ultrasonic components and the target object, and screening the minimum value in the multiple groups of distance data as the distance data of the sitting posture reminding device and the target object;

and acquiring multiple groups of distance data of one or more groups of static ultrasonic components and the target object, and determining the average value of the multiple groups of distance data as the distance data of the sitting posture reminding device and the target object.

Optionally, the analyzing the sitting posture of the target object according to the sitting posture data and preset sitting posture data includes:

extracting coordinates of preset key points from the contour coordinates, wherein the coordinates of the preset key points comprise a vertex coordinate, a left shoulder coordinate and a right shoulder coordinate;

and analyzing whether the coordinates of the preset key points, the distance between the target object and the sitting posture reminding device and the deviation of the preset sitting posture data are within a preset range or not.

Optionally, the analyzing the sitting posture of the target object according to the sitting posture data and preset sitting posture data further includes:

determining a first contour shape according to the contour coordinates of the target object;

a second contour shape determined according to the preset sitting posture data;

analyzing whether the first contour shape is consistent with the second contour shape.

Optionally, the outputting the corresponding reminding information according to the analysis result includes:

and if the sitting posture data do not accord with the preset sitting posture data, reminding according to the difference between the sitting posture data and the preset sitting posture data.

Optionally, the reminding according to the difference between the sitting posture data and the preset sitting posture data includes at least one of:

displaying corresponding colors through an indicator light according to the difference degree of the sitting posture data and preset sitting posture data;

and according to the difference type of the sitting posture data and the preset sitting posture data, carrying out voice broadcasting or playing specified ring tones.

The application also provides a sitting posture reminding device which comprises an acquisition module, a reminding module and a control module;

the acquisition module is used for acquiring sitting posture data of the target object;

the reminding module is used for executing a corresponding reminding strategy according to the judgment result of the sitting posture data of the target object and the preset sitting posture data;

the control module comprises a processor and a memory stored with a computer program, and when the processor runs the computer program, the sitting posture reminding method is realized.

The application provides a sitting posture reminding method and a sitting posture reminding device, and the sitting posture reminding method is applied to the sitting posture reminding device and comprises the following steps: acquiring sitting posture data of the target object, wherein the sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device; analyzing the sitting posture of the target object according to the sitting posture data and the preset sitting posture data; and outputting corresponding reminding information according to the analysis result. The sitting posture reminding method provided by the application judges and analyzes the sitting posture from multiple dimensions, realizes effective sitting posture reminding at low cost, and guarantees privacy safety of users.

Drawings

Fig. 1 is a schematic structural diagram of a sitting posture reminding device according to a first embodiment;

FIG. 2 is a side view showing the internal structure of the sitting posture reminder according to the first embodiment;

fig. 3 is a front view showing the internal structure of the sitting posture reminder according to the first embodiment;

FIG. 4 is a schematic circuit diagram of a sitting posture reminder according to a first embodiment;

fig. 5 is a flow chart of a sitting posture reminding method according to a second embodiment.

Detailed Description

The following description of the embodiments of the present application is provided for illustrative purposes, and other advantages and capabilities of the present application will become apparent to those skilled in the art from the present disclosure.

In the following description, reference is made to the accompanying drawings that describe several embodiments of the application. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description is not to be taken in a limiting sense, and the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

Although the terms first, second, etc. may be used herein to describe various elements in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.

Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.

First embodiment

Fig. 1 is a schematic structural view of a sitting posture reminding device according to a first embodiment. As shown in fig. 1, the sitting posture reminding device 30 of the present embodiment includes a collecting module 302, a reminding module 304 and a control module 306.

The acquisition module 302 is used for acquiring sitting posture data of the target object;

the reminding module 304 is used for executing a corresponding reminding strategy according to the judgment result of the sitting posture data of the target object and the preset sitting posture data;

the control module 306 comprises a processor and a memory storing a computer program, and realizes the sitting posture reminding when the processor runs the computer program.

Fig. 2 is a side view of the internal structure of the sitting posture reminding device according to the first embodiment. Fig. 3 is a side view of the internal structure of the sitting posture reminder according to the first embodiment. As shown in fig. 1, fig. 2 and fig. 3, in the sitting posture reminding device of the present embodiment, the acquisition module 302 includes a first ultrasonic component 12, a second ultrasonic component 13 and a cradle head 14, the reminding module 304 includes an information output structure 15, and the control module 306 includes a main control board 16.

The first ultrasonic component 12, the second ultrasonic component 13, the cradle head 14, the information output structure 15 and the main control board 16 are accommodated in a housing 11.

The first ultrasonic component 12 is a static ultrasonic component, and is fixed in the housing 11 by the first fixing frame 111, and the detection direction is fixed, preferably horizontal detection.

The second ultrasonic component 13 is a dynamic ultrasonic component, and is mounted on the holder 14 to change the detection direction, and the holder 14 is fixed in the housing 11 through the second fixing frame 112. Optionally, the cradle head 14 includes a rotating motor 142 and a deflecting motor 141, the rotating motor 142 is fixed in the housing 11 through the second fixing frame 112, the second ultrasonic component 13 is connected to the deflecting motor 141, the deflecting motor 141 is connected to the rotating motor 142, the deflecting motor 141 is configured to drive the second ultrasonic component 13 to deflect the detection angle, the rotating motor 142 is configured to drive the deflecting motor 141 to rotate, thereby forming a detection angle range, and it can be understood that the structure of the cradle head 14 only needs to satisfy the detection direction adjustment of the second ultrasonic component 13, and is not limited thereto. Preferably, the deflecting motor 141 and the rotating motor 142 are brushless motors, the axis of the output shaft of the rotating motor 142 is parallel to the detecting direction of the first ultrasonic wave assembly 12, and the output shaft of the deflecting motor 141 is located on a plane perpendicular to the output shaft of the rotating motor 142. In this embodiment, the housing 11 is provided with an adjusting button 18, and the adjusting button 18 is electrically connected to the pan/tilt head 14, so that the operation of the deflection motor 141 and the rotation motor 142 can be controlled by operating the adjusting button 18 to obtain the desired detection direction of the second ultrasonic component 13. In practical implementation, the detecting direction of the second ultrasonic component 13 may be preset to be a fixed plurality of directions, such as a horizontal direction, an oblique upper direction of 30 °, an oblique upper direction of 50 °, a left side of 15 °, and a right side of 15 °, and the detecting direction of the second ultrasonic component 13 may be adjusted to a corresponding angle by pressing the adjusting button 18 for different times, which is convenient to operate. Of course, the detection direction of the second ultrasonic component 13 can be adjusted steplessly by operating the adjusting button 18, so as to meet various requirements.

The first ultrasonic component 12 and the second ultrasonic component 13 are respectively arranged at different heights on the same side of the shell 11, preferably, the projection of the second ultrasonic component 13 is on the axis of the first ultrasonic component 12, and the installation position of the first ultrasonic component 12 is lower than that of the second ultrasonic component 13. The housing 11 is provided with a first detection window and a second detection window, the first detection window corresponds to the first ultrasonic assembly 12, the second detection window corresponds to the second ultrasonic assembly 13, and the first detection window and the second detection window are located on one side of the housing 11 facing the user.

The first ultrasonic assembly 12 and the second ultrasonic assembly 13 are used for measuring the distance between the sitting posture reminding device and the user and the contour coordinates of the user as data for judging the sitting posture of the user.

Because adopt ultrasonic wave subassembly to range finding to realize the position of sitting and judge, need not to use the camera to gather the image and discern, the cost is reduced, and simultaneously, ultrasonic wave subassembly range finding can not acquire user's image, can protect user's privacy well.

The information output structure 15 includes at least one of a display screen (not shown), an indicator 151, and a speaker 152. In the present embodiment, the information output structure 15 is an indicator lamp 151 and a speaker 152, and the indicator lamp 151 is a light emitting diode. The information output structure 15 is used for outputting sitting posture reminding information, when the sitting posture is judged to be inaccurate, the indicator lamp 151 can display corresponding colors for reminding, and in addition, the indicator lamp 151 can also be used for indicating different work states of the sitting posture reminding device, such as a starting state, a charging state and the like. When the sitting posture is judged to be inaccurate, voice broadcasting or specified ring tones can be played through the loudspeaker 152, and the user can be reminded in time. In addition, with the reminding function of the information output structure 15, an adjustment reference can be provided when adjusting the detection direction of the second ultrasonic component 13, for example, after the user keeps a correct sitting posture, if the distance measured by the second ultrasonic component 13 is greater than a large value, the indicator 151 flickers, at this time, the inclination degree of the detection direction of the second ultrasonic component 13 can be continuously reduced until the indicator 151 flickers no longer, and then the head region or the shoulder region is considered to be in the detection range of the second ultrasonic component 13.

Referring to fig. 2, fig. 3 and fig. 4 together, in the sitting posture reminding device, the control module 306 further includes a wireless communication unit 166, a power module 17 and a data storage unit 165, the main control board 16 is provided with a main control circuit 161, the main control circuit 161 includes a main processor 162, a clock circuit 163 and a power management circuit 164, the first ultrasonic component 12, the second ultrasonic component 13, the cradle head 14, the information output structure 15, the wireless communication unit 166, the power module 17 and the data storage unit 165 are respectively connected with corresponding interfaces on the main control circuit 161, wherein, the speaker 152 is connected with an audio interface, the power module 17 is connected with a power interface, and the information output structure 15 can be connected with an interface adopting a GPIO level or UART/SPI/I2C or other protocols.

Specifically, the power supply module 17 employs a rechargeable battery. The wireless communication unit 166 is preferably a bluetooth module, and may be implemented by module units such as esp8266, nrf2401 and nrf52832, so that the sitting posture data can be transmitted to external equipment, and when the wireless communication unit 166 is provided, the cradle head 14 can also operate according to the control signal of the external equipment without providing the adjustment button 18 on the housing 11 of the device. The data storage unit 165 is used for storing data, the stored data can be transmitted to external devices such as a mobile phone or other APP terminals through the wireless communication unit 166, and the wireless communication unit 166 can be implemented by memory devices such as eprom or ferroelectric. The main processor 162 establishes control or communication relations for all modules and interfaces, so as to realize data input, sitting posture output and external control, and further can output the sitting posture reminding information through the information output structure 15, and the main processor 162 can be selectively realized by processors such as stm32f107, stm32f205, ATmega328P and ATmega 64. The clock circuit 163 is used to provide a real time clock, on the one hand, a real time clock oscillation and on the other hand, a required clock oscillation input, so that an accurate time calculation and a clock frequency can be achieved. The power management circuit 164 is connected to the power module 17, and can convert the power input by the power module 17 into the power required by each functional module, for example, the input voltage is 5V, the working voltage of the main processor 162 is 3.3V, the power management circuit 164 can convert the 5V into the 3.3V power to supply power to the system, and the power management circuit 164 can select the power according to the specific working voltage of each unit, such as LM117adj, xc6206, and the like. When the information output structure 15 adopts the speaker 152, the main control circuit 161 is further provided with a voice module, and the voice module can be realized by an N588D module or a JQ8900 module.

Second embodiment

Fig. 5 is a flow chart of a sitting posture reminding method according to a second embodiment. As shown in fig. 5, the sitting posture reminding method of the present embodiment includes, but is not limited to, the sitting posture reminding device described in the first embodiment, and the sitting posture reminding method includes:

step 201: acquiring sitting posture data of the target object, wherein the sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device;

step 202: analyzing the sitting posture of the target object according to the sitting posture data and the preset sitting posture data;

step 203: outputting corresponding reminding information according to the analysis result

The sitting posture reminding method introduces two data acquisition dimensions, wherein the first dimension is a dynamic rotation scanning dimension and is used for providing an acquisition method for contour scanning of a target object. The second dimension is static scanning, and the dynamic scanning is combined to provide necessary data for judging different sitting postures of a user and adjusting the distance between a chair and a desk. This application can carry out dynamic identification to user's position of sitting, can discern the position of sitting of bowing, left inclined body position of sitting, right inclined body position of sitting, the position of sitting of bending over a desk, the position of sitting of standing upright etc.. If the user moves left and right or moves the position back and forth dynamically, the sitting posture of the user can be accurately judged. For example, when the user moves the seat forwards, the device cannot misjudge that the user is sitting at a desk because of moving forwards and backwards.

Before sitting posture data of a target object is acquired, the sitting posture reminding device needs to be initialized, correct sitting posture data is input according to the characteristics of a current user, and the correct sitting posture data is used as preset sitting posture data to perform reference comparison and sitting posture analysis on subsequently acquired sitting posture data. Specifically, the target subject may be prompted to maintain the correct sitting posture by one or more devices of a speaker or a display screen or an indicator light. After the user keeps the normal sitting posture, the information of 'keeping the correct sitting posture' is fed back to the sitting posture reminding device through the preset operation. For example, the preset operation is to reply "i have sat" by voice, or confirm by touching a confirmation key on a display screen, or confirm by pressing a preset button on the sitting posture reminding device, and the like. In response to the preset operation, collecting sitting posture data of the target object as preset sitting posture data, wherein the preset sitting posture data comprise contour coordinates of the target object and a distance between the target object and the sitting posture reminding device in a correct sitting posture.

After the contour coordinates of the user in the correct sitting posture are collected in the initialization process, the contour coordinates can be used as scalar quantities to be used for judging data of follow-up user dynamic sitting postures, so that the sitting posture reminding is suitable for users of different ages and statures, and the problem of inaccurate sitting posture data measurement caused by environmental factors such as different heights of tables and chairs can be solved. After the initialization process is completed, the construction of the standard sitting posture model is also completed. And then continuously collecting sitting posture data of the user, such as the coordinates of the head and the shoulders in the coordinate system and the distance between the chest of the target object and the sitting posture reminding device, so as to judge whether the user is in a correct sitting posture state.

In one embodiment, when the sitting posture data of the target object is acquired, the contour coordinates of the target object can be determined according to the detection data of at least one group of dynamic ultrasonic components. Specifically, a coordinate system is created with the position of the static ultrasonic component as an origin, a horizontal straight line passing through the origin and parallel to the plane of the target object as an x-axis, and a straight line passing through the origin in the vertical direction as a y-axis. And adjusting the detection angle of at least one group of dynamic ultrasonic components relative to the target object, and controlling the dynamic ultrasonic components to continuously acquire data to obtain a detection value if the detection angle is set to be-90 to 90 degrees in the horizontal direction and 0 to 90 degrees in the vertical direction. And then, determining the contour coordinate of the target object according to the detection value and the detection angle of the dynamic ultrasonic assembly.

Optionally, the step of determining the contour coordinates of the target object according to the detection value and the detection angle of the dynamic ultrasonic component includes:

determining a detection angle of the dynamic ultrasonic assembly corresponding to the outer edge of the outline of the target object according to the change of the detection value of the dynamic ultrasonic assembly;

and acquiring a preset coordinate corresponding to the detection angle corresponding to the outer edge of the outline as an outline coordinate of the target object, wherein the preset coordinate is a coordinate in a coordinate system taking the position of the static ultrasonic assembly as an original point.

The detection angle of the dynamic ultrasonic component corresponding to the outer edge of the outline of the target object can be represented by the rotation parameters of two motors driving the dynamic ultrasonic component to rotate, so that the detection value of the dynamic ultrasonic component corresponds to the rotation parameters of the motors one by one, or the rotation parameters of the motors can be converted into the detection angle of the dynamic ultrasonic component, for example, 10 degrees upwards and 10 degrees rightwards. When the detection value of the dynamic ultrasonic assembly (the distance value determined according to the reflected wave under different detection angles) gradually increases and changes suddenly, which indicates that the dynamic ultrasonic assembly cannot suddenly detect the target object, the detection angle corresponding to the change point corresponds to the profile edge of the user, and meanwhile, the motor rotation parameter (the detection angle representing the dynamic ultrasonic assembly) corresponding to the change point also corresponds to the profile edge of the user. In order to increase the calculation speed, preset coordinates corresponding to different detection angles (rotation parameters of two motors) are preset, the preset coordinates are coordinates in a coordinate system with the position of a static ultrasonic component as an origin, for example, the rotation angle of a rotating motor corresponds to x-axis coordinates, the rotation angle of a deflection motor corresponds to y-axis coordinates, when the motor rotation parameters for representing the detection angles are the position of the rotation angle of the deflection motor corresponding to the 15 th grid of the y-axis and the rotation angle of the rotating motor corresponding to the 0 th grid of the x-axis, the preset coordinates corresponding to the detection angles (rotation parameters of the motors) are (0,15), if the detection angle at the moment corresponds to the contour edge of the user, the preset coordinates (0,15) are coordinates (such as the coordinates of the top of the head) of a certain contour point of the user, and thus, the contour coordinates of the target object are simplified to be a distance corresponding to the rotation angle of the motor, after the detection angle (the rotation parameter of the motor) corresponding to the outer edge of the outline of the target object is known, the outline coordinate of the target object can be known, the calculation speed can be accelerated, in addition, the actual detection value of the dynamic ultrasonic assembly is not needed in the calculation process, the influence of factors such as different heights of tables and chairs and different heights of users can be eliminated, and the accuracy of analysis is improved. In actual implementation, when the factors such as the height of the table and chair and the height of the user are integrated, the actual detection value of the dynamic ultrasonic component can be used for calculating the contour coordinates of the user, which is known by those skilled in the art and will not be described again. It should be noted that the distance of each grid on the x-axis and the y-axis does not represent the size of the actual spatial distance, the size of the distance of each grid only determines the accuracy of the analysis, and the smaller the distance, the greater the accuracy. In addition, since the coordinate system is established by taking the position of the static ultrasonic component as the origin, the preset coordinate is set according to the position relation between the dynamic ultrasonic component and the static ultrasonic component, so that the preset coordinate is the coordinate in the coordinate system taking the position of the static ultrasonic component as the origin.

In one embodiment, when the sitting posture data of the user is acquired, the distance between the sitting posture reminding device and the target object can be further determined according to the detection data of at least one group of static ultrasonic components. For example, a set of distance data of the static ultrasound assembly from the target object may be collected as distance data of the sitting posture prompting device from the target object. For another example, multiple sets of distance data of one or more sets of static ultrasonic components and the target object can be collected, and the minimum value in the multiple sets of distance data is screened as the distance data between the sitting posture reminding device and the target object. For another example, multiple sets of distance data of one or more sets of static ultrasonic components and the target object can be collected, and an average value of the multiple sets of distance data is determined to be used as the distance data of the sitting posture reminding device and the target object.

The sitting posture data acquisition mode is suitable for acquiring preset sitting posture data and real-time sitting posture data used for sitting posture judgment. After the preset sitting posture data is collected, the collected outline coordinates are analyzed, coordinates of preset key points are extracted, the coordinates of the preset key points comprise a head top coordinate, a left shoulder coordinate and a right shoulder coordinate, for example, the sitting posture reminding device is placed right in front of a target object, a coordinate point corresponding to the maximum y-axis value is the coordinate of the head top, the coordinate point with the maximum x-axis positive value and the maximum y-axis value is the left shoulder, and the coordinate point with the maximum x-axis negative value and the maximum y-axis value is the right shoulder. Coordinates of preset key points in the preset sitting posture data are main parameters for sitting posture judgment.

In an embodiment, when the sitting posture of the target object is analyzed according to the sitting posture data and the preset sitting posture data in step 202, the real-time sitting posture data is analyzed, coordinates of preset key points in the contour coordinates are extracted, the coordinates of the preset key points comprise a vertex coordinate, a left shoulder coordinate and a right shoulder coordinate, and then whether the coordinates of the preset key points, the distance between the target object and the sitting posture reminding device and the deviation of the preset sitting posture data are within a preset range or not is analyzed. For example, the relative distance between the head vertex coordinate and the right shoulder coordinate collected in real time on the x axis is a, the preset distance between the head vertex coordinate and the right shoulder coordinate on the x axis is b, the relative distance between the head vertex coordinate and the right shoulder coordinate collected in real time on the y axis is c, the preset distance between the head vertex coordinate and the right shoulder coordinate on the y axis is d, and when a becomes smaller relative to b and becomes smaller than a preset amplitude, and c becomes smaller relative to d and becomes smaller than a preset amplitude, the user is judged to change from the correct sitting posture to the right head sitting posture. For another example, when it is collected that the distance between the head top end coordinate and the origin point becomes smaller and the smaller amplitude is larger than the preset amplitude relative to the original distance, and meanwhile, the distance between the user and the sitting posture prompting device also becomes smaller and the smaller amplitude is larger than the preset amplitude relative to the original distance, it is indicated that the user changes from the correct sitting posture to the lying prone posture. For another example, when it is collected that the distance between the user and the sitting posture reminding device is smaller than the original distance and the smaller amplitude is larger than the preset amplitude, but the head vertex coordinate and the left and right shoulder coordinates are not changed or are changed within a normal range relative to the preset sitting posture data, it is indicated that the user only moves the chair forward, and the current distance from the desk is closer but the sitting posture is still correct.

In an embodiment, when the sitting posture of the target object is analyzed according to the sitting posture data and the preset sitting posture data, the first contour shape may be determined according to contour coordinates of the target object, the second contour shape determined according to the preset sitting posture data is analyzed, whether the first contour shape is consistent with the second contour shape is analyzed, or whether the area difference between the first contour area and the second contour area is within an error-allowable range is analyzed, if yes, the sitting posture of the user is correct, and if not, the sitting posture of the user is not accurate. For example, when the head vertex coordinates and the left and right middle coordinates are collected to be different from the preset sitting posture data, the error allowance range is exceeded. At this time, whether the first outline shape and the second outline shape of the user are consistent or not is determined, and if so, the user only moves the chair left and right or moves the chair back and forth, but the sitting posture still keeps correct.

In an embodiment, when the corresponding reminding information is output according to the analysis result, if the sitting posture data accords with the preset sitting posture data, the user can not be reminded, and the reminding module keeps a default state, for example, the indicating lamp is green. And if the sitting posture data do not accord with the preset sitting posture data, reminding according to the difference between the sitting posture data and the preset sitting posture data. During actual implementation, can show appointed colour through the pilot lamp according to the position of sitting data and the difference degree of predetermineeing the position of sitting data. For example, a slight deviation can be set when the deviation of the sitting posture data and the preset sitting posture data is less than 50%, a serious deviation is set when the deviation is greater than or equal to 50%, and the current sitting posture is slightly deviated from the correct sitting posture, so that a yellow light prompt is displayed; the current sitting posture is seriously deviated from the correct sitting posture, and the red light is displayed for reminding. And voice broadcasting or specified ring tones can be played according to the difference type of the sitting posture data and the preset sitting posture data. For example, when the user changes from a correct sitting posture to sitting on stomach, the voice prompts the user to 'please not sit on stomach' to adapt to the reminding of various wrong sitting postures, so that the intelligent mobile phone is more intelligent.

According to the sitting posture reminding method, the sitting posture data of the target object are obtained, and the sitting posture data comprise contour coordinates of the target object and the distance between the target object and the sitting posture reminding device; analyzing the sitting posture of the target object according to the sitting posture data and the preset sitting posture data; and outputting corresponding reminding information according to the analysis result. The sitting posture reminding method provided by the application judges and analyzes the sitting posture from multiple dimensions, realizes effective sitting posture reminding at low cost, and guarantees privacy safety of users.

The above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种移动设备丢失报警方法及其装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!