WO2021179230A1 - Scoliosis detection model generating method and computer device - Google Patents

Scoliosis detection model generating method and computer device Download PDF

Info

Publication number
WO2021179230A1
WO2021179230A1 PCT/CN2020/078899 CN2020078899W WO2021179230A1 WO 2021179230 A1 WO2021179230 A1 WO 2021179230A1 CN 2020078899 W CN2020078899 W CN 2020078899W WO 2021179230 A1 WO2021179230 A1 WO 2021179230A1
Authority
WO
WIPO (PCT)
Prior art keywords
moment
training sample
training
scoliosis
joint
Prior art date
Application number
PCT/CN2020/078899
Other languages
French (fr)
Chinese (zh)
Inventor
安丰伟
刘展志
Original Assignee
南方科技大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南方科技大学 filed Critical 南方科技大学
Priority to PCT/CN2020/078899 priority Critical patent/WO2021179230A1/en
Publication of WO2021179230A1 publication Critical patent/WO2021179230A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • This application relates to the field of detection technology, and in particular to a method and computer equipment for generating a scoliosis detection model.
  • Adolescent scoliosis is a common and frequently-occurring disease that endangers adolescents and children in my country, and the incidence is still increasing year by year. In 2015, a survey for junior high school students showed that 9.9% of students suffer from scoliosis. It is 3% of the world average. Therefore, the detection of scoliosis is particularly important.
  • the severity of scoliosis is mostly assessed by measuring the contralateral bending angle, and the most common method of angle measurement is the Cobb angle measurement method.
  • the image of the test person's spine bone is mainly obtained through X-ray irradiation, and the angle of the test person's Cobb angle is obtained through image recognition and calculation. This is the feature for classification through deep learning.
  • the disadvantage is that all obtained static information is information analysis. The amount is small, and the accuracy needs to be improved.
  • the technical problem to be solved by the present invention is to provide a method for generating a scoliosis detection model and computer equipment, so that the scoliosis detection model obtained by training can obtain more accurate detection results.
  • an embodiment of the present invention provides a method for generating a scoliosis detection model, and the method includes:
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
  • the traveling parameters include: the standing duration of the training sample during the traveling process, the arm length and leg length at each moment, and every two adjacent training samples during the traveling process The joint motion angle and travel speed at the moment; the acquiring training data includes:
  • the training sample is marching The joint motion angle and travel speed at every two adjacent moments in the process.
  • the collection of the spatial coordinates of the joint points at each moment in the traveling process includes:
  • the training sample is photographed by a three-dimensional camera to obtain a depth image of the training sample at each moment;
  • the space coordinates of the joint points at each time are obtained.
  • the joint motion angles and travel speeds of the training sample at every two adjacent moments in the travel process include:
  • the standing duration of the training sample during the traveling process is obtained, including:
  • the respective durations are added to obtain the standing duration.
  • the parameters of the initial neural network are adjusted according to the real result and the prediction result, and the step of inputting training data into the initial neural network to obtain the prediction result is continued until the prediction result is satisfied.
  • Set training conditions to obtain the trained scoliosis detection model including:
  • an embodiment of the present invention provides a method for detecting scoliosis, including:
  • test data corresponding to the object to be tested includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, the joint motion angles at two adjacent moments, and Travel speed
  • the test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side
  • the curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
  • the acquiring test data corresponding to the object to be tested includes:
  • the joint motion angle and the traveling speed of the object to be measured at the two adjacent moments are obtained.
  • an embodiment of the present invention provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when the computer program is executed:
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
  • test data corresponding to the object to be tested where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
  • the test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side
  • the curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
  • test data corresponding to the object to be tested where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
  • the test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side
  • the curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results; according to the real results and the predicted results, adjust the parameters of the initial neural network, and continue to perform the step of inputting the training data into the initial neural network to obtain the predicted results, until the preset training is satisfied Condition to get a trained scoliosis detection model.
  • the training data includes the travel parameters of a training sample at multiple times during the travel process, which is dynamic data.
  • the initial neural network is trained through the dynamic data during the travel process, so that the trained scoliosis detection model is actually used. Can get more accurate test results.
  • FIG. 1 is a schematic flowchart of a method for generating a scoliosis detection model in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of calculating the angle of the shoulder joint at the first moment in an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for detecting scoliosis in an embodiment of the present invention
  • Figure 4 is a diagram of the internal structure of a computer device in an embodiment of the present invention.
  • the image of the test person’s spine bone is mainly obtained through X-ray irradiation or ultrasound, and the angle of the test person’s Cobb angle is obtained through image recognition and calculation. This is the feature for classification through deep learning.
  • the disadvantage is that the cost of obtaining information is high, and All are static information, the amount of information analysis is small, and the accuracy needs to be improved.
  • a method for generating a scoliosis detection model is provided, training data is obtained, and the training data is input to an initial neural network to obtain a prediction result corresponding to the training data.
  • the training data includes the traveling parameters of a training sample at multiple moments in the traveling process and the real result corresponding to the training sample; according to the real result and the prediction result, the parameters of the initial neural network are adjusted and the execution continues The step of inputting the training data into the initial neural network to obtain the prediction result until the preset training condition is satisfied to obtain the trained scoliosis detection model.
  • the training data includes the travel parameters of a training sample at multiple times during the travel process, which is dynamic data.
  • the initial neural network is trained through the dynamic data during the travel process, so that the trained scoliosis detection model is actually used. Can get more accurate test results.
  • FIG. 1 shows a method for generating a scoliosis detection model in an embodiment of the present invention, and the method includes:
  • the training sample is a human, there are multiple training samples, the training data corresponds to one training sample, and the traveling process is the process of the training sample walking within a preset time.
  • the training data is obtained from the state at each moment during the journey.
  • the traveling parameters are dynamic parameters of a person during the traveling process, and the traveling parameters include: the standing duration of the training sample during the traveling process, the arm length and leg length at each moment, and the training sample during the traveling process The joint motion angle and travel speed at every two adjacent moments in the.
  • the acquiring training data includes:
  • the training sample when training data is collected, for a training sample, the training sample is allowed to start walking. You can choose to walk on a device with a conveyor belt.
  • the traveling process lasts for a preset time, and the preset time is Custom settings, for example, can be set to one minute, or half a minute. Collect the space coordinates of the joint points at each moment in the travel process during the travel process.
  • step S11 collecting the space coordinates of the joint points at each moment in the travel process in step S11 includes:
  • the training sample is photographed by a three-dimensional camera to obtain a depth image of the training sample at each time.
  • the depth image of the training sample during the travel is captured by a three-dimensional stereo camera, and the interval time between the two moments can be customized.
  • the interval time can be set to 1/12 second, that is, one frame is an interval time, and one depth image is taken for each frame.
  • the space coordinates of the joint points at each moment are extracted by the depth sensor. For a depth image at a moment, extract the depth information (spatial position) corresponding to each joint point in the depth image according to the pixel point corresponding to each joint point in the depth image, and express the depth information in the form of spatial coordinate points (X, Y, Z), That is, the space coordinates of the joint points are obtained.
  • step S12 includes:
  • S121 Obtain the standing duration of the training sample during the traveling process according to the spatial coordinates of the joint points at each moment in the traveling process of the training sample.
  • the spatial coordinates of the joint points are expressed in the form of (X, Y, Z).
  • a point in the traveling process is set as the origin.
  • the Z value of the space coordinate of the joint point (representing the height of the joint point from the origin) can be used to obtain the standing duration of the training sample during travel.
  • step S121 includes:
  • the preset value is a value of Z.
  • the preset value can be set to 5cm or 10cm.
  • the durations for which the spatial coordinates of the joint points are lower than the preset value are added to obtain the standing duration of the training sample during the traveling process.
  • the standing duration of the training sample during travel can also be obtained by measuring the plantar pressure.
  • the plantar pressure is detected by a pressure sensor to obtain the plantar pressure of the training sample during the traveling process, and the plantar pressure can be detected by a wearable pressure sensor.
  • the plantar pressure is greater than the threshold, it means that you are standing. When the plantar pressure is less than the threshold, it means that your feet leave the ground; when the plantar pressure is detected to be greater than the threshold, start timing until the plantar pressure is less than the threshold. A duration is obtained. During the process, record the duration of all plantar pressures greater than the threshold. The duration of each plantar pressure greater than the threshold is added to obtain the standing duration of the training sample during the marching process.
  • the sole of the training sample can be divided into several regions of interest (such as toes, soles, etc.), and the instantaneous average pressure value of each region can be calculated and recorded.
  • the pressure is distinguished by the color depth, and the plantar pressure distribution is reflected on the display screen in real time.
  • the displayed chromatogram image can be used to confirm whether the data collection process is smooth, so that when invalid data is collected, the posture can be adjusted or recollected in time.
  • the length of the forearm can be calculated by using the distance formula between the two points according to the space coordinates of the wrist joint and the elbow joint; the length of the forearm can be calculated according to the space coordinates of the elbow joint and the shoulder joint Boom length, calculate the boom length based on the forearm length and the boom length.
  • the calf length is calculated according to the spatial coordinates of the ankle joint and knee joint; and the thigh length is calculated according to the spatial coordinates of the knee joint and the iliac joint, and the leg length is obtained according to the calf length and the thigh length.
  • the joint motion angle includes the shoulder joint motion angle. See FIG. 2. Specifically, for a moment in the traveling process, this moment is regarded as the first moment, and the moment before this moment is regarded as the second moment. Time; Obtain the spatial coordinates of the elbow joint, shoulder joint and cervical spine in the depth image corresponding to the first moment, calculate the straight-line distance AC from the elbow joint to the shoulder joint according to the spatial coordinates of the elbow joint and shoulder joint, and calculate the linear distance AC from the elbow joint to the shoulder joint according to the spatial coordinates of the shoulder joint and cervical spine Calculate the straight-line distance BC from the shoulder joint to the cervical spine, and calculate the straight-line distance AB from the elbow joint to the cervical spine according to the spatial coordinates of the elbow joint and the cervical spine; take AC, BC and AB into the law of cosines to calculate the cosine value of the shoulder joint; The trigonometric function obtains the angle a of the shoulder joint at the first moment.
  • the same method is used to calculate the angle of the shoulder joint corresponding to the second moment. According to the angle of the shoulder joint at the first moment, the angle of the shoulder joint at the second moment, and the time interval between the first moment and the second moment, Obtain the joint motion angles of the training sample at two adjacent moments.
  • the spatial coordinates of any joint at the first moment are acquired, and the spatial coordinates of any joint are acquired to calculate the distance between the same joint at two adjacent moments to obtain training
  • the displacement of the sample in a time interval according to the time interval between the first moment and the second moment and the displacement, obtain the travel speed of the training sample at two adjacent moments.
  • the multiple sets of training data involved in the training there are multiple sets of training data involved in the training, and the multiple sets of training data correspond to multiple different real results.
  • the real results are the real results of the training sample scoliosis, and the real results represent the training samples.
  • the type of scoliosis and the degree of scoliosis can be marked with real marks for different real results.
  • the real result of a training sample is: no scoliosis, its real mark is T-0; a training sample
  • the true result of is: mild chest curvature, its true identification is T-1;
  • the true result of a training sample is: moderate chest curvature, its true identification is T-2.
  • the corresponding relationship between the specific real mark and the real result can be set according to actual needs.
  • the initial neural network predicts the result of the scoliosis of the training sample according to the training data, which is the prediction result, which is equivalent to the answer that the initial neural network solves according to the training data, and the real result is the standard Answer.
  • the prediction result is the result output by the initial neural network according to the training data, and the output result may be a prediction label.
  • the training data DATA-1 is input to the initial neural network, and the initial neural network outputs M-2, which identifies the initial neural network prediction
  • the prediction result corresponding to DATA-1 is the result corresponding to M-2, that is, moderate chest curvature.
  • step S2 includes:
  • an existing loss function is used to calculate the loss value, for example, a cross-entropy loss function is used to calculate the loss value.
  • the parameters of the initial neural network are that the loss value is propagated back to modify the parameters of the initial neural network to obtain the modified parameters.
  • the step of inputting training data into the initial neural network is continued until a preset training condition is met, where the preset training condition includes that the loss value meets the preset requirement or the number of training times reaches the preset number of times .
  • the preset requirement may be determined according to the trained scoliosis detection model, which will not be described in detail here.
  • the preset number of times may be the maximum number of training times of the initial neural network, for example, 50,000 times.
  • the loss value is calculated, it is determined whether the loss value meets the preset requirements, if the loss value meets the preset requirements, the training is ended, and if the loss value does not meet the preset requirements, the initial neural network is determined Whether the number of training times reaches the number of training times, if it does not reach the preset number of times, the parameters of the initial neural network are adjusted according to the loss value, and if the number of times reaches the preset number, the training ends, so that the loss function value and the number of training times are used to determine Judging whether the initial neural network training is over can prevent the initial neural network from entering an endless loop because the loss function value cannot meet the preset requirements.
  • the initial neural network needs to be continuously trained.
  • the execution continues to input the training data into the initial neural network, and the input training data may be training data that has not been input to the initial neural network.
  • all training data in the training data has a unique identification.
  • the identification of the training data input to the initial neural network for the first training is different from the identification of the training data input to the initial neural network for the second training.
  • the identification of the training data of the neural network is 1, the identification of the training data input to the initial neural network during the second training is 2, and the identification of the training data input to the initial neural network during the Nth training is N, when all training data is input
  • the training data that has participated in the training can be repeatedly input, so that the training data is input to the initial neural network in cycles.
  • the specific implementation manner of "continue to execute and input the training data into the initial neural network" is not limited.
  • the data of the training sample during the travel process is used as the training data (dynamic data), the training data is more comprehensive, and the scoliosis model obtained by training can obtain more accurate detection results.
  • an embodiment of the present invention also provides a method for detecting scoliosis, including:
  • test data corresponding to the object to be tested where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel.
  • the object to be tested is a person.
  • step K1 includes:
  • the object to be tested when the test data is collected, the object to be tested may start walking, and may choose to walk on a device with a conveyor belt.
  • the traveling process lasts for a preset time, and the preset time may be set to one minute. Start to collect the space coordinates of the joint points at each moment during the journey.
  • the depth image of the object to be measured is captured by a three-dimensional stereo camera during the traveling process, and the interval time between the two moments can be customized.
  • the shorter the interval time the more abundant training data is obtained.
  • the interval time can be set to 1/12 second, that is, one frame is an interval time, and one depth image is taken for each frame. The space coordinates of the joint points at each moment are extracted through the depth image.
  • the depth information (spatial position) corresponding to each joint point in the depth image is extracted according to the pixel point corresponding to each joint point in the depth image, and the depth information is The form of spatial coordinate points (X, Y, Z) is expressed, that is, the spatial coordinates of each joint point of the object to be measured are obtained.
  • the spatial coordinates of the joint points are expressed in the form of (X, Y, Z).
  • a point in the traveling process is set as the origin.
  • the Z value of the space coordinate of the joint point can be used to obtain the standing duration of the object to be measured during the traveling process.
  • the preset value is a value of Z.
  • the preset value can be set to 5 cm or any value between 5 cm and 10 cm.
  • the standing duration of the object to be measured during travel can also be obtained by measuring the plantar pressure.
  • the plantar pressure is detected by a pressure sensor to obtain the plantar pressure of the sample to be tested during traveling, and the plantar pressure can be detected by a wearable pressure sensor.
  • the plantar pressure is greater than the threshold, it means that you are standing. When the plantar pressure is less than the threshold, it means that your feet leave the ground; when the plantar pressure is detected to be greater than the threshold, start timing until the plantar pressure is less than the threshold. A duration is obtained. During the process, record the duration of all plantar pressures greater than the threshold. The duration of each plantar pressure greater than the threshold is added to obtain the standing duration of the object to be tested during travel.
  • the length of the forearm can be calculated by using the distance formula between the two points; the length of the forearm can be calculated according to the space coordinates of the elbow and shoulder joints, Calculate the arm length based on the forearm length and the boom length.
  • the calf length is calculated according to the spatial coordinates of the ankle joint and knee joint; and the thigh length is calculated according to the spatial coordinates of the knee joint and the iliac joint, and the leg length is obtained according to the calf length and the thigh length.
  • the joint motion angle includes the shoulder joint motion angle.
  • the space of the elbow joint, shoulder joint, and cervical spine in the depth image corresponding to the first moment is acquired Coordinates, calculate the straight-line distance from the elbow joint to the shoulder joint according to the spatial coordinates of the elbow and shoulder joints, calculate the straight-line distance from the shoulder joint to the cervical spine according to the spatial coordinates of the shoulder joint and the cervical spine, and calculate the elbow joint according to the spatial coordinates of the elbow joint and the cervical spine
  • the straight-line distance to the cervical spine; the straight-line distance from the elbow joint to the shoulder joint, the straight-line distance from the shoulder joint to the cervical spine and the straight-line distance from the elbow joint to the cervical spine are brought into the theorem of cosines to calculate the cosine value of the shoulder joint;
  • the angle of the shoulder joint at a moment is acquired Coordinates, calculate the straight-line distance from the elbow joint to the shoulder joint according to the spatial coordinates of the elbow and shoulder joints, calculate the straight-line distance from the shoulder joint to the cervical spine according
  • the angle of the shoulder joint corresponding to the second moment is calculated, based on the angle of the shoulder joint at the first moment, the angle of the shoulder joint at the second moment, and the first moment and the second moment.
  • the time interval between two moments is used to obtain the joint motion angles of the object to be measured at two adjacent moments.
  • the space coordinates of any joint at the first moment are obtained, and at the second moment of the two adjacent moments, the space of any joint is obtained
  • the coordinates are used to calculate the distance between the same joint at two adjacent moments to obtain the displacement of the training sample in a time interval.
  • the object to be tested is obtained in two phases. The speed of travel at the next moment.
  • the dynamic test data of the object to be tested during the traveling process is obtained according to the above steps.
  • the scoliosis detection model is a trained scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
  • the test data is input into the trained scoliosis detection model, the detection result can be obtained, and the scoliosis type and the degree of the scoliosis of the object to be tested can be obtained conveniently during medical diagnosis, for example, through
  • the trained scoliosis detection model obtains the corresponding detection result of the test data: moderate chest curvature.
  • the present invention collects dynamic information, and the amount of information is much larger than traditional static information, and can collect multi-dimensional information that cannot be collected by static information, for example: the object to be tested is in the process of traveling
  • the plantar pressure information, the arm length and leg length at each moment, the joint motion angle and travel speed of two adjacent moments provide conditions for improving the accuracy of judgment.
  • the scoliosis model obtained from this training is used in actual detection In scoliosis, more accurate detection results can be obtained, and the performance is better.
  • the present invention provides a computer device, which may be a terminal, and the internal structure is shown in FIG. 4.
  • the computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 4 is only a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • the specific computer equipment may include a diagram More or fewer components are shown in, or some components are combined, or have different component arrangements.
  • the embodiment of the present invention provides a computer device, including a memory and a processor, the memory stores a computer program, and is characterized in that the processor implements the following steps when the computer program is executed:
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
  • test data corresponding to the object to be tested where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
  • the test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side
  • the curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
  • the embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and is characterized in that, when the computer program is executed by a processor, the following steps are implemented:
  • training data and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
  • test data corresponding to the object to be tested where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
  • the test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side
  • the curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.

Abstract

A scoliosis detection model generating method and a computer device. The scoliosis detection model generating method comprises: acquiring training data, and inputting the training data into an initial neural network, so as to obtain a prediction result corresponding to the training data, the training data comprising advancing parameters of a training sample at multiple moments in an advancing process and a real result corresponding to the training sample; according to the real result and the prediction result, adjusting parameters of the initial neural network, and continuing to execute the step of inputting the training data into the initial neural network so as to obtain a prediction result, until a preset training condition is satisfied, so as to obtain a trained scoliosis detection model. The training data comprises advancing parameters of a training sample at multiple moments in an advancing process, and is dynamic data. The dynamic data in the advancing process is used to train the initial neural network, so that a more accurate detection result can be obtained by means of a trained scoliosis detection model in actual use.

Description

一种脊柱侧弯检测模型的生成方法和计算机设备Method and computer equipment for generating scoliosis detection model 技术领域Technical field
本申请涉及检测技术领域,特别是涉及一种脊柱侧弯检测模型的生成方法和计算机设备。This application relates to the field of detection technology, and in particular to a method and computer equipment for generating a scoliosis detection model.
背景技术Background technique
青少年脊柱侧弯是危害我国青少年儿童的常见病、多发病,并且发病率仍在逐年上升,2015年,的一份面向初中生的调查结果显示,有9.9%的学生患有脊柱侧弯,高于世界平均水平3%,因此,对脊柱侧弯的检测尤为重要。Adolescent scoliosis is a common and frequently-occurring disease that endangers adolescents and children in my country, and the incidence is still increasing year by year. In 2015, a survey for junior high school students showed that 9.9% of students suffer from scoliosis. It is 3% of the world average. Therefore, the detection of scoliosis is particularly important.
脊柱侧弯的严重程度多通过对侧弯曲角度的测量得以评估,而角度测量最常采用的是Cobb角度测量方法。目前,主要是通过X射线照射得到测试人脊柱骨骼图片,经过图像识别计算得到测试人Cobb角的角度,以此为特征通过深度学习进行分类,其缺点在于,得到的都是静态信息,信息分析量较小,准确度有待提高。The severity of scoliosis is mostly assessed by measuring the contralateral bending angle, and the most common method of angle measurement is the Cobb angle measurement method. At present, the image of the test person's spine bone is mainly obtained through X-ray irradiation, and the angle of the test person's Cobb angle is obtained through image recognition and calculation. This is the feature for classification through deep learning. The disadvantage is that all obtained static information is information analysis. The amount is small, and the accuracy needs to be improved.
因此,现有技术有待改进。Therefore, the existing technology needs to be improved.
发明内容Summary of the invention
本发明要解决的技术问题是,提供一种脊柱侧弯检测模型的生成方法和计算机设备,使训练得到脊柱侧弯检测模型可以得到更准确的检测结果。The technical problem to be solved by the present invention is to provide a method for generating a scoliosis detection model and computer equipment, so that the scoliosis detection model obtained by training can obtain more accurate detection results.
第一方面,本发明实施例提供了一种脊柱侧弯检测模型的生成方法,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for generating a scoliosis detection model, and the method includes:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model.
作为进一步的改进技术方案,所述行进参数包括:所述训练样本在行进过程 中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率;所述获取训练数据,包括:As a further improved technical solution, the traveling parameters include: the standing duration of the training sample during the traveling process, the arm length and leg length at each moment, and every two adjacent training samples during the traveling process The joint motion angle and travel speed at the moment; the acquiring training data includes:
采集一个训练样本在行进过程中每一时刻的关节点的空间坐标;Collect the spatial coordinates of the joint points of a training sample at each moment in the travel process;
根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率。According to the spatial coordinates of the joint points of the training sample at each moment in the marching process, the standing duration of the training sample in the marching process, the arm length and leg length at each moment are obtained, and the training sample is marching The joint motion angle and travel speed at every two adjacent moments in the process.
作为进一步的改进技术方案,所述采集在行进过程中每一时刻的关节点的空间坐标,包括:As a further improved technical solution, the collection of the spatial coordinates of the joint points at each moment in the traveling process includes:
在所述训练样本的行进过程中的每一时刻,通过三维立体相机拍摄所述训练样本,以得到所述训练样本在每一时刻的深度图像;At each moment during the travel of the training sample, the training sample is photographed by a three-dimensional camera to obtain a depth image of the training sample at each moment;
根据所述每一时刻的深度信息,得到每一时刻的关节点的空间坐标。According to the depth information at each time, the space coordinates of the joint points at each time are obtained.
作为进一步的改进技术方案,根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率,包括:As a further improved technical solution, according to the spatial coordinates of the joint points of the training sample at each time during the traveling process, the standing duration of the training sample during the traveling process, and the arm length and leg length at each time are obtained, And the joint motion angles and travel speeds of the training sample at every two adjacent moments in the travel process include:
根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间;Obtaining the standing duration of the training sample during the traveling process according to the spatial coordinates of the joint points at each moment in the traveling process of the training sample;
对于行进过程中的一个时刻,根据所述训练样本在该时刻的关节点的空间坐标,得到该训练样本在该时刻的臂长和腿长;For a moment in the traveling process, obtain the arm length and leg length of the training sample at that moment according to the spatial coordinates of the joint points of the training sample at that moment;
根据所述训练样本在该时刻的关节点的空间坐标,以及该时刻的前一时刻的关节点的空间坐标,得到两个相邻时刻的关节运动角度、行进速率。According to the spatial coordinates of the joint points of the training sample at this moment and the spatial coordinates of the joint points at the moment before this moment, the joint motion angles and travel speeds of two adjacent moments are obtained.
作为进一步的改进技术方案,根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间,包括:As a further improved technical solution, according to the spatial coordinates of the joint points of the training sample at each moment in the traveling process, the standing duration of the training sample during the traveling process is obtained, including:
获取所述关节点的空间坐标低于预设值的各持续时间;Acquiring each duration when the space coordinate of the joint point is lower than a preset value;
将所述各持续时间相加,以得到所述站立持续时间。The respective durations are added to obtain the standing duration.
作为进一步的改进技术方案,所述根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型,包括:As a further improved technical solution, the parameters of the initial neural network are adjusted according to the real result and the prediction result, and the step of inputting training data into the initial neural network to obtain the prediction result is continued until the prediction result is satisfied. Set training conditions to obtain the trained scoliosis detection model, including:
根据所述真实结果和所述预测结果计算损失值;Calculating a loss value according to the real result and the predicted result;
根据所述损失值调整所述初始神经网络的参数,并继续执行将训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。Adjust the parameters of the initial neural network according to the loss value, and continue to perform the step of inputting training data into the initial neural network to obtain a prediction result until a preset training condition is met to obtain a trained scoliosis detection model.
第二方面,本发明实施例提供了一种脊柱侧弯的检测方法,包括:In the second aspect, an embodiment of the present invention provides a method for detecting scoliosis, including:
获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率;Obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, the joint motion angles at two adjacent moments, and Travel speed
将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side The curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
作为进一步的改进技术方案,所述获取待测对象对应的测试数据,包括:As a further improved technical solution, the acquiring test data corresponding to the object to be tested includes:
采集在行进过程中每一时刻的关节点的空间坐标;Collect the space coordinates of the joint points at each moment in the travel process;
根据行进过程中每一时刻的关节点的空间坐标,得到站立持续时间;Obtain the standing duration according to the space coordinates of the joint points at each moment in the travel process;
根据所述待测对象在行进过程中每一时刻的关节点的空间坐标,得到该待测对象每一时刻的臂长、腿长;Obtain the arm length and leg length of the object to be measured at each time according to the spatial coordinates of the joint points at each time during the traveling process of the object to be measured;
根据所述待测对象在行进过程中两个相邻时刻的关节点的空间坐标,得到该待测对象在两个相邻时刻的关节运动角度、行进速率。According to the space coordinates of the joint points of the object to be measured at two adjacent moments in the traveling process, the joint motion angle and the traveling speed of the object to be measured at the two adjacent moments are obtained.
第三方面,本发明实施例提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when the computer program is executed:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型;According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model;
或者,获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节 运动角度和行进速率;Or, obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side The curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型;According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model;
或者,获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率;Or, obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side The curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
与现有技术相比,本发明实施例具有以下优点:Compared with the prior art, the embodiments of the present invention have the following advantages:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数,是动态的数据,通过行进过程中的动态数据训练初始神经网络,使得已训练的脊柱侧弯检测模型在实际使用时,能得到更准确的检测结果。Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results; according to the real results and the predicted results, adjust the parameters of the initial neural network, and continue to perform the step of inputting the training data into the initial neural network to obtain the predicted results, until the preset training is satisfied Condition to get a trained scoliosis detection model. The training data includes the travel parameters of a training sample at multiple times during the travel process, which is dynamic data. The initial neural network is trained through the dynamic data during the travel process, so that the trained scoliosis detection model is actually used. Can get more accurate test results.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本发明实施例中一种脊柱侧弯检测模型的生成方法的流程示意图;FIG. 1 is a schematic flowchart of a method for generating a scoliosis detection model in an embodiment of the present invention;
图2为本发明实施例中计算第一时刻的肩关节的角度的示意图;2 is a schematic diagram of calculating the angle of the shoulder joint at the first moment in an embodiment of the present invention;
图3为本发明实施例中一种脊柱侧弯的检测方法的流程示意图;FIG. 3 is a schematic flowchart of a method for detecting scoliosis in an embodiment of the present invention;
图4为本发明实施例中计算机设备的内部结构图。Figure 4 is a diagram of the internal structure of a computer device in an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
发明人经过研究发现,现有的脊柱侧弯的严重程度多通过对侧弯曲角度的测量得以评估,而角度测量最常采用的是Cobb角度测量方法。目前,主要是通过X射线照射或者超声波得到测试人脊柱骨骼图片,经过图像识别计算得到测试人Cobb角的角度,以此为特征通过深度学习进行分类,其缺点在于,获取信息成本高,并得到的都是静态信息,信息分析量较小,准确度有待提高。The inventor found through research that the severity of the existing scoliosis is mostly evaluated by the measurement of the contralateral bending angle, and the Cobb angle measurement method is most commonly used for angle measurement. At present, the image of the test person’s spine bone is mainly obtained through X-ray irradiation or ultrasound, and the angle of the test person’s Cobb angle is obtained through image recognition and calculation. This is the feature for classification through deep learning. The disadvantage is that the cost of obtaining information is high, and All are static information, the amount of information analysis is small, and the accuracy needs to be improved.
为了解决上述问题,在本发明实施例中,提供一种脊柱侧弯检测模型的生成方法,获取训练数据,将训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数,是动态的数据,通过行进过程中的动态数据训练初始神经网络,使得已训练的脊柱侧弯 检测模型在实际使用时,能得到更准确的检测结果。In order to solve the above problems, in the embodiment of the present invention, a method for generating a scoliosis detection model is provided, training data is obtained, and the training data is input to an initial neural network to obtain a prediction result corresponding to the training data. The training data includes the traveling parameters of a training sample at multiple moments in the traveling process and the real result corresponding to the training sample; according to the real result and the prediction result, the parameters of the initial neural network are adjusted and the execution continues The step of inputting the training data into the initial neural network to obtain the prediction result until the preset training condition is satisfied to obtain the trained scoliosis detection model. The training data includes the travel parameters of a training sample at multiple times during the travel process, which is dynamic data. The initial neural network is trained through the dynamic data during the travel process, so that the trained scoliosis detection model is actually used. Can get more accurate test results.
下面结合附图,详细说明本发明的各种非限制性实施方式。In the following, various non-limiting embodiments of the present invention will be described in detail with reference to the accompanying drawings.
请参阅图1,示出了本发明实施例中一种脊柱侧弯检测模型的生成方法,所述方法包括:Please refer to FIG. 1, which shows a method for generating a scoliosis detection model in an embodiment of the present invention, and the method includes:
S1、获取训练数据,将训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果。S1. Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, where the training data includes the travel parameters of a training sample at multiple times during the travel process and the training sample Corresponding real results.
本发明实施例中,所述训练样本为人,训练样本有多个,所述训练数据对应一个训练样本,所述行进过程为所述训练样本在一预设时间内行走的过程,根据训练样本在行进过程中每一时刻的状态,得到训练数据。所述行进参数为人在行进过程中的动态参数,所述行进参数包括:所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率。In the embodiment of the present invention, the training sample is a human, there are multiple training samples, the training data corresponds to one training sample, and the traveling process is the process of the training sample walking within a preset time. The training data is obtained from the state at each moment during the journey. The traveling parameters are dynamic parameters of a person during the traveling process, and the traveling parameters include: the standing duration of the training sample during the traveling process, the arm length and leg length at each moment, and the training sample during the traveling process The joint motion angle and travel speed at every two adjacent moments in the.
具体的,步骤S1中,所述获取训练数据,包括:Specifically, in step S1, the acquiring training data includes:
S11、采集一个训练样本在行进过程中每一时刻的关节点的空间坐标。S11. Collect the space coordinates of the joint points of a training sample at each moment in the traveling process.
本发明实施例中,在采集训练数据时,对于一个训练样本,令该训练样本开始行走,可以选择在具有传送带的设备上行走,所述行进过程持续一预设时间,所述预设时间为自定义设置,例如可以设置为一分钟,或半分钟。在行进过程中采集在行进过程中每一时刻的关节点的空间坐标。In the embodiment of the present invention, when training data is collected, for a training sample, the training sample is allowed to start walking. You can choose to walk on a device with a conveyor belt. The traveling process lasts for a preset time, and the preset time is Custom settings, for example, can be set to one minute, or half a minute. Collect the space coordinates of the joint points at each moment in the travel process during the travel process.
具体的,步骤S11中采集在行进过程中每一时刻的关节点的空间坐标,包括:Specifically, collecting the space coordinates of the joint points at each moment in the travel process in step S11 includes:
S111、在所述训练样本的行进过程中的每一时刻,通过三维立体相机拍摄所述训练样本,以得到所述训练样本在每一时刻的深度图像。S111. At each time during the travel of the training sample, the training sample is photographed by a three-dimensional camera to obtain a depth image of the training sample at each time.
在本发明实施例中,通过三维立体相机拍摄训练样本在行进过程中的深度图像,两个时刻之间的间隔时间可以自定设置,所述间隔时间越短,得到的训练数据越丰富。所述间隔时间可以设置为1/12秒,即一帧为一个间隔时间,每一帧拍摄一张深度图像。In the embodiment of the present invention, the depth image of the training sample during the travel is captured by a three-dimensional stereo camera, and the interval time between the two moments can be customized. The shorter the interval time, the more abundant training data is obtained. The interval time can be set to 1/12 second, that is, one frame is an interval time, and one depth image is taken for each frame.
S112、根据所述每一时刻的深度图像,得到每一时刻的关节点的空间坐标。S112. Obtain the space coordinates of the joint points at each time according to the depth image at each time.
在本发明实施例中,通过深度传感器提取每一时刻的关节点的空间坐标。对于一个时刻的深度图像,根据深度图像中各关节点对应的像素点,提取该像素点 对应的深度信息(空间位置),将深度信息以空间坐标点(X,Y,Z)的形式表示,即得到关节点的空间坐标。In the embodiment of the present invention, the space coordinates of the joint points at each moment are extracted by the depth sensor. For a depth image at a moment, extract the depth information (spatial position) corresponding to each joint point in the depth image according to the pixel point corresponding to each joint point in the depth image, and express the depth information in the form of spatial coordinate points (X, Y, Z), That is, the space coordinates of the joint points are obtained.
S12、根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率。S12. According to the spatial coordinates of the joint points of the training sample at each time during the traveling process, obtain the standing duration of the training sample during the traveling process, the arm length and leg length at each time, and the training sample The joint motion angle and travel speed at every two adjacent moments in the travel process.
具体的,步骤S12包括:Specifically, step S12 includes:
S121、根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间。S121: Obtain the standing duration of the training sample during the traveling process according to the spatial coordinates of the joint points at each moment in the traveling process of the training sample.
在本发明实施例中,关节点的空间坐标以(X,Y,Z)的形式表示,在实际使用时,将行进过程中的一个点设置为原点,例如,当指定训练样本在一具有传送带的设备上行走时,将该设备上传送带的一个顶点作为原点。通过关节点的空间坐标的Z的值(表示关节点距离原点的高度)可以得到所述训练样本在行进过程中的站立持续时间。In the embodiment of the present invention, the spatial coordinates of the joint points are expressed in the form of (X, Y, Z). In actual use, a point in the traveling process is set as the origin. For example, when the designated training sample has a conveyor belt When walking on the device, use a vertex of the conveyor belt on the device as the origin. The Z value of the space coordinate of the joint point (representing the height of the joint point from the origin) can be used to obtain the standing duration of the training sample during travel.
具体的,步骤S121包括:Specifically, step S121 includes:
S1211、获取所述关节点的空间坐标低于预设值的各持续时间。S1211. Obtain each duration when the space coordinate of the joint point is lower than a preset value.
在本发明实施例中,所述预设值为Z的值,例如,可以设置预设值为5cm或者10cm,在行进过程中,当检测到关节点的空间坐标的Z值低于预设值时开始计时,直至检测到关节点的空间坐标的Z的值高于预设值,得到一个持续时间,在行进过程中,记录所有关节点的空间坐标低于预设值的各持续时间。In the embodiment of the present invention, the preset value is a value of Z. For example, the preset value can be set to 5cm or 10cm. During travel, when it is detected that the Z value of the space coordinate of the joint point is lower than the preset value Start timing at, until it is detected that the Z value of the space coordinate of the joint point is higher than the preset value, and a duration is obtained. During the traveling process, the duration of the space coordinates of all related nodes below the preset value is recorded.
S1212、将所述各持续时间相加,以得到所述站立持续时间。S1212. Add the respective durations to obtain the standing duration.
在本发明实施例中,将关节点的空间坐标低于预设值的各持续时间相加,得到训练样本在行进过程中的站立持续时间。In the embodiment of the present invention, the durations for which the spatial coordinates of the joint points are lower than the preset value are added to obtain the standing duration of the training sample during the traveling process.
在另一种实现方式中,也可以通过测量足底压力来获得训练样本在行进过程中的站立持续时间。具体的,通过压力传感器检测足底压力,以得到所述训练样本在行进过程中的足底压力,可通过穿戴式压力传感器检测足底压力。In another implementation manner, the standing duration of the training sample during travel can also be obtained by measuring the plantar pressure. Specifically, the plantar pressure is detected by a pressure sensor to obtain the plantar pressure of the training sample during the traveling process, and the plantar pressure can be detected by a wearable pressure sensor.
足底压力大于阈值表示是站立状态,当足底压力小于阈值代表足部离开地面;当检测到足底压力大于阈值时,开始计时,直到足底压力小于阈值停止,得到一个持续时间,在行进过程中,记录所有足底压力大于阈值的持续时间。各个足底压力大于阈值的持续时间相加,得到训练样本在行进过程中的站立持续时间。If the plantar pressure is greater than the threshold, it means that you are standing. When the plantar pressure is less than the threshold, it means that your feet leave the ground; when the plantar pressure is detected to be greater than the threshold, start timing until the plantar pressure is less than the threshold. A duration is obtained. During the process, record the duration of all plantar pressures greater than the threshold. The duration of each plantar pressure greater than the threshold is added to obtain the standing duration of the training sample during the marching process.
在另一种实现方式中,可将训练样本的足底分成若干感兴趣区域(如脚趾,脚掌等),计算每个区域的瞬时平均压力值并记录。通过颜色深浅区分压力大小,实时将足底压力分布情况反映在显示屏上,可以通过显示的色谱图像确认数据采集过程是否顺利,以便于采集到无效数据时,及时调整姿势或者重新采集。In another implementation, the sole of the training sample can be divided into several regions of interest (such as toes, soles, etc.), and the instantaneous average pressure value of each region can be calculated and recorded. The pressure is distinguished by the color depth, and the plantar pressure distribution is reflected on the display screen in real time. The displayed chromatogram image can be used to confirm whether the data collection process is smooth, so that when invalid data is collected, the posture can be adjusted or recollected in time.
S122、对于行进过程中的一个时刻,根据所述训练样本在该时刻的关节点的空间坐标,得到该训练样本在该时刻的臂长和腿长。S122. For a moment in the traveling process, obtain the arm length and leg length of the training sample at that moment according to the spatial coordinates of the joint points of the training sample at that moment.
在本发明实施例中,对于行进过程中的一个时刻,根据腕关节和肘关节的空间坐标,采用两点之间的距离公式可以计算出小臂长度;根据肘关节和肩关节的空间坐标计算大臂长度,根据小臂长度和大臂长度计算臂长。同样,根据踝关节和膝关节的空间坐标计算小腿长度;以及膝关节和髂关节空间坐标计算大腿长度,根据小腿长度和大腿长度得到所述腿长。In the embodiment of the present invention, for a moment in the traveling process, the length of the forearm can be calculated by using the distance formula between the two points according to the space coordinates of the wrist joint and the elbow joint; the length of the forearm can be calculated according to the space coordinates of the elbow joint and the shoulder joint Boom length, calculate the boom length based on the forearm length and the boom length. Similarly, the calf length is calculated according to the spatial coordinates of the ankle joint and knee joint; and the thigh length is calculated according to the spatial coordinates of the knee joint and the iliac joint, and the leg length is obtained according to the calf length and the thigh length.
S123、根据所述训练样本在该时刻的关节点的空间坐标,以及该时刻的前一时刻的关节点的空间坐标,得到两个相邻时刻的关节运动角度、行进速率。S123: Obtain joint motion angles and travel speeds at two adjacent moments according to the spatial coordinates of the joint points of the training sample at the moment and the spatial coordinates of the joint points at the moment before the moment.
本发明实施例中,所述关节运动角度包括肩关节运动角度,参见图2,具体的,对于行进过程中的一个时刻,将该时刻作为第一时刻,将该时刻的前一时刻作为第二时刻;获取第一时刻对应的深度图像中肘关节、肩关节和颈椎的空间坐标,根据肘关节和肩关节的空间坐标计算肘关节到肩关节的直线距离AC,根据肩关节和颈椎的空间坐标计算肩关节到颈椎的直线距离BC,根据肘关节和颈椎的空间坐标,计算肘关节到颈椎的直线距离AB;将AC、BC和AB带入余弦定理,计算肩关节的余弦值;再根据反三角函数得到第一时刻的肩关节的角度a。对于第二时刻,采用同样的方法计算第二时刻对应的肩关节的角度,根据第一时刻的肩关节的角度、第二时刻的肩关节的角度以及第一时刻和第二时刻的时间间隔,得到该训练样本在两个相邻时刻的关节运动角度。In the embodiment of the present invention, the joint motion angle includes the shoulder joint motion angle. See FIG. 2. Specifically, for a moment in the traveling process, this moment is regarded as the first moment, and the moment before this moment is regarded as the second moment. Time; Obtain the spatial coordinates of the elbow joint, shoulder joint and cervical spine in the depth image corresponding to the first moment, calculate the straight-line distance AC from the elbow joint to the shoulder joint according to the spatial coordinates of the elbow joint and shoulder joint, and calculate the linear distance AC from the elbow joint to the shoulder joint according to the spatial coordinates of the shoulder joint and cervical spine Calculate the straight-line distance BC from the shoulder joint to the cervical spine, and calculate the straight-line distance AB from the elbow joint to the cervical spine according to the spatial coordinates of the elbow joint and the cervical spine; take AC, BC and AB into the law of cosines to calculate the cosine value of the shoulder joint; The trigonometric function obtains the angle a of the shoulder joint at the first moment. For the second moment, the same method is used to calculate the angle of the shoulder joint corresponding to the second moment. According to the angle of the shoulder joint at the first moment, the angle of the shoulder joint at the second moment, and the time interval between the first moment and the second moment, Obtain the joint motion angles of the training sample at two adjacent moments.
本发明实施例中,对于所述第一时刻,获取第一时刻的任一关节的空间坐标,获取所述任一关节的空间坐标,以计算同一关节在两个相邻时刻的距离,得到训练样本在一个时间间隔内的位移,根据第一时刻和第二时刻的时间间隔以及所述位移,得到该训练样本在两个相邻时刻的行进速率。显然,由于行进过程中的起始时刻没有前一时刻,因此所述第一时刻不能是行进过程中的起始时刻。In the embodiment of the present invention, for the first moment, the spatial coordinates of any joint at the first moment are acquired, and the spatial coordinates of any joint are acquired to calculate the distance between the same joint at two adjacent moments to obtain training The displacement of the sample in a time interval, according to the time interval between the first moment and the second moment and the displacement, obtain the travel speed of the training sample at two adjacent moments. Obviously, since the starting time in the traveling process does not have the previous time, the first time cannot be the starting time in the traveling process.
本发明实施例中,参与训练的有多组训练数据,多组训练数据对应多个不同 的真实结果,所述真实结果为训练样本脊柱侧弯的真实结果,所述真实结果表示所述训练样本的脊柱侧弯类型和脊柱侧弯程度的等级,可以为不同的真实结果打上真实标识,例如,一个训练样本的真实结果为:未患脊柱侧弯,其真实标识为T-0;一个训练样本的真实结果为:轻度胸弯,其真实标识为T-1;一个训练样本的真实结果为:中度胸弯,其真实标识为T-2。具体的真实标识和真实结果的对应关系,可以根据实际需要进行设定。In the embodiment of the present invention, there are multiple sets of training data involved in the training, and the multiple sets of training data correspond to multiple different real results. The real results are the real results of the training sample scoliosis, and the real results represent the training samples. The type of scoliosis and the degree of scoliosis can be marked with real marks for different real results. For example, the real result of a training sample is: no scoliosis, its real mark is T-0; a training sample The true result of is: mild chest curvature, its true identification is T-1; the true result of a training sample is: moderate chest curvature, its true identification is T-2. The corresponding relationship between the specific real mark and the real result can be set according to actual needs.
在本发明实施例中,初始神经网络会根据训练数据预测出该训练样本脊柱侧弯的结果,为预测结果,相当于预测结果为初始神经网络根据训练数据解出的答案,而真实结果为标准答案。所述预测结果为初始神经网络根据训练数据输出的结果,输出的结果可以是预测标签,例如,训练数据DATA-1输入初始神经网络,所述初始神经网络输出M-2,标识初始神经网络预测DATA-1对应的预测结果为M-2对应的结果,即中度胸弯。In the embodiment of the present invention, the initial neural network predicts the result of the scoliosis of the training sample according to the training data, which is the prediction result, which is equivalent to the answer that the initial neural network solves according to the training data, and the real result is the standard Answer. The prediction result is the result output by the initial neural network according to the training data, and the output result may be a prediction label. For example, the training data DATA-1 is input to the initial neural network, and the initial neural network outputs M-2, which identifies the initial neural network prediction The prediction result corresponding to DATA-1 is the result corresponding to M-2, that is, moderate chest curvature.
S2、根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。S2. Adjust the parameters of the initial neural network according to the real result and the prediction result, and continue to perform the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met, Obtain the trained scoliosis detection model.
在本发明实施例中,根据真实结果和预测结果计算损失值,再根据所述损失值调整初始神经网络的参数,具体的,步骤S2包括:In the embodiment of the present invention, the loss value is calculated according to the real result and the predicted result, and then the parameters of the initial neural network are adjusted according to the loss value. Specifically, step S2 includes:
S21、根据所述真实结果和所述预测结果计算损失值。S21: Calculate a loss value according to the real result and the predicted result.
本发明实施例中,利用现有的损失函数计算损失值,例如利用交叉熵损失函数计算损失值。In the embodiment of the present invention, an existing loss function is used to calculate the loss value, for example, a cross-entropy loss function is used to calculate the loss value.
S22、根据所述损失值调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。S22. Adjust the parameters of the initial neural network according to the loss value, and continue to execute the step of inputting the training data into the initial neural network to obtain a prediction result until a preset training condition is met to obtain the trained spine side Bend detection model.
在本发明实施例中,假设初始神经网络的参数为,将损失值反向传播修改初始神经网络的参数,得到修改后参数。In the embodiment of the present invention, it is assumed that the parameters of the initial neural network are that the loss value is propagated back to modify the parameters of the initial neural network to obtain the modified parameters.
本发明实施例中,修改参数之后再继续执行将训练数据输入初始神经网络步骤,直至满足预设训练条件,其中,所述预设训练条件包括损失值满足预设要求或者训练次数达到预设次数。所述预设要求可以是根据已训练的脊柱侧弯检测模型来确定,这里不做详细说明,所述预设次数可以为初始神经网络的最大训练次 数,例如,50000次等。由此,在计算得到损失值后,判断所述损失值是否满足预设要求,若损失值满足预设要求,则结束训练,若损失值不满足预设要求,则判断所述初始神经网络的训练次数是否达到训练次数,若未达到预设次数,则根据所述损失值对所述初始神经网络的参数进行调整,若达到预设次数,则结束训练,这样通过损失函数值和训练次数来判断初始神经网络训练是否结束,可以避免因损失函数值无法达到预设要求而造成初始神经网络进入死循环。In the embodiment of the present invention, after the parameters are modified, the step of inputting training data into the initial neural network is continued until a preset training condition is met, where the preset training condition includes that the loss value meets the preset requirement or the number of training times reaches the preset number of times . The preset requirement may be determined according to the trained scoliosis detection model, which will not be described in detail here. The preset number of times may be the maximum number of training times of the initial neural network, for example, 50,000 times. Therefore, after the loss value is calculated, it is determined whether the loss value meets the preset requirements, if the loss value meets the preset requirements, the training is ended, and if the loss value does not meet the preset requirements, the initial neural network is determined Whether the number of training times reaches the number of training times, if it does not reach the preset number of times, the parameters of the initial neural network are adjusted according to the loss value, and if the number of times reaches the preset number, the training ends, so that the loss function value and the number of training times are used to determine Judging whether the initial neural network training is over can prevent the initial neural network from entering an endless loop because the loss function value cannot meet the preset requirements.
进一步,由于对初始神经网络的参数进行修改是在初始神经网络的训练情况未满足预设条件,从而根据损失值对所述初始神经网络的参数进行修正后,需要继续对初始神经网络进行训练。Further, because the parameters of the initial neural network are modified when the training condition of the initial neural network does not meet the preset conditions, after the parameters of the initial neural network are corrected according to the loss value, the initial neural network needs to be continuously trained.
其中,继续执行将所述训练数据输入初始神经网络,输入的训练数据可以是均未输入过初始神经网络的训练数据。例如,训练数据中所有训练数据具有唯一标识,第一次训练输入初始神经网络的训练数据的标识与第二次训练输入初始神经网络的训练数据的标识不同,如,第一次训练时输入初始神经网络的训练数据的标识为1,第二次训练时输入初始神经网络的训练数据的标识为2,第N次训练时输入初始神经网络的训练数据的标识为N,当所有训练数据均输入过初始神经网络后,可以重复输入已经参与训练的训练数据,以使得训练数据按循环输入至初始神经网络。在本实施例中,不对“继续执行将所述训练数据输入初始神经网络”的具体实现方式进行限定。Wherein, the execution continues to input the training data into the initial neural network, and the input training data may be training data that has not been input to the initial neural network. For example, all training data in the training data has a unique identification. The identification of the training data input to the initial neural network for the first training is different from the identification of the training data input to the initial neural network for the second training. The identification of the training data of the neural network is 1, the identification of the training data input to the initial neural network during the second training is 2, and the identification of the training data input to the initial neural network during the Nth training is N, when all training data is input After the initial neural network, the training data that has participated in the training can be repeatedly input, so that the training data is input to the initial neural network in cycles. In this embodiment, the specific implementation manner of "continue to execute and input the training data into the initial neural network" is not limited.
现有技术中,对于检测者,只拍摄一张检测者的静态照片,通过分析此静态照片得该检测者的脊柱侧弯结果;仅靠一张检测者的静态照片,分析的数据太少,导致检测结果不准确。而本发明实施例中,将训练样本在行进过程中的数据作(动态数据)作训练数据,训练数据更全面,由此训练得到的脊柱侧弯模型可以得到更准确的检测结果。In the prior art, for the tester, only one static photo of the tester is taken, and the scoliosis result of the tester is obtained by analyzing the static photo; only one static photo of the tester requires too little data to be analyzed. Lead to inaccurate test results. In the embodiment of the present invention, the data of the training sample during the travel process is used as the training data (dynamic data), the training data is more comprehensive, and the scoliosis model obtained by training can obtain more accurate detection results.
参阅图3,本发明实施例还提供了一种脊柱侧弯的检测方法,包括:Referring to FIG. 3, an embodiment of the present invention also provides a method for detecting scoliosis, including:
K1、获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率。K1. Obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel.
本发明实施例中,所述待测对象为人,要测试一个人的脊柱侧弯情况,首先采集待测对象的测试数据。具体的,步骤K1包括:In the embodiment of the present invention, the object to be tested is a person. To test a person's scoliosis, first collect test data of the object to be tested. Specifically, step K1 includes:
K11、采集所述待测对象在行进过程中每一时刻的关节点的空间坐标。K11. Collect the space coordinates of the joint points of the object to be measured at each moment in the traveling process.
本发明实施例中,在采集测试数据时,令待测对象开始行走,可以选择在具有传送带的设备上行走,所述行进过程持续一预设时间,所述预设时间可以设置为一分钟。在行进过程中开始采集每一时刻的关节点的空间坐标。In the embodiment of the present invention, when the test data is collected, the object to be tested may start walking, and may choose to walk on a device with a conveyor belt. The traveling process lasts for a preset time, and the preset time may be set to one minute. Start to collect the space coordinates of the joint points at each moment during the journey.
在本发明实施例中,通过三维立体相机拍摄待测对象在行进过程中的深度图像,两个时刻之间的间隔时间可以自定设置,所述间隔时间越短,得到的训练数据越丰富。所述间隔时间可以设置为1/12秒,即一帧为一个间隔时间,每一帧拍摄一张深度图像。通过深度图像提取每一时刻的关节点的空间坐标,对于一个时刻的深度图像,根据深度图像中各关节点对应的像素点,提取该像素点对应的深度信息(空间位置),将深度信息以空间坐标点(X,Y,Z)的形式表示,即得到待测对象各关节点的空间坐标。In the embodiment of the present invention, the depth image of the object to be measured is captured by a three-dimensional stereo camera during the traveling process, and the interval time between the two moments can be customized. The shorter the interval time, the more abundant training data is obtained. The interval time can be set to 1/12 second, that is, one frame is an interval time, and one depth image is taken for each frame. The space coordinates of the joint points at each moment are extracted through the depth image. For the depth image at a time, the depth information (spatial position) corresponding to each joint point in the depth image is extracted according to the pixel point corresponding to each joint point in the depth image, and the depth information is The form of spatial coordinate points (X, Y, Z) is expressed, that is, the spatial coordinates of each joint point of the object to be measured are obtained.
K12、根据行进过程中每一时刻的关节点的空间坐标,得到采集对象的站立持续时间。K12. Obtain the standing duration of the collected object according to the space coordinates of the joint points at each moment in the traveling process.
在本发明实施例中,关节点的空间坐标以(X,Y,Z)的形式表示,在实际使用时,将行进过程中的一个点设置为原点,例如,当指定待测对象在一具有传送带的设备上行走时,将该设备上传送带的一个顶点作为原点。通过关节点的空间坐标的Z的值可以得到所述待测对象在行进过程中的站立持续时间。In the embodiment of the present invention, the spatial coordinates of the joint points are expressed in the form of (X, Y, Z). In actual use, a point in the traveling process is set as the origin. For example, when the object to be measured is specified When walking on a conveyor belt device, use a vertex of the conveyor belt on the device as the origin. The Z value of the space coordinate of the joint point can be used to obtain the standing duration of the object to be measured during the traveling process.
在本发明实施例中,所述预设值为Z的值,例如,可以设置预设值为5cm或者5cm-10cm之间的任一数值,在行进过程中,当检测到关节点的空间坐标的Z值低于预设值时开始计时,直至检测到关节点的空间坐标的Z值高于预设值,得到一个持续时间,在行进过程中,记录所有关节点的空间坐标低于预设值的各持续时间。将关节点的空间坐标低于预设值的各持续时间相加,得到待测对象在行进过程中的站立持续时间。In the embodiment of the present invention, the preset value is a value of Z. For example, the preset value can be set to 5 cm or any value between 5 cm and 10 cm. During travel, when the spatial coordinates of the joint points are detected Start timing when the Z value of is lower than the preset value, until it is detected that the Z value of the space coordinate of the joint point is higher than the preset value, and a duration is obtained. During the travel, the spatial coordinates of all the related nodes are recorded below the preset value. The duration of each value. The duration of the space coordinates of the joint points lower than the preset value is added to obtain the standing duration of the object to be tested during the traveling process.
在另一种实现方式中,也可以通过测量足底压力来获得待测对象在行进过程中的站立持续时间。具体的,通过压力传感器检测足底压力,以得到所述待测样本在行进过程中的足底压力,可通过穿戴式压力传感器检测足底压力。In another implementation manner, the standing duration of the object to be measured during travel can also be obtained by measuring the plantar pressure. Specifically, the plantar pressure is detected by a pressure sensor to obtain the plantar pressure of the sample to be tested during traveling, and the plantar pressure can be detected by a wearable pressure sensor.
足底压力大于阈值表示是站立状态,当足底压力小于阈值代表足部离开地面;当检测到足底压力大于阈值时,开始计时,直到足底压力小于阈值停止,得到一个持续时间,在行进过程中,记录所有足底压力大于阈值的持续时间。将各个足 底压力大于阈值的持续时间相加,得到待测对象在行进过程中的站立持续时间。If the plantar pressure is greater than the threshold, it means that you are standing. When the plantar pressure is less than the threshold, it means that your feet leave the ground; when the plantar pressure is detected to be greater than the threshold, start timing until the plantar pressure is less than the threshold. A duration is obtained. During the process, record the duration of all plantar pressures greater than the threshold. The duration of each plantar pressure greater than the threshold is added to obtain the standing duration of the object to be tested during travel.
K13、根据所述待测对象在行进过程中每一时刻的关节点的空间坐标,得到该待测对象每一时刻的臂长、腿长。K13. Obtain the arm length and leg length of the object to be measured at each time according to the space coordinates of the joint points at each time during the traveling process of the object to be measured.
在本发明实施例中,对于每一时刻,根据腕关节和肘关节的空间坐标,采用两点之间的距离公式可以计算小臂长度;根据肘关节和肩关节的空间坐标计算大臂长度,根据小臂长度和大臂长度计算臂长。同样,根据踝关节和膝关节的空间坐标计算小腿长度;以及膝关节和髂关节空间坐标计算大腿长度,根据小腿长度和大腿长度得到所述腿长。In the embodiment of the present invention, for each moment, according to the space coordinates of the wrist and elbow joints, the length of the forearm can be calculated by using the distance formula between the two points; the length of the forearm can be calculated according to the space coordinates of the elbow and shoulder joints, Calculate the arm length based on the forearm length and the boom length. Similarly, the calf length is calculated according to the spatial coordinates of the ankle joint and knee joint; and the thigh length is calculated according to the spatial coordinates of the knee joint and the iliac joint, and the leg length is obtained according to the calf length and the thigh length.
K14、根据所述待测对象在行进过程中两个相邻时刻的关节点的空间坐标,得到该待测对象在两个相邻时刻的关节运动角度、行进速率。K14. According to the space coordinates of the joint points of the object to be measured at two adjacent moments in the traveling process, the joint motion angle and the traveling speed of the object to be measured at two adjacent moments are obtained.
本发明实施例中,所述关节运动角度包括肩关节运动角度,具体的,对于两个相邻时刻中的第一时刻,获取第一时刻对应的深度图像中肘关节、肩关节和颈椎的空间坐标,根据肘关节和肩关节的空间坐标计算肘关节到肩关节的直线距离,根据肩关节和颈椎的空间坐标计算肩关节到颈椎的直线距离,根据肘关节和颈椎的空间坐标,计算肘关节到颈椎的直线距离;将肘关节到肩关节的直线距离、肩关节到颈椎的直线距离和肘关节到颈椎的直线距离带入余弦定理,计算肩关节的余弦值;再根据反三角函数得到第一时刻的肩关节的角度。In the embodiment of the present invention, the joint motion angle includes the shoulder joint motion angle. Specifically, for the first moment of two adjacent moments, the space of the elbow joint, shoulder joint, and cervical spine in the depth image corresponding to the first moment is acquired Coordinates, calculate the straight-line distance from the elbow joint to the shoulder joint according to the spatial coordinates of the elbow and shoulder joints, calculate the straight-line distance from the shoulder joint to the cervical spine according to the spatial coordinates of the shoulder joint and the cervical spine, and calculate the elbow joint according to the spatial coordinates of the elbow joint and the cervical spine The straight-line distance to the cervical spine; the straight-line distance from the elbow joint to the shoulder joint, the straight-line distance from the shoulder joint to the cervical spine and the straight-line distance from the elbow joint to the cervical spine are brought into the theorem of cosines to calculate the cosine value of the shoulder joint; The angle of the shoulder joint at a moment.
同样的,对于两个相邻时刻中的第二时刻,计算第二时刻对应的肩关节的角度,根据第一时刻的肩关节的角度、第二时刻的肩关节的角度以及第一时刻和第二时刻的时间间隔,得到待测对象在两个相邻时刻的关节运动角度。Similarly, for the second moment of the two adjacent moments, the angle of the shoulder joint corresponding to the second moment is calculated, based on the angle of the shoulder joint at the first moment, the angle of the shoulder joint at the second moment, and the first moment and the second moment. The time interval between two moments is used to obtain the joint motion angles of the object to be measured at two adjacent moments.
本发明实施例中,对于两个相邻时刻中的第一时刻,获取第一时刻的任一关节的空间坐标,在两个相邻时刻中的第二时刻,获取所述任一关节的空间坐标,以计算同一关节在两个相邻时刻的距离,得到训练样本在一个时间间隔内的位移,根据第一时刻和第二时刻的时间间隔以及所述位移,得到待测对象在两个相邻时刻的行进速率。In the embodiment of the present invention, for the first moment of two adjacent moments, the space coordinates of any joint at the first moment are obtained, and at the second moment of the two adjacent moments, the space of any joint is obtained The coordinates are used to calculate the distance between the same joint at two adjacent moments to obtain the displacement of the training sample in a time interval. According to the time interval between the first moment and the second moment and the displacement, the object to be tested is obtained in two phases. The speed of travel at the next moment.
本发明实施例中,根据上述步骤得到待测对象在行进过程中的动态测试数据。In the embodiment of the present invention, the dynamic test data of the object to be tested during the traveling process is obtained according to the above steps.
K2、将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的已训 练的脊柱侧弯检测模型。K2. Input the test data into a trained scoliosis detection model to obtain a detection result, where the detection result indicates the type and degree of scoliosis of the object to be tested, and the trained The scoliosis detection model is a trained scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
在本发明实施例中,将测试数据输入已训练的脊柱侧弯检测模型,可以得到检测结果,可以方便医疗诊断时,得到待测对象的脊柱侧弯类型和脊柱侧弯程度,例如,通过已训练的脊柱侧弯检测模型得到测试数据对应的检测结果为:中度胸弯。In the embodiment of the present invention, the test data is input into the trained scoliosis detection model, the detection result can be obtained, and the scoliosis type and the degree of the scoliosis of the object to be tested can be obtained conveniently during medical diagnosis, for example, through The trained scoliosis detection model obtains the corresponding detection result of the test data: moderate chest curvature.
在上述一种脊柱侧弯检测模型的生成方法中,本发明采集动态信息,信息量远大于传统静态信息,可以采集到静态信息采集不到的多维度信息,例如:待测对象在行进过程中的足底压力信息,每一时刻的臂长和腿长、两个相邻时刻的关节运动角度和行进速率,为提高判断准确性提供了条件,由此训练得到的脊柱侧弯模型在实际检测脊柱侧弯中可以得到更准确的检测结果,表现更好。In the above-mentioned method for generating a scoliosis detection model, the present invention collects dynamic information, and the amount of information is much larger than traditional static information, and can collect multi-dimensional information that cannot be collected by static information, for example: the object to be tested is in the process of traveling The plantar pressure information, the arm length and leg length at each moment, the joint motion angle and travel speed of two adjacent moments provide conditions for improving the accuracy of judgment. The scoliosis model obtained from this training is used in actual detection In scoliosis, more accurate detection results can be obtained, and the performance is better.
在一个实施例中,本发明提供了一种计算机设备,该设备可以是终端,内部结构如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种脊柱侧弯检测模型的生成方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, the present invention provides a computer device, which may be a terminal, and the internal structure is shown in FIG. 4. The computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating a scoliosis detection model is realized. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图4所示的仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the block diagram shown in FIG. 4 is only a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. The specific computer equipment may include a diagram More or fewer components are shown in, or some components are combined, or have different component arrangements.
本发明实施例提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:The embodiment of the present invention provides a computer device, including a memory and a processor, the memory stores a computer program, and is characterized in that the processor implements the following steps when the computer program is executed:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型;According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model;
或者,获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率;Or, obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side The curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现以下步骤:The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and is characterized in that, when the computer program is executed by a processor, the following steps are implemented:
获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型;According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model;
或者,获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率;Or, obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, and the joint movement at two adjacent moments. Angle and speed of travel;
将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为上述一种脊柱侧弯检测模型的生成方法得到的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the type of scoliosis and the degree of scoliosis of the object to be tested, and the trained spine side The curve detection model is a scoliosis detection model obtained by the above-mentioned method for generating a scoliosis detection model.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细, 但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are relatively specific and detailed, but they should not be understood as limiting the scope of invention patents. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (10)

  1. 一种脊柱侧弯检测模型的生成方法,其特征在于,所述方法包括:A method for generating a scoliosis detection model, characterized in that the method includes:
    获取训练数据,将所述训练数据输入初始神经网络,以得到所述训练数据对应的预测结果,其中,所述训练数据包括一个训练样本在行进过程中多个时刻的行进参数和所述训练样本对应的真实结果;Obtain training data, and input the training data into the initial neural network to obtain the prediction result corresponding to the training data, wherein the training data includes the traveling parameters of a training sample at multiple times during the traveling process and the training sample Corresponding real results;
    根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将所述训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。According to the real result and the prediction result, adjust the parameters of the initial neural network, and continue to execute the step of inputting the training data into the initial neural network to obtain the prediction result until the preset training conditions are met to obtain the Trained scoliosis detection model.
  2. 根据权利要求1所述的方法,其特征在于,所述行进参数包括:所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率;所述获取训练数据,包括:The method according to claim 1, wherein the traveling parameters include: standing duration of the training sample during the traveling process, arm length and leg length at each moment, and the training sample during the traveling process The joint motion angle and travel speed at every two adjacent moments in each of the two adjacent moments; the acquiring training data includes:
    采集一个训练样本在行进过程中每一时刻的关节点的空间坐标;Collect the spatial coordinates of the joint points of a training sample at each moment in the travel process;
    根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率。According to the spatial coordinates of the joint points of the training sample at each moment in the marching process, the standing duration of the training sample in the marching process, the arm length and leg length at each moment are obtained, and the training sample is marching The joint motion angle and travel speed at every two adjacent moments in the process.
  3. 根据权利要求2所述的方法,其特征在于,所述采集在行进过程中每一时刻的关节点的空间坐标,包括:The method according to claim 2, wherein the collecting the spatial coordinates of the joint points at each moment in the traveling process comprises:
    在所述训练样本的行进过程中的每一时刻,通过三维立体相机拍摄所述训练样本,以得到所述训练样本在每一时刻的深度图像;At each moment during the travel of the training sample, the training sample is photographed by a three-dimensional camera to obtain a depth image of the training sample at each moment;
    根据所述每一时刻的深度信息,得到每一时刻的关节点的空间坐标。According to the depth information at each time, the space coordinates of the joint points at each time are obtained.
  4. 根据权利要求2所述的方法,其特征在于,根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间、每个时刻的臂长和腿长,以及所述训练样本在行进过程中每两个相邻时刻的关节运动角度、行进速率,包括:The method according to claim 2, characterized in that, according to the spatial coordinates of the joint points of the training sample at each time during the traveling process, the standing duration of the training sample during the traveling process and the standing time of the training sample at each time are obtained. The arm length and leg length, as well as the joint motion angle and travel speed at every two adjacent moments during the travel of the training sample, include:
    根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间;Obtaining the standing duration of the training sample during the traveling process according to the spatial coordinates of the joint points at each moment in the traveling process of the training sample;
    对于行进过程中的一个时刻,根据所述训练样本在该时刻的关节点的空间坐标,得到该训练样本在该时刻的臂长和腿长;For a moment in the traveling process, obtain the arm length and leg length of the training sample at that moment according to the spatial coordinates of the joint points of the training sample at that moment;
    根据所述训练样本在该时刻的关节点的空间坐标,以及该时刻的前一时刻的 关节点的空间坐标,得到两个相邻时刻的关节运动角度、行进速率。According to the spatial coordinates of the joint points of the training sample at this moment and the spatial coordinates of the key nodes at the moment before this moment, the joint motion angles and travel speeds of two adjacent moments are obtained.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述训练样本在行进过程中每一时刻的关节点的空间坐标,得到所述训练样本在行进过程中的站立持续时间,包括:The method according to claim 4, wherein the obtaining the standing duration of the training sample during the traveling process according to the spatial coordinates of the joint points at each moment during the traveling process of the training sample comprises:
    获取所述关节点的空间坐标低于预设值的各持续时间;Acquiring each duration when the space coordinate of the joint point is lower than a preset value;
    将所述各持续时间相加,以得到所述站立持续时间。The respective durations are added to obtain the standing duration.
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述真实结果和所述预测结果,调整所述初始神经网络的参数,并继续执行将训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型,包括:The method according to claim 1, wherein the parameters of the initial neural network are adjusted according to the real result and the prediction result, and the execution of inputting training data into the initial neural network is continued to obtain the prediction result The steps until the preset training conditions are met to obtain the trained scoliosis detection model, including:
    根据所述真实结果和所述预测结果计算损失值;Calculating a loss value according to the real result and the predicted result;
    根据所述损失值调整所述初始神经网络的参数,并继续执行将训练数据输入初始神经网络,以得到预测结果的步骤,直至满足预设训练条件,以得到已训练的脊柱侧弯检测模型。Adjust the parameters of the initial neural network according to the loss value, and continue to perform the step of inputting training data into the initial neural network to obtain a prediction result until a preset training condition is met to obtain a trained scoliosis detection model.
  7. 一种脊柱侧弯的检测方法,其特征在于,所述方法包括:A method for detecting scoliosis, characterized in that the method includes:
    获取待测对象对应的测试数据,其中,所述测试数据包括所述待测对象在行进过程中的持续站立时间、每一时刻的臂长和腿长、相邻两个时刻的关节运动角度和行进速率;Obtain test data corresponding to the object to be tested, where the test data includes the continuous standing time of the object to be tested in the process of traveling, the arm length and leg length at each moment, the joint motion angles at two adjacent moments, and Travel speed
    将所述测试数据输入已训练的脊柱侧弯检测模型,以得到检测结果,其中,所述检测结果表示所述待测对象的脊柱侧弯类型和脊柱侧弯程度,所述已训练的脊柱侧弯检测模型为权利要求1至6中任一所述的脊柱侧弯检测模型。The test data is input into a trained scoliosis detection model to obtain a detection result, wherein the detection result indicates the scoliosis type and degree of the scoliosis of the object to be tested, and the trained spine side The bending detection model is the scoliosis detection model according to any one of claims 1 to 6.
  8. 根据权利要求7所述的方法,其特征在于,所述获取待测对象对应的测试数据,包括:The method according to claim 7, wherein said obtaining test data corresponding to the object to be tested comprises:
    采集所述待测对象在行进过程中每一时刻的关节点的空间坐标;Collecting the space coordinates of the joint points of the object to be measured at each moment in the traveling process;
    根据行进过程中每一时刻的关节点的空间坐标,得到站立持续时间;Obtain the standing duration according to the space coordinates of the joint points at each moment in the travel process;
    根据所述待测对象在行进过程中每一时刻的关节点的空间坐标,得到该待测对象每一时刻的臂长、腿长;Obtain the arm length and leg length of the object to be measured at each time according to the spatial coordinates of the joint points at each time during the traveling process of the object to be measured;
    根据所述待测对象在行进过程中两个相邻时刻的关节点的空间坐标,得到该待测对象在两个相邻时刻的关节运动角度、行进速率。According to the space coordinates of the joint points of the object to be measured at two adjacent moments in the traveling process, the joint motion angle and the traveling speed of the object to be measured at the two adjacent moments are obtained.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的一种脊柱侧弯检测模型的生成方法,或者权利要求7至8中任一项所述的一种脊柱侧弯的检测方法的步骤。A computer device, comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the spinal side according to any one of claims 1 to 6 when the computer program is executed. A method for generating a curve detection model, or the steps of a method for detecting scoliosis according to any one of claims 7 to 8.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的一种脊柱侧弯检测模型的生成方法,或者权利要求7至8中任一项所述的一种脊柱侧弯的检测方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, realizes the generation of a scoliosis detection model according to any one of claims 1 to 6 Method, or a step of a method for detecting scoliosis according to any one of claims 7 to 8.
PCT/CN2020/078899 2020-03-12 2020-03-12 Scoliosis detection model generating method and computer device WO2021179230A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/078899 WO2021179230A1 (en) 2020-03-12 2020-03-12 Scoliosis detection model generating method and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/078899 WO2021179230A1 (en) 2020-03-12 2020-03-12 Scoliosis detection model generating method and computer device

Publications (1)

Publication Number Publication Date
WO2021179230A1 true WO2021179230A1 (en) 2021-09-16

Family

ID=77671127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078899 WO2021179230A1 (en) 2020-03-12 2020-03-12 Scoliosis detection model generating method and computer device

Country Status (1)

Country Link
WO (1) WO2021179230A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114224322A (en) * 2021-10-25 2022-03-25 上海工程技术大学 Scoliosis assessment method based on human skeleton key points

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011250998A (en) * 2010-06-02 2011-12-15 Kyushu Institute Of Technology Device, method and program for determining symmetry
CN105769210A (en) * 2016-05-09 2016-07-20 中科院合肥技术创新工程院 Wearable home body posture detection Internet of Things terminal
US20170206691A1 (en) * 2014-03-14 2017-07-20 Magic Leap, Inc. Augmented reality systems and methods utilizing reflections
WO2018026838A1 (en) * 2016-08-02 2018-02-08 Atlas5D, Inc. Systems and methods to identify persons and/or identify and quantify pain, fatigue, mood, and intent with protection of privacy
CN109330602A (en) * 2018-11-01 2019-02-15 中山市人民医院 A kind of woman body intelligent evaluation detection device and method, storage medium
CN109493334A (en) * 2018-11-12 2019-03-19 深圳码隆科技有限公司 Measure the method and device of spinal curvature
CN109674477A (en) * 2018-08-06 2019-04-26 深圳创感科技有限公司 Computer vision Postural Analysis method based on deep learning
CN110495889A (en) * 2019-07-04 2019-11-26 平安科技(深圳)有限公司 Postural assessment method, electronic device, computer equipment and storage medium
CN111383221A (en) * 2020-03-12 2020-07-07 南方科技大学 Method for generating scoliosis detection model and computer equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011250998A (en) * 2010-06-02 2011-12-15 Kyushu Institute Of Technology Device, method and program for determining symmetry
US20170206691A1 (en) * 2014-03-14 2017-07-20 Magic Leap, Inc. Augmented reality systems and methods utilizing reflections
CN105769210A (en) * 2016-05-09 2016-07-20 中科院合肥技术创新工程院 Wearable home body posture detection Internet of Things terminal
WO2018026838A1 (en) * 2016-08-02 2018-02-08 Atlas5D, Inc. Systems and methods to identify persons and/or identify and quantify pain, fatigue, mood, and intent with protection of privacy
CN109674477A (en) * 2018-08-06 2019-04-26 深圳创感科技有限公司 Computer vision Postural Analysis method based on deep learning
CN109330602A (en) * 2018-11-01 2019-02-15 中山市人民医院 A kind of woman body intelligent evaluation detection device and method, storage medium
CN109493334A (en) * 2018-11-12 2019-03-19 深圳码隆科技有限公司 Measure the method and device of spinal curvature
CN110495889A (en) * 2019-07-04 2019-11-26 平安科技(深圳)有限公司 Postural assessment method, electronic device, computer equipment and storage medium
CN111383221A (en) * 2020-03-12 2020-07-07 南方科技大学 Method for generating scoliosis detection model and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114224322A (en) * 2021-10-25 2022-03-25 上海工程技术大学 Scoliosis assessment method based on human skeleton key points

Similar Documents

Publication Publication Date Title
Smeragliuolo et al. Validation of the Leap Motion Controller using markered motion capture technology
CN111383221B (en) Scoliosis detection model generation method and computer equipment
Napoli et al. Performance analysis of a generalized motion capture system using microsoft kinect 2.0
CN111358471B (en) Body posture detection device and detection method
Berner et al. Concurrent validity and within-session reliability of gait kinematics measured using an inertial motion capture system with repeated calibration
US20050004495A1 (en) Kinematic quantification of gait asymmetry based on bilateral cyclograms
US11547324B2 (en) System and method for human motion detection and tracking
Di Marco et al. Effects of the calibration procedure on the metrological performances of stereophotogrammetric systems for human movement analysis
Anwary et al. Validity and consistency of concurrent extraction of gait features using inertial measurement units and motion capture system
CN107256390B (en) Hand function evaluation device and method based on change of each part of hand in three-dimensional space position
Haratian et al. Toward flexibility in sensor placement for motion capture systems: a signal processing approach
Liu et al. Simple method integrating OpenPose and RGB-D camera for identifying 3D body landmark locations in various postures
WO2021179230A1 (en) Scoliosis detection model generating method and computer device
EP3808268B1 (en) System and method for shoulder proprioceptive analysis
Bartoszek et al. Comparison of the optoelectronic BTS Smart system and IMU-based MyoMotion system for the assessment of gait variables.
Fazeli et al. Estimation of spatial-temporal hand motion parameters in rehabilitation using a low-cost noncontact measurement system
US11497962B2 (en) System and method for human motion detection and tracking
JP7455991B2 (en) Information processing device and information processing method
CN115578789A (en) Scoliosis detection apparatus, system, and computer-readable storage medium
KR20230120341A (en) 3D human body joint angle prediction method and system using 2D image
Hellmers et al. Validation of a motion capture suit for clinical gait analysis
Prima et al. Evaluation of Joint Range of Motion Measured by Vision Cameras
Calma et al. Development of normative walking gait kinematics database for Filipinos using MS kinect V2
Davarzani et al. Closing the Wearable Gap: Foot–ankle kinematic modeling via deep learning models based on a smart sock wearable
Rungruangbaiyok et al. Shoulder Angle Measurement (SAM) system for home-based rehabilitation using computer vision with a web camera.

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20924778

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20924778

Country of ref document: EP

Kind code of ref document: A1