Methods, equipment, devices, media and procedures for measuring children's height
Through image processing technology, the sole thickness of children's shoes is judged and identified, and the height data is used to calculate children's height, which solves the error problem when wearing shoes and provides an accurate shoe-free measurement solution.
Patent Information
- Application Number
- CN202411890576.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2044-12-20
AI Technical Summary
Existing children's height measurement equipment has large errors when children wear shoes to measure, and the difference in sole thickness of different types of shoes leads to inaccurate measurement results.
By obtaining the perspective image of children's shoes, it is determined whether it matches the pre-stored children's shoe database. If it is matched, the sole thickness data of the sample shoes will be obtained. Otherwise, the sole thickness is identified by the sole thickness identification model, and the child's height is calculated based on the target height data.
It achieves improved accuracy when children wear shoes to measure, reduces the impact of shoes on height measurement, and provides a quick measurement solution without taking off shoes.
Smart Images

Figure CN119818054B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the technical field of height measurement, and in particular to a method, equipment, device, medium and program for measuring the height of children. Background Art
[0002] Typically, automated children's height measurement equipment is installed in lobbies, hallways, corridors, triage counters, and other locations in hotels, hospitals, and other institutions. However, due to the young age of some children, it is difficult or inconvenient to remove their shoes for measurement, and measuring with shoes off also poses public health risks. Therefore, a considerable number of children are measured with their shoes on when using these children's height measurement equipment.
[0003] Obviously, this method has a large error, and since the sole thickness of different types of shoes is different, the errors in multiple measurements may vary greatly. Summary of the Invention
[0004] This specification provides a method, equipment, device, medium and program for measuring children's height to at least partially solve the above-mentioned problems existing in the prior art, and provide a solution for quickly measuring children's height without taking off shoes, while having high detection accuracy.
[0005] This manual adopts the following technical solutions:
[0006] This manual provides a method for measuring children's height, including:
[0007] Acquire a first-perspective image and target height data, and determine that the first-perspective image contains a target shoe of the child being tested;
[0008] Determining whether the target shoe in the first perspective image matches any model shoe in a pre-stored children's shoe database;
[0009] If yes, then obtaining the sole thickness data of the sample shoe matching the target shoe;
[0010] If not, identifying the first perspective image based on a sole thickness recognition model to determine the sole thickness data of the target shoe;
[0011] The height data of the measured child is determined according to the target height data and the sole thickness data.
[0012] Preferably, the identifying the first perspective image based on the sole thickness identification model to determine the sole thickness data of the target shoe includes:
[0013] Based on the sole thickness recognition model, determine the total length of the target shoe, the target heel offset, the target shoe reference height, and the target shoe type;
[0014] The target shoe heel offset is the distance between the farthest end and the closest end of the heel of the target shoe in a first direction; the first direction is the direction for determining the total length of the target shoe, the far end is the end away from the toe, and the close end is the end close to the toe; the target shoe reference height is the distance between a preset position of the upper of the target shoe and the sole; the preset position is close to the ankle of the child being tested;
[0015] Determining, according to the target shoe type, a ratio parameter of inner and outer lengths corresponding to the target shoe type;
[0016] Determine the sole thickness data using the following formula:
[0017] B=Y-k1k2(x1-x2)
[0018] Among them, B is the sole thickness data, Y is the target shoe reference height, x1 is the target shoe total length, x2 is the target shoe heel offset, k1 is the preset foot shape parameter, and k2 is the inner and outer length ratio parameter.
[0019] Preferably, the method further comprises:
[0020] Acquiring a second-perspective image;
[0021] determining the actual distance between the target shoe and the preset position according to the second perspective image;
[0022] According to the actual distance, the preset standard distance and the sensor parameters, the correction parameters are determined by the following formula:
[0023]
[0024] Wherein, k3 is the correction parameter, C is the actual distance, D is the preset standard distance, and k4 is the preset sensor parameter;
[0025] Update the sole thickness data using the following formula:
[0026] B=Y-k1k2k3(x1-x2)
[0027] Wherein, k3 is the correction parameter.
[0028] Preferably, before determining that the first perspective image contains the target shoe of the child being tested, the method further includes:
[0029] Determining that the first perspective image does not include the target shoe of the child being tested;
[0030] The target height data is determined as the height of the measured child.
[0031] Preferably, after determining the sole thickness data of the target shoe, the method further includes:
[0032] determining the target shoes as children's shoes to be stored, and storing information of the children's shoes to be stored;
[0033] When it is determined that the children's shoes to be stored meet the preset storage conditions, the data of the children's shoes to be stored are imported into the children's shoes database;
[0034] The storage conditions at least include: responding to a user's operation and / or the existence of a plurality of children's shoes to be stored corresponding to the children's shoes to be stored.
[0035] In another aspect, the present specification provides a child height measurement device comprising: a bracket, a top measurement sensor, a bottom camera unit, and a controller;
[0036] The bracket body includes a base, a bracket body and a top extension piece connected in sequence;
[0037] The top measurement sensor is fixedly connected to the top extension member, and the top measurement sensor is communicatively connected to the controller for collecting target height data and sending the target height data to the controller;
[0038] The bottom camera unit is fixedly connected to the base or the bracket body, and the bottom camera unit is communicatively connected to the controller, for capturing a first-perspective image and sending the first-perspective image to the controller;
[0039] The controller stores a computer program, and when the computer program is executed by the controller, it can implement the child height measurement method described in any one of the above aspects to determine the height data of the measured child.
[0040] Preferably, there are two bottom camera units, namely a first bottom camera unit and a second bottom camera unit;
[0041] The first bottom camera unit is fixedly connected to the base and is used to capture the first perspective image; the first perspective image includes the side of the target shoe of the child being tested;
[0042] The second bottom camera unit is fixedly connected to the bracket body and is used to capture a second perspective image; the second perspective image includes the front or back of the target shoe of the measured child.
[0043] Preferably, the child height measurement device further includes an interactive component;
[0044] The interactive component includes a display screen and / or a speaker, and the interactive component is communicatively connected to the controller; the interactive component is used to obtain the height data and display and / or play the height data.
[0045] In another aspect, this specification provides a device for measuring the height of a child, comprising:
[0046] an acquisition unit, configured to acquire a first-perspective image and target height data, and determine that the first-perspective image includes a target shoe of the child being tested;
[0047] a determination unit, configured to determine whether the target shoe in the first perspective image matches any model shoe in a pre-stored children's shoe database; if so, obtaining sole thickness data of the model shoe that matches the target shoe; if not, identifying the first perspective image based on a sole thickness recognition model to determine the sole thickness data of the target shoe;
[0048] A determination unit is used to determine the height data of the measured child based on the target height data and the sole thickness data.
[0049] On the other hand, the present specification provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the child height measurement method provided in the above aspect.
[0050] On the other hand, this specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for measuring the height of children provided in the above aspect is implemented.
[0051] On the other hand, this specification provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device implements the child height measurement method provided in the above aspect.
[0052] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0053] In the child height measurement method provided in this specification, target height data and a first-person perspective image of a target shoe of the child being measured are obtained. A determination is then made as to whether the target shoe in the first-person perspective image matches any model shoe in a pre-stored children's shoe database. If so, sole thickness data of the model shoe matching the target shoe is obtained. If not, the first-person perspective image is identified based on a sole thickness recognition model to determine the sole thickness data of the target shoe. Finally, the height data of the child being measured is determined based on the target height data and the sole thickness data.
[0054] As can be seen from the above method, this method provides a rapid, shoe-free solution for measuring children's height, while also achieving high accuracy. For children who measure their height while wearing shoes, this electronic device uses image processing technology to eliminate the influence of shoes on height measurement, thereby improving the accuracy of child height measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The exemplary embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation of this specification. In the drawings:
[0056] Figure 1 A schematic diagram of a process for measuring a child's height according to an embodiment of the present disclosure;
[0057] Figure 2 A schematic structural diagram of children's shoes provided in one embodiment of this specification;
[0058] Figure 3 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0059] Figure 4 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0060] Figure 5 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0061] Figure 6 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0062] Figure 7 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0063] Figure 8 A schematic diagram of the structure of a child height measurement device provided in one embodiment of this specification;
[0064] Figure 9 A schematic diagram of a portion of the structure of a child height measurement device provided in one embodiment of this specification;
[0065] Figure 10 A schematic diagram of the acquisition range of a bottom camera unit provided for one embodiment of this specification;
[0066] Figure 11 A schematic diagram of the acquisition range of the first bottom camera unit provided in one embodiment of this specification;
[0067] Figure 12 This is a structural diagram of a child height measurement device provided in this manual. DETAILED DESCRIPTION
[0068] To make the purpose, technical solutions, and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in conjunction with the specific embodiments of this specification and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0069] In the description of the present invention, it should be noted that the term "or" is generally used in a sense including "and / or", unless the content clearly indicates otherwise.
[0070] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. In addition, in the description of this application, the terms "first," "second," etc. are used only to distinguish descriptions and should not be understood to indicate or imply relative importance.
[0071] Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0072] The technical solutions provided by the embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0073] Figure 1 A flow chart of a method for measuring the height of a child provided in one embodiment of this specification is shown as follows: Figure 1 As shown, the method specifically includes the following steps:
[0074] S100: Acquire a first-perspective image and target height data, and determine that the first-perspective image contains a target shoe of the child being tested.
[0075] In one or more embodiments of this specification, the child height measurement method can be executed by an electronic device. The electronic device can specifically be a child height measurement device, a single-chip microcomputer, etc. This specification does not limit the specific type of the electronic device.
[0076] When measuring a child's height, they may be measured with or without shoes. When measuring a child's height without shoes, the error is relatively small, while when measuring a child's height with shoes, the error is relatively large. Therefore, in one or more embodiments of this specification, the child height measurement method is limited to measuring with shoes.
[0077] Preferably, the electronic device can obtain a first-perspective image and target height data, wherein the first-perspective image includes the target shoe of the child being measured.
[0078] Preferably, the first perspective image includes a side surface of the target shoe.
[0079] S102: Determine whether the target shoe in the first perspective image matches any model shoe in the pre-stored children's shoe database. If the judgment result is yes, execute step S104; if the judgment result is no, execute step S106.
[0080] Preferably, the electronic device can pre-store a database of children's shoes. The database includes image information and label information of various children's shoes, as well as dimensional parameters corresponding to each size of each type of children's shoe, including sole thickness data, total shoe length, heel offset, and reference shoe height.
[0081] The label information includes brand, model, etc. The sole thickness data is the value of the height increase of the tested user caused by the children's shoes after the tested child wears the shoes. The total length of the shoe is the European distance between the toe and the heel in a first direction when the sole contacts the ground, and the first direction is parallel to the ground. The heel offset is the distance between the farthest end and the nearest end of the heel of the children's shoe in the first direction. The shoe reference height is the minimum distance between the preset position of the upper of the children's shoe and the sole. The preset position is close to the ankle of the tested child.
[0082] Preferably, the upper of the children's shoe is located in the groove, and the preset position is the lowest point of the groove.
[0083] Figure 2 This is a schematic diagram of the structure of children's shoes provided in one embodiment of this specification, as shown in FIG. Figure 2 The dimensional parameters of the children's shoes are shown in the figure. The total shoe length x1 is the Euclidean distance between the toe and the heel in a first direction when the sole is in contact with the ground. The heel offset x2 is the distance between the farthest and closest ends of the heel of the children's shoe in the first direction. The shoe reference height Y is the minimum distance between the sole and the upper of the children's shoe at a preset position.
[0084] Preferably, the electronic device may preferentially extract and pre-process the target shoe in the first-perspective image to obtain an intermediate image.
[0085] Preferably, the electronic device can match the intermediate image with the image information of each child's shoe in the child's shoe database based on a preset image matching algorithm. The image matching algorithm can be a Scale-Invariant Feature Transform (SIFT) algorithm, a Template Matching algorithm, or the like, and this specification does not limit this.
[0086] It will be understood by those skilled in the art that the relevant technologies of digital image processing have been developed to a relatively mature level. Therefore, this specification will not elaborate on the relevant contents in detail.
[0087] S104: Obtain the sole thickness parameter of the sample shoe that matches the target shoe. Then execute step S108.
[0088] Preferably, when the judgment result is yes, the electronic device can directly obtain the sole thickness data of the sample shoe that matches the target shoe.
[0089] Because the sole thickness of shoes of the same model but different sizes may vary, in one or more preferred embodiments of this specification, the electronic device can also recognize the first-person perspective image based on a sole thickness recognition model to determine the target total length of the target shoe. The target total length is the total length of the target shoe. The size information of the target shoe is then determined based on the target total length. Finally, based on the size information of the target shoe, matching sole thickness data is retrieved from the children's shoe database.
[0090] Using the above method, for popular and common children's shoes, the electronic device can directly obtain the sole thickness data from the database through image matching, without the need for sole thickness identification, which is highly efficient, accurate, and saves computing power.
[0091] S106: Based on a sole thickness recognition model, recognize the first perspective image to determine a sole thickness parameter of the target shoe.
[0092] Preferably, when the judgment result is negative, the electronic device needs to use a pre-trained sole thickness recognition model to determine the sole thickness data of the target shoe.
[0093] Specifically, the electronic device can determine the target shoe total length, the target shoe heel offset, the target shoe reference height, and the target shoe type based on the sole thickness recognition model.
[0094] The target total shoe length refers to the total length of the target shoe. The target heel offset refers to the heel offset of the target shoe. The target shoe reference height refers to the reference height of the target shoe. The meanings of the total shoe length, heel offset, and shoe reference height have been explained above and will not be repeated here.
[0095] The target shoe type could be sports shoes, skate shoes, sandals, basketball shoes, soccer shoes, etc. Furthermore, different shoe types may have different inner-outer length ratio parameters. For example, some shoe types have an inner-outer length ratio of 0.92, while others have an inner-outer length ratio of 0.83.
[0096] Preferably, the electronic device can determine the inner and outer length ratio parameter corresponding to the target shoe type according to the target shoe type.
[0097] Preferably, the electronic device can determine the sole thickness data using the following formula:
[0098] B=Y-k1k2(x1-x2)
[0099] Among them, B is the sole thickness data, Y is the reference height of the target shoe, x1 is the total length of the target shoe, x2 is the heel offset of the target shoe, k1 is the preset foot shape parameter, and k2 is the inner and outer length ratio parameter.
[0100] Furthermore, because the measured child's standing posture may be irregular, the acquisition angle of the first-perspective image may be biased, thereby causing errors in the total length of the target shoe and the heel offset of the target shoe. Therefore, in one or more preferred embodiments of this specification, the electronic device can also acquire a second-perspective image.
[0101] The first perspective image and the second perspective image are captured at different angles.
[0102] Preferably, the second-perspective image includes the front of the target shoe and the relative position of the target shoe and the child height measurement device. It should be emphasized that both the first-perspective image and the second-perspective image are captured by an image sensor. If the child being measured has an irregular standing posture, or the distance between the target shoe and the image sensor that captured the first-perspective image is too close or too far, the sole thickness data determined based on the first-perspective image may be inaccurate.
[0103] Therefore, in one or more preferred embodiments provided in this specification, the electronic device can determine the correction parameters of the target shoe based on the second perspective image through digital image processing technology.
[0104] For example, the electronic device can determine the actual distance between the target shoe and the preset position based on the second perspective image. Then, based on the preset standard distance and sensor parameters, the correction parameter is determined using the following formula:
[0105]
[0106] Wherein, C is the preset standard distance, D is the target distance, and k4 is the preset sensor parameter.
[0107] Preferably, the sensor parameter can be 0.5, 0.8, 1, 1.5, etc., and this specification does not limit it.
[0108] Of course, the electronic device may also determine the correction parameter in other ways, which is not limited in this specification.
[0109] Finally, the electronic device can update the sole thickness data using the following formula:
[0110] B=Y-k1k2k3(x1-x2)
[0111] Wherein, k3 is the correction parameter.
[0112] Using the above method, even if the sample shoes corresponding to the shoes worn by the tested child are not included in the children's shoe database, the electronic device can also identify the target shoes in the first-person image through the pre-trained sole thickness recognition model, thereby determining the sole thickness data of the target shoes.
[0113] S108: Determine the height data of the measured child according to the target height data and the sole thickness data.
[0114] The electronic device can determine the difference between the target height data and the sole thickness data as the height data of the measured child.
[0115] Studies have shown that height-increasing insoles can affect children's growth and development. Few children wear height-increasing insoles, so this manual does not consider the impact of height-increasing insoles.
[0116] Children typically also wear ordinary insoles and socks. Therefore, in one or more preferred embodiments of this specification, the electronic device also pre-stores adjustment parameters. When determining height data, the electronic device can determine the height data of the child being measured as the difference between the target height data, the shoe sole thickness data, and the adjustment parameters.
[0117] based on Figure 1In the child height measurement method shown, the electronic device can obtain target height data and a first-person perspective image of a target shoe of the child being measured. It then determines whether the target shoe in the first-person perspective image matches any model shoe in a pre-stored children's shoe database. If so, the sole thickness data of the model shoe that matches the target shoe is obtained. If not, the first-person perspective image is recognized based on a sole thickness recognition model to determine the sole thickness data of the target shoe. Finally, the height data of the child being measured is determined based on the target height data and the sole thickness data.
[0118] It can be seen from the above method that for children who measure their height while wearing shoes, the electronic device can eliminate the influence of shoes on height measurement through image processing technology, thereby improving the accuracy of children's height measurement.
[0119] The child being measured may also have his or her height measured by taking off shoes. Therefore, in one or more preferred embodiments of the present specification, when executing step S100, the electronic device may also determine that the first-perspective image does not contain the target shoes of the child being measured.
[0120] Specifically, when the electronic device determines that the target shoe of the child being measured is not included in the first-perspective image, it can directly determine the target height data as the height of the child being measured and stop executing steps S102 to S108.
[0121] For shoes for which no corresponding sample shoes are stored in the children's shoe database, the electronic device may further store the corresponding data. Thus, in one or more preferred embodiments provided herein, after completing step S106, the electronic device may further store the corresponding data in the following manner.
[0122] Specifically, the electronic device may determine the target shoes as children's shoes to be stored, store the information of the children's shoes to be stored, and import the data of the children's shoes to be stored into the children's shoe database when it is determined that the children's shoes to be stored meet the preset storage conditions.
[0123] The storage conditions include: responding to a user's operation and / or the existence of multiple children's shoes to be stored corresponding to the children's shoes to be stored, etc., and this manual does not impose any restrictions on this.
[0124] Preferably, when there are multiple children's shoes corresponding to the children's shoes to be stored, the electronic device also uses the average of the sole thickness parameters of all the children's shoes to be stored as the sole thickness parameter of the children's shoes to be stored that meet the storage conditions. The correspondence can be completely identical, or the same model but different colors.
[0125] Preferably, the electronic device can also obtain facial information of the child being tested, and compare the facial information with information in a pre-stored member facial database to determine whether the child being tested is a member child.
[0126] Preferably, the electronic device can also obtain facial information of the child being tested, and determine and store the child identification of the child being tested.
[0127] Preferably, the electronic device can also store the height data. Moreover, during the storage process, the height data is also associated with the child representation of the measured child. Furthermore, the height data is also associated with a timestamp.
[0128] Preferably, for each child being measured, the electronic device can also determine the stored height data of the child being measured based on the child identification of the child being measured. Based on the height, timestamp, and other information, as well as the height data obtained in this measurement, it can determine whether the height development pattern of the child being measured is consistent with the pre-stored height development pattern of ordinary children, and issue a prompt message indicating whether the height development pattern is consistent with or not, to be used for prompting via devices such as speakers and displays. Furthermore, the electronic device can also generate a digital twin to enrich the prompt method.
[0129] Preferably, before executing step S100 and determining the target shoe in the first-perspective image, the electronic device is further configured to determine whether the target shoe in the first-perspective image is obscured. If so, an obstruction prompt is issued to prompt the child to remove the obstruction of the target shoe through a speaker, display, or other device. The electronic device then reacquires the first-perspective image and re-determines whether the target shoe in the first-perspective image is obscured until the determination result is negative. If negative, the subsequent steps are continued.
[0130] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0131] The above is a method for measuring the height of children provided in one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding device for measuring the height of children.
[0132] Figure 3 、 Figure 4 、 Figure 5 、 Figure 6 、 Figure 7 as well as Figure 8 Each of them is a schematic diagram of the structure of a child height measuring device provided by an embodiment of this specification. Figure 3 、 Figure 4 、 Figure 5 、 Figure 6、 Figure 7 as well as Figure 8 As shown, the child height measuring device includes a bracket 1, a top measurement sensor 2, and a bottom camera unit, wherein the bottom camera unit includes a first bottom camera unit 31 and a second bottom camera unit 32.
[0133] Preferably, the children's height measuring device further includes a controller.
[0134] Preferably, the controller is built into the bracket, the top measurement sensor or the bottom camera unit.
[0135] Preferably, the bracket body includes a base 13, a bracket body 11 and a top extension 12 connected in sequence, such as Figure 9 shown. Figure 9 This is a partial structural diagram of a child height measurement device provided in one embodiment of this specification.
[0136] Preferably, the top measurement sensor is fixedly connected to the top extension member, and the top measurement sensor is communicatively connected to the controller for collecting target height data and sending the target height data to the controller.
[0137] Preferably, the bottom camera unit is fixedly connected to the base or the bracket body, and the bottom camera unit is communicatively connected to the controller for capturing the first-perspective image and sending the first-perspective image to the controller.
[0138] Preferably, the controller stores a computer program, which, when executed by the controller, can implement the child height measurement method provided in any one of the above embodiments to determine the height data of the measured child.
[0139] Preferably, the communication connection method includes electrical connection, Bluetooth connection, wireless local area network connection, etc. This specification does not limit the connection method of the communication connection.
[0140] Preferably, there are multiple bottom camera units, and the postures of the multiple bottom camera units are different.
[0141] Preferably, the bottom camera unit is also used to capture a second perspective image and send the second perspective image to the controller.
[0142] Preferably, there are two bottom camera units, namely a first bottom camera unit and a second bottom camera unit.
[0143] Preferably, the first bottom camera unit is fixedly connected to the base and is used to capture the first perspective image, wherein the first perspective image includes the side of the target shoe of the child being measured.
[0144] Preferably, the second bottom camera unit is fixedly connected to the bracket body and is used to capture a second perspective image, wherein the second perspective image includes the front or back of the target shoe of the child being tested.
[0145] Preferably, the orientation of the first bottom camera unit is a first camera orientation, and the orientation of the second bottom camera unit is a second camera orientation. The angle between the first camera orientation and the second camera orientation is at least 45 degrees.
[0146] Figure 10 A schematic diagram of the collection range of the bottom camera unit provided for one embodiment of this specification, wherein the first bottom camera unit 31 corresponds to the first collection area 33 , and the second bottom camera unit 32 corresponds to the second collection area 34 . Figure 11 A schematic diagram of the acquisition range of the first bottom camera unit provided in one embodiment of this specification is shown as follows: Figure 10 as well as Figure 11 As shown, the first acquisition area 33 corresponds to the first perspective image, and the second acquisition area 34 corresponds to the second perspective image.
[0147] Preferably, the child height measuring device further comprises an interactive component. Figure 6 as well as Figure 4 shown.
[0148] Preferably, the interactive component includes a display screen and / or a speaker, and the interactive component is communicatively connected to the controller.
[0149] Preferably, the interactive component is used to obtain the height data and display and / or play the height data.
[0150] During the measurement process, the shoes may be covered by the trouser legs or skirt of the child being measured. Therefore, in a preferred embodiment provided in this specification, the controller is also used to determine whether the target shoe is blocked based on the first-perspective image.
[0151] Preferably, when the controller determines that the target shoe is blocked, the controller may send a blocking prompt instruction to the interactive component.
[0152] Preferably, the interactive component can display and / or play preset occlusion prompt information after receiving the occlusion prompt instruction to remind the tested child to remove the occlusion of the target shoe.
[0153] The above is a method for measuring the height of a child and a device for measuring the height of a child provided in one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding device for measuring the height of a child, such as Figure 12 shown.
[0154] Figure 12 This is a schematic diagram of a device for measuring the height of children provided in this manual. Figure 12 As shown, the device specifically includes:
[0155] An acquisition unit 800 is configured to acquire a first-perspective image and target height data, and determine that the first-perspective image includes a target shoe of the child being tested;
[0156] The determination unit 802 is configured to determine whether the target shoe in the first-perspective image matches any model shoe in a pre-stored children's shoe database; if so, obtain sole thickness data of the model shoe that matches the target shoe; if not, recognize the first-perspective image based on a sole thickness recognition model to determine the sole thickness data of the target shoe;
[0157] The determination unit 804 is configured to determine the height data of the measured child according to the target height data and the shoe sole thickness data.
[0158] This specification also provides a computer-readable storage medium, which stores a computer program that can be used to execute the above Figure 1 Provided methods for measuring children's height.
[0159] This specification also provides a computer-readable storage medium, which stores a computer program that can be used to execute the above Figure 1 Provided methods for measuring children's height.
[0160] This specification also provides a computer program product, which, when the instructions in the computer program product are executed by a processor of an electronic device, enables the electronic device to implement the above-mentioned Figure 1 Provided methods for measuring children's height.
[0161] In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using a hardware module. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD through their own programming, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.
[0162] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also understand that in addition to implementing the controller in pure computer-readable program code, the controller can also be implemented in the form of logic gates, switches, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0163] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0164] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0165] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0166] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0167] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0169] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0170] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0171] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0172] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0173] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Thus, this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0174] This specification may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage devices.
[0175] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0176] The foregoing is merely an embodiment of the present invention and is not intended to limit the present invention. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the claims of this application.
Claims
1. A method for measuring the height of a child, characterized in that: include: Acquire a first-perspective image and target height data, and determine that the target shoe of the child being measured is included in the first-perspective image; the first-perspective image is acquired by a first bottom camera unit fixedly mounted on the base of the child height measurement device; the target height data is acquired by a top measurement sensor fixedly mounted on the top extension of the child height measurement device; Determining whether the target shoe in the first perspective image matches any model shoe in a pre-stored children's shoe database; If yes, then obtaining the sole thickness data of the sample shoe matching the target shoe; If not, identifying the first perspective image based on a sole thickness recognition model to determine the sole thickness data of the target shoe; Determining the height data of the measured child according to the target height data and the sole thickness data; The step of identifying the first perspective image based on the sole thickness recognition model to determine the sole thickness data of the target shoe includes: Based on the sole thickness recognition model, determine the total length of the target shoe, the target heel offset, the target shoe reference height, and the target shoe type; The target shoe heel offset is the distance between the farthest end and the closest end of the heel of the target shoe in a first direction; the first direction is the direction for determining the total length of the target shoe, the far end is the end away from the toe, and the close end is the end close to the toe; the target shoe reference height is the distance between a preset position of the upper of the target shoe and the sole; the preset position is close to the ankle of the child being tested; Determining, according to the target shoe type, a ratio parameter of inner and outer lengths corresponding to the target shoe type; Determine the sole thickness data using the following formula: B=Y-k1k2(x1-x2) Wherein, B is the sole thickness data, Y is the target shoe reference height, x1 is the target shoe total length, x2 is the target shoe heel offset, k1 is the preset foot shape parameter, and k2 is the inner and outer length ratio parameter; Acquire a second perspective image; the second perspective image is captured by a second bottom camera unit fixedly disposed on the main body of the child height measurement device bracket; determining the actual distance between the target shoe and the preset position according to the second perspective image; According to the actual distance, the preset standard distance and the sensor parameters, the correction parameters are determined by the following formula: Wherein, k3 is the correction parameter, C is the actual distance, D is the preset standard distance, and k4 is the preset sensor parameter; Update the sole thickness data using the following formula: B=Y-k1k2k3(x1-x2) Wherein, k3 is the correction parameter.
2. The method according to claim 1, characterized in that Before determining that the first perspective image includes the target shoe of the child being tested, the method further includes: Determining that the first perspective image does not include the target shoe of the child being tested; The target height data is determined as the height of the measured child.
3. The method according to claim 1, characterized in that After determining the sole thickness data of the target shoe, the method further includes: determining the target shoes as children's shoes to be stored, and storing information of the children's shoes to be stored; When it is determined that the children's shoes to be stored meet the preset storage conditions, the data of the children's shoes to be stored are imported into the children's shoes database; The storage conditions at least include: responding to a user's operation and / or the existence of a plurality of children's shoes to be stored corresponding to the children's shoes to be stored.
4. A device for measuring the height of children, characterized in that: include: bracket, top measurement sensor, bottom camera unit, and controller; The bracket body includes a base, a bracket body and a top extension piece connected in sequence; The top measurement sensor is fixedly connected to the top extension member, and the top measurement sensor is communicatively connected to the controller for collecting target height data and sending the target height data to the controller; The bottom camera unit is fixedly connected to the base or the bracket body, and the bottom camera unit is communicatively connected to the controller, for capturing a first-perspective image and sending the first-perspective image to the controller; The controller stores a computer program, and when the computer program is executed by the controller, it can implement the child height measurement method described in any one of claims 1 to 3 to determine the height data of the measured child.
5. The children's height measuring device according to claim 4, characterized in that: There are two bottom camera units, namely a first bottom camera unit and a second bottom camera unit; The first bottom camera unit is fixedly connected to the base and is used to capture the first perspective image; the first perspective image includes the side of the target shoe of the child being tested; The second bottom camera unit is fixedly connected to the bracket body and is used to capture a second perspective image; the second perspective image includes the front or back of the target shoe of the measured child.
6. The children's height measuring device according to claim 4, characterized in that: The child height measurement device further includes an interactive component; The interactive component includes a display screen and / or a speaker, and the interactive component is communicatively connected to the controller; the interactive component is used to obtain the height data and display and / or play the height data.
7. A device for measuring the height of children, characterized in that: include: an acquisition unit, configured to acquire a first-perspective image and target height data, and determine that the first-perspective image contains a target shoe of the child being measured; the first-perspective image is acquired by a first bottom camera unit fixedly mounted on the base of the child height measurement device; and the target height data is acquired by a top measurement sensor fixedly mounted on the top extension of the child height measurement device; a determination unit, configured to determine whether the target shoe in the first perspective image matches any model shoe in a pre-stored children's shoe database; if so, obtaining sole thickness data of the model shoe that matches the target shoe; if not, identifying the first perspective image based on a sole thickness recognition model to determine the sole thickness data of the target shoe; a determination unit, configured to determine the height data of the measured child based on the target height data and the sole thickness data; The step of identifying the first perspective image based on the sole thickness recognition model to determine the sole thickness data of the target shoe includes: Based on the sole thickness recognition model, determine the total length of the target shoe, the target heel offset, the target shoe reference height, and the target shoe type; The target shoe heel offset is the distance between the farthest end and the closest end of the heel of the target shoe in a first direction; the first direction is the direction for determining the total length of the target shoe, the far end is the end away from the toe, and the close end is the end close to the toe; the target shoe reference height is the distance between a preset position of the upper of the target shoe and the sole; the preset position is close to the ankle of the child being tested; Determining, according to the target shoe type, a ratio parameter of inner and outer lengths corresponding to the target shoe type; Determine the sole thickness data using the following formula: B=Y-k1k2(x1-x2) Wherein, B is the sole thickness data, Y is the target shoe reference height, x1 is the target shoe total length, x2 is the target shoe heel offset, k1 is the preset foot shape parameter, and k2 is the inner and outer length ratio parameter; Acquire a second perspective image; the second perspective image is captured by a second bottom camera unit fixedly disposed on the main body of the child height measurement device bracket; determining the actual distance between the target shoe and the preset position according to the second perspective image; According to the actual distance, the preset standard distance and the sensor parameters, the correction parameters are determined by the following formula: Wherein, k3 is the correction parameter, C is the actual distance, D is the preset standard distance, and k4 is the preset sensor parameter; Update the sole thickness data using the following formula: B=Y-k1k2k3(x1-x2) Wherein, k3 is the correction parameter.
8. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
9. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Intelligent adjusting system and method for car driver seat based on limb length predicting
CN108657029A
Height detection method and device based on image acquisition equipment
CN112464747A
Truck breast board height detection method and device, equipment and storage medium
CN112683179A