WO2018053912A1 - Method for real-time action recognition, and related bracelet and computing device - Google Patents

Method for real-time action recognition, and related bracelet and computing device Download PDF

Info

Publication number
WO2018053912A1
WO2018053912A1 PCT/CN2016/104841 CN2016104841W WO2018053912A1 WO 2018053912 A1 WO2018053912 A1 WO 2018053912A1 CN 2016104841 W CN2016104841 W CN 2016104841W WO 2018053912 A1 WO2018053912 A1 WO 2018053912A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
motion
computing device
training
sample
Prior art date
Application number
PCT/CN2016/104841
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 上海葡萄纬度科技有限公司
Publication of WO2018053912A1 publication Critical patent/WO2018053912A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-worn input/output arrangements, e.g. data gloves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Definitions

  • the present invention relates to the field of wearable device technology, and more particularly to a method for recognizing an action in real time and a corresponding wristband and computing device.
  • the bracelet is a popular wearable device that allows users to record real-time data on sports by wearing a bracelet.
  • parents are now more concerned about the health of children, the bracelet has gradually appeared in children's wearable devices.
  • wristbands are relatively simple, and users often lose interest after using them for a period of time. It is not easy to play a role in supervising sports, nor can it help children to keep fit. At the same time, it is difficult to make bracelets on the market at present. Accurately identify human movements in real time, such as jumping, squatting, swimming, playing basketball, playing badminton, etc.
  • the bracelet and some electronic products are combined to guide children's sports with interest as a guide.
  • subsequent software such as software on computing devices such as mobile phones, tablets, etc.
  • advanced applications such as interactive entertainment, physical education.
  • the present invention provides a method for recognizing an action in real time and a wristband using the same.
  • the method utilizes signal processing and pattern recognition algorithms to identify and classify certain specified actions (jump, squat, left jump, right jump, etc.).
  • a method for recognizing an action in real time comprising:
  • a wristband for realizing a real-time recognition action comprising:
  • a data measuring device for measuring motion related data
  • a wireless communication module for transmitting the measured related data of the motion to a computing device for use with the wristband.
  • a computing device for implementing a real-time recognition action comprising:
  • Data receiving means for receiving data related to motion obtained by the data measuring device of the computing device from a wristband used with the computing device; and a data reconstruction and synchronization module for acquiring by the data receiving device The data is reconstructed and synchronized as necessary.
  • FIG. 1 is a schematic view showing a wristband according to an embodiment of the present invention.
  • FIG. 2 is a functional block diagram showing the functional modules of the wristband of Figure 1;
  • FIG. 3 is a schematic diagram showing a wristband and a computing device in accordance with an embodiment of the present invention
  • FIG. 4 is a flow chart showing the basic steps of a real-time motion recognition method according to the present invention.
  • 5(a) and 5(b) illustrate exemplary raw gyro data and acceleration data, respectively;
  • Figure 6 shows an example of gyro data synchronized with the accelerometer time after reconstruction.
  • FIG. 1 is a schematic view showing a wristband according to an embodiment of the present invention.
  • the wristband is generally annular, and the instrument panel is embedded in the position of the ring.
  • the outer surface of the instrument panel is coated with a color EVA material coating, and the chain plate is provided on both sides of the instrument panel, and the ring structure is formed by the chain belt.
  • the chain belt is an EVA chain belt of the same color and material as the coating layer, and is integrally formed with the coating layer, and the chain connection at both sides is adjusted by the pin buckle to adjust the tightness when the bracelet is worn.
  • the wristband includes: a data measuring device including an accelerometer and a gyro instrument for detecting a triaxial acceleration and a triaxial angular velocity of motion, respectively; a Bluetooth module for transmitting the data measuring device via Bluetooth
  • a data measuring device including an accelerometer and a gyro instrument for detecting a triaxial acceleration and a triaxial angular velocity of motion, respectively
  • a Bluetooth module for transmitting the data measuring device via Bluetooth
  • a computing device that works with a bracelet, such as a cell phone, tablet, computer, and so on.
  • FIG. 3 is a schematic diagram showing a wristband and computing device in accordance with an embodiment of the present invention.
  • the functional modules included in the wristband and their functions are the same as the corresponding portions shown in FIG. 2, and the data receiving device and data are included in the computing device (eg, mobile phone, tablet, computer, etc.).
  • the data receiving device is configured to receive data measured by the data measuring device from the wristband via Bluetooth
  • the data reconstruction and synchronization module is configured to perform reconstruction and synchronization, which will be further described below, on the data acquired by the data receiving device.
  • the real-time motion recognition method mainly includes: 1. In step ST1, motion data acquisition is performed by a sensor of the wristband; 2. In step ST2, motion samples are collected and divided. To train the required samples and test the required samples in two parts; 3. In step ST3, use the samples required for training to perform feature learning and model training of the samples to obtain a motion recognition model; 4. In step ST4, use the test required The sample tests the motion recognition model.
  • the first step is to collect motion data.
  • This step is divided into three steps.
  • the basic task is to read the raw measurement data of the sensor from the wristband device containing the data measuring device, and then transfer the data to the computing device (mobile phone, tablet or PC) via Bluetooth, and then Perform the necessary sensor signal reconstruction and synchronization. Specific steps are as follows:
  • Accelerometers and gyroscopes are provided in the wristband device to provide three-axis acceleration measurements and angular velocity measurements. These measurements are then packaged in a suitable data organization format that conforms to the Bluetooth communication protocol (eg, BLE 4.0 Bluetooth Transmission Protocol).
  • Bluetooth communication protocol eg, BLE 4.0 Bluetooth Transmission Protocol
  • the data packet of the above measured value is transmitted by the Bluetooth transmission protocol of BLE4.0, and several sets of such data packets are transmitted each time.
  • This Bluetooth transmission protocol is supported by most current devices and is a low-power Bluetooth transmission protocol that can be used to extend battery life and reduce battery capacity.
  • the data receiving end sends the resolvable command to the wristband.
  • the wristband receives the data, the data measurement of the local sensor is started, and the data that the hand ring updates continuously is sent to the data receiving end through the Bluetooth transmission protocol, and the specific steps are as follows:
  • a client installed on a computing device such as a mobile phone, tablet, computer, etc. initializes and turns on Bluetooth, sends a control command to the Bluetooth layer of the wristband, turns on Bluetooth monitoring, and is ready to receive sensor data of the wristband.
  • the bracelet control system layer adds the currently acquired sensor data to the serial number and the timestamp generated by the data, and calls the Bluetooth transport layer to send to the client.
  • Step (c) specifies how to perform this signal reconstruction.
  • the gyroscope data with a low sampling rate is reconstructed by data interpolation to synchronize with the moment of the accelerometer. Take the most commonly used linear interpolation method as an example. The specific steps are as follows:
  • the data of the gyroscope at time t1 is G(t1)
  • the data of the gyroscope at time t2 is G(t2)
  • the data value G(t) of the time t between the time t1 and the time t2 of the gyroscope is as follows. :
  • Figures 5(a) and 5(b) show example raw gyroscope data and acceleration data, respectively.
  • Figure 6 shows an example of gyro data synchronized with the accelerometer time after reconstruction.
  • the above two steps are repeated to obtain the reconstructed gyroscope data synchronized with the accelerometer time shown in FIG. 6.
  • the second step is to collect the motion samples and randomly divide them into training samples and test samples. The two parts
  • the child wear a bracelet and guide the child to perform specified actions (such as jumping, squatting, jumping to the left, jumping to the right, etc.) to collect samples of the child's designated actions. And the collected samples are randomly divided into two parts, one part is the sample set required for training, and the other part is the sample set required for testing.
  • specified actions such as jumping, squatting, jumping to the left, jumping to the right, etc.
  • the third step is to use the samples required for training to perform sample labeling, feature extraction, and feature learning. Training with the model to get the motion recognition model
  • n 6 denotes 6 channels of the signal, that is, 3 channels of the gyroscope x, y, z and 3 channels of the accelerometer x, y, z;
  • Skewness which is the third-order central moment of each column of the sample, which can be calculated by:
  • Root mean square which can be calculated by:
  • Zero-crossing rate It indicates the number of times the data changes from a positive number to a negative number, or from a negative number to a positive number.
  • the correlation coefficient of the X and Y signal channels can be calculated by the following formula.
  • a i (n) is the data of the i-th channel
  • u(n) is the white noise sequence with the variance ⁇ 2
  • p is the order of the AR model
  • Quartile difference The quartile is used to describe the degree of dispersion of data. The calculation method is to calculate the difference between the third quartile and the first quartile after arranging the data from large to small.
  • the data for each channel is decomposed based on the wavelet transform of the multi-resolution analysis to obtain:
  • d jk is the detail coefficient
  • a jk is the approximation coefficient
  • k is a variable representing time
  • J is the number of decomposition layers.
  • the wavelet energy (WE) is equal to the sum of the squares of the wavelet detail coefficients after decomposition.
  • WE wavelet energy
  • the formula for calculating the fractal dimension is as follows, where ⁇ is the length of one side of the small cube, N( ⁇ ) is the number obtained by covering the measured body with this small cube, and the dimension formula means covering by using a small cube with a side length of ⁇
  • the measured shape determines the dimension of the shape.
  • the db4 wavelet is used to decompose the acceleration amplitude and the gyro amplitude separately for 7 layers, and the peak of the fourth layer approximation coefficient is detected.
  • Number of wavelet peaks The number of peaks of the fourth layer approximation coefficient.
  • Wavelet peak mean The average of the peaks of the fourth layer approximation coefficient.
  • Randomly select a certain number of combinations of the above features using some pattern classification algorithms (including but not limited to such as decision trees, Bayesian networks, artificial neural networks, K-nearest neighbors, support vector machines, Boosting, etc.), after calculation, from the above
  • Some pattern classification algorithms including but not limited to such as decision trees, Bayesian networks, artificial neural networks, K-nearest neighbors, support vector machines, Boosting, etc.
  • the model parameters of the selected pattern classification algorithm are obtained in the feature, and then the motion recognition model is obtained.
  • the fourth step is to test the motion recognition model with the samples required for the test.
  • test sample set obtained in the second step Using the test sample set obtained in the second step, repeat the step (b) in the third step to extract the feature, and put the feature into the motion recognition model to calculate the matching, and obtain the classification result, that is, identify the specific type of the action (jumping) Still squatting, left or right jump, etc.).
  • Embodiment 1 a method for recognizing a jumping action in real time
  • each action gets sd action data, starting from the starting point of each action data, taking f before and after Successive time data, such that an action data segment of length f is extracted, and the gyroscope and the accelerometer have a total of 6 signal channels, and the data segment of the action has 6 f measurement values; for each of the data segments Channels, each extracting 18 features, 6 channels can acquire 108 features, so that each type of action obtains a total of sd groups, each group of 108 features of the sample; randomly select 1/10 of the feature samples as test samples, the rest Usually as training samples; select any pattern classification algorithm (including and not limited to such as decision tree, Bayesian network, artificial neural network, K-nearest neighbor, support vector machine, Boosting, etc.).
  • the K-proximity method with training time complexity of 0 is used to train the training samples to obtain the motion
  • test sample is taken as a test to test the classification accuracy rate.
  • each action type acquires sd/10 data, calculates their respective characteristics, and puts these features into the already trained In a good model, the matching is calculated, and the classification result of each action is obtained. For example, whether the jumping action is recognized as a jump, whether the squatting action is recognized as a squat, and what ratio is correctly classified.
  • the test results show that the recognition accuracy of these actions can reach 90% to 95%.
  • the set of products skillfully applies the pattern recognition algorithm, extracts the characteristics of the action information, classifies the actions, and has a fast calculation speed and accurate classification, which can unify the hardware and software technology well.
  • This set of products has the following characteristics:
  • the detection algorithm is simple.
  • Each sorting test takes about 150ms.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A method for timely recognizing actions, comprising: acquiring movement data (ST1); collecting movement samples, and randomly classifying the movement samples into samples for training and samples for testing (ST2); performing marking, feature extraction, feature learning, and model training by using the samples for training, to obtain an action recognition model (ST3); and testing the action recognition model by using the samples for testing (ST4). Also disclosed are a bracelet and a computing device for real-time action recognition using the method.

Description

实时识别动作的方法以及相应的手环与计算设备Method for recognizing actions in real time and corresponding wristbands and computing devices 技术领域Technical field
本发明涉及可穿戴设备技术领域,更具体地说,涉及一种实时识别动作的方法以及相应的手环与计算设备。The present invention relates to the field of wearable device technology, and more particularly to a method for recognizing an action in real time and a corresponding wristband and computing device.
背景技术Background technique
手环是一款风靡的穿戴式设备,通过佩戴手环,用户可以记录运动的实时数据。在如今家长对儿童的健康情况愈加关心的情况下,手环已经逐步出现在儿童穿戴设备中。但是,目前的手环使用较简单,往往用户在使用一段时间后就失去兴趣,不易起到督促运动的作用,也无法起到帮助儿童强身健体,同时,目前市面上的手环产品很难准确实时地识别出人体动作,如跳跃、下蹲、游泳、打篮球、打羽毛球等动作。The bracelet is a popular wearable device that allows users to record real-time data on sports by wearing a bracelet. In the case that parents are now more concerned about the health of children, the bracelet has gradually appeared in children's wearable devices. However, the current use of wristbands is relatively simple, and users often lose interest after using them for a period of time. It is not easy to play a role in supervising sports, nor can it help children to keep fit. At the same time, it is difficult to make bracelets on the market at present. Accurately identify human movements in real time, such as jumping, squatting, swimming, playing basketball, playing badminton, etc.
针对以上问题,将手环和一些电子产品结合起来,以兴趣为向导,来激励儿童运动。利用模式识别算法,对一些指定动作(跳跃、下蹲、向左跳、向右跳等)进行识别分类,将分类结果提供给后续软件(例如诸如手机、平板等计算设备上的软件),以用于高级应用(如互动娱乐方面、体育教育方面)。In response to the above problems, the bracelet and some electronic products are combined to guide children's sports with interest as a guide. Using the pattern recognition algorithm to identify and classify some specified actions (jump, squat, left jump, right jump, etc.), and provide the classification results to subsequent software (such as software on computing devices such as mobile phones, tablets, etc.) For advanced applications (such as interactive entertainment, physical education).
发明内容Summary of the invention
为解决上述问题,本发明提供一种实时识别动作的方法以及采用该方法的手环。In order to solve the above problems, the present invention provides a method for recognizing an action in real time and a wristband using the same.
该方法利用信号处理和模式识别算法,对一些指定动作(跳跃、下蹲、向左跳、向右跳等)进行识别分类。The method utilizes signal processing and pattern recognition algorithms to identify and classify certain specified actions (jump, squat, left jump, right jump, etc.).
根据本发明的第一个主要方面,提供一种实时识别动作的方法,包括:According to a first main aspect of the present invention, a method for recognizing an action in real time is provided, comprising:
进行运动数据采集;收集运动样本,并将其随机分为训练所需样本以及测试所需样本两部分;利用所述训练所需样本进行样本的样本标记、特征提 取、特征学习与模型训练,得到动作识别模型;以及利用所述测试所需样本对所述动作识别模型进行测试。Perform motion data collection; collect motion samples and randomly divide them into training required samples and test required samples; use the training required samples to perform sample labeling and feature extraction Taking, feature learning and model training, obtaining a motion recognition model; and testing the motion recognition model using the samples required for the test.
根据本发明的第二个主要方面,提供用于实现实时识别动作的手环,包括:According to a second main aspect of the present invention, a wristband for realizing a real-time recognition action is provided, comprising:
数据测量装置,用于测量运动的相关数据;以及无线通信模块,用于将所测量的所述运动的相关数据发送给与所述手环配合使用的计算设备。a data measuring device for measuring motion related data; and a wireless communication module for transmitting the measured related data of the motion to a computing device for use with the wristband.
根据本发明的第三个主要方面,提供一种用于实现实时识别动作的计算设备,包括:According to a third main aspect of the present invention, a computing device for implementing a real-time recognition action is provided, comprising:
数据接收装置,用于从与所述计算设备配合使用的手环接收通过所述计算设备的数据测量装置获得的运动的相关数据;以及数据重建与同步模块,用于对通过数据接收装置获取的数据进行必要的重建与同步。Data receiving means for receiving data related to motion obtained by the data measuring device of the computing device from a wristband used with the computing device; and a data reconstruction and synchronization module for acquiring by the data receiving device The data is reconstructed and synchronized as necessary.
根据本发明的技术方案,可以通过简便的方法实现对动作的实时且相对准确可靠的识别。According to the technical solution of the present invention, real-time and relatively accurate and reliable recognition of actions can be realized by a simple method.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅描述本发明的一部分实施例。这些附图对于本发明来说并不是限制性的,而是起示例性的作用。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description merely describe some embodiments of the invention. These drawings are not intended to be limiting of the invention, but are exemplary.
图1为示出根据本发明的一个实施方式的手环的示意图;1 is a schematic view showing a wristband according to an embodiment of the present invention;
图2为示出图1中手环的功能模块的功能框图;Figure 2 is a functional block diagram showing the functional modules of the wristband of Figure 1;
图3为示出根据本发明的实施方式的手环与计算设备的示意图;3 is a schematic diagram showing a wristband and a computing device in accordance with an embodiment of the present invention;
图4为示出根据本发明的实时动作识别方法的基本步骤的流程图;4 is a flow chart showing the basic steps of a real-time motion recognition method according to the present invention;
图5(a)和图5(b)分别示出示例的原始陀螺仪数据以及加速度数据;5(a) and 5(b) illustrate exemplary raw gyro data and acceleration data, respectively;
图6示出重建后的与加速度计时刻同步的陀螺仪数据的例子。Figure 6 shows an example of gyro data synchronized with the accelerometer time after reconstruction.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施形式,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为示出根据本发明的一个实施方式的手环的示意图。如图1中所示,该手环整体为环状,环中位置内嵌仪表盘,仪表盘外表面包覆彩色EVA材质涂层,仪表盘两侧设置链带,通过链带构成环状结构,链带为与所述涂层相同颜色和材质的EVA链带,并与所述涂层整体成型,两侧链带连接处通过针扣缩放来调节手环佩戴时的松紧程度。FIG. 1 is a schematic view showing a wristband according to an embodiment of the present invention. As shown in FIG. 1 , the wristband is generally annular, and the instrument panel is embedded in the position of the ring. The outer surface of the instrument panel is coated with a color EVA material coating, and the chain plate is provided on both sides of the instrument panel, and the ring structure is formed by the chain belt. The chain belt is an EVA chain belt of the same color and material as the coating layer, and is integrally formed with the coating layer, and the chain connection at both sides is adjusted by the pin buckle to adjust the tightness when the bracelet is worn.
图2为示出图1中的手环的功能模块的功能框图。如图2中所示,该手环包括:数据测量装置,其包括加速度计与陀螺仪器,分别用于检测运动的三轴加速度和三轴角速度;蓝牙模块,用于通过蓝牙将数据测量装置发送给与手环配合使用的计算设备,如手机、平板电脑、电脑,等等。2 is a functional block diagram showing functional modules of the wristband of FIG. 1. As shown in FIG. 2, the wristband includes: a data measuring device including an accelerometer and a gyro instrument for detecting a triaxial acceleration and a triaxial angular velocity of motion, respectively; a Bluetooth module for transmitting the data measuring device via Bluetooth A computing device that works with a bracelet, such as a cell phone, tablet, computer, and so on.
图3为示出根据本发明的实施方式的手环与计算设备的示意图。如图3中所示,手环包括的功能模块及其功能与图2中所示出的相应部分相同,而计算设备(例如手机、平板电脑、电脑等等)之中包括数据接收装置以及数据重建与同步模块。其中,数据接收装置用于通过蓝牙从手环接收数据测量装置所测得的数据,而数据重建与同步模块用于对通过数据接收装置获取的数据进行以下将进一步进行说明的重建与同步。3 is a schematic diagram showing a wristband and computing device in accordance with an embodiment of the present invention. As shown in FIG. 3, the functional modules included in the wristband and their functions are the same as the corresponding portions shown in FIG. 2, and the data receiving device and data are included in the computing device (eg, mobile phone, tablet, computer, etc.). Rebuild and sync module. The data receiving device is configured to receive data measured by the data measuring device from the wristband via Bluetooth, and the data reconstruction and synchronization module is configured to perform reconstruction and synchronization, which will be further described below, on the data acquired by the data receiving device.
图4为示出根据本发明的实时动作识别方法的基本步骤的流程图。如图4中所示,根据本发明的实时动作识别方法主要包括:1.在步骤ST1中,通过手环的传感器进行运动数据采集;2.在步骤ST2中,收集运动样本,并将其分为训练所需样本以及测试所需样本两部分;3.在步骤ST3中,利用训练所需样本进行样本的特征学习与模型训练,得到动作识别模型;4.在步骤ST4中,利用测试所需样本对动作识别模型进行测试。下面,将对这些步骤进行进一步地说明。4 is a flow chart showing the basic steps of a real-time motion recognition method in accordance with the present invention. As shown in FIG. 4, the real-time motion recognition method according to the present invention mainly includes: 1. In step ST1, motion data acquisition is performed by a sensor of the wristband; 2. In step ST2, motion samples are collected and divided. To train the required samples and test the required samples in two parts; 3. In step ST3, use the samples required for training to perform feature learning and model training of the samples to obtain a motion recognition model; 4. In step ST4, use the test required The sample tests the motion recognition model. These steps will be further explained below.
第一步、进行运动数据采集The first step is to collect motion data.
本环节分为三个步骤,基本任务是从含有数据测量装置的手环设备中读取传感器的原始测量数据,之后把数据通过蓝牙传输到计算设备(手机、平板电脑或PC),并由后者进行必要的传感器信号重建和同步。具体步骤如下:This step is divided into three steps. The basic task is to read the raw measurement data of the sensor from the wristband device containing the data measuring device, and then transfer the data to the computing device (mobile phone, tablet or PC) via Bluetooth, and then Perform the necessary sensor signal reconstruction and synchronization. Specific steps are as follows:
(a)动作数据采集(a) Motion data collection
手环设备里面设置有加速度计和陀螺仪,分别提供三轴的加速度测量值和角速度测量值。然后以符合蓝牙通信协议(例如BLE4.0蓝牙传输协议)的合适的数据组织格式把这些测量值打包。Accelerometers and gyroscopes are provided in the wristband device to provide three-axis acceleration measurements and angular velocity measurements. These measurements are then packaged in a suitable data organization format that conforms to the Bluetooth communication protocol (eg, BLE 4.0 Bluetooth Transmission Protocol).
(b)通过蓝牙传输数据(b) Transfer data via Bluetooth
采用BLE4.0的蓝牙传输协议传输上述测量值的数据包,每次传送若干组这样的数据包。这种蓝牙传输协议为当前大多数设备所支持,而且也是一种低功耗的蓝牙传输协议,可用于延长设备的续航时间和减少电池的容量。数据接收端将可解析的指令发送给手环,手环接收到该数据就会开启本地传感器的数据测量,手环将不停更新的数据通过蓝牙传输协议发送给数据接收端,具体步骤如下:The data packet of the above measured value is transmitted by the Bluetooth transmission protocol of BLE4.0, and several sets of such data packets are transmitted each time. This Bluetooth transmission protocol is supported by most current devices and is a low-power Bluetooth transmission protocol that can be used to extend battery life and reduce battery capacity. The data receiving end sends the resolvable command to the wristband. When the wristband receives the data, the data measurement of the local sensor is started, and the data that the hand ring updates continuously is sent to the data receiving end through the Bluetooth transmission protocol, and the specific steps are as follows:
(1)客户端初始化配置:(1) Client initialization configuration:
安装在诸如手机、平板电脑、电脑等的计算设备上的客户端初始化并开启蓝牙,向手环蓝牙层发送控制指令,开启蓝牙监听,准备好接收手环的传感器数据。A client installed on a computing device such as a mobile phone, tablet, computer, etc. initializes and turns on Bluetooth, sends a control command to the Bluetooth layer of the wristband, turns on Bluetooth monitoring, and is ready to receive sensor data of the wristband.
(2)发送端组织数据:每10ms手环上的两个传感器会上报本地实时数据到手环控制系统层。(2) Transmitting organization data: Two sensors on the wristband every 10ms will report local real-time data to the bracelet control system layer.
手环控制系统层会将当前获取的传感器数据加上序号和数据生成的时间戳,调用蓝牙传输层,发送给客户端。The bracelet control system layer adds the currently acquired sensor data to the serial number and the timestamp generated by the data, and calls the Bluetooth transport layer to send to the client.
(3)客户端收到数据后,根据收到的数据包序号和时间戳,通过线性插值计算,进行信号重建,将数据处理成平滑的数据,以减少数据序号不连续和时间戳不均匀造成的信号失真的影响。下面的(c)步具体说明了如何进行该信号重建。(3) After receiving the data, the client performs signal reconstruction through linear interpolation calculation according to the received data packet sequence number and timestamp, and processes the data into smooth data to reduce data sequence discontinuity and uneven time stamp. The effect of signal distortion. Step (c) below specifies how to perform this signal reconstruction.
(c)传感器信号重建和同步 (c) Sensor signal reconstruction and synchronization
因为加速度计和陀螺仪数据的采样时刻和采样率很难达到同步,所以对往往采样率较低的陀螺仪数据采用数据插值的方法重建,以便与加速度计的时刻进行同步。下面以最常用的线性插值方法为例,具体步骤如下:Because the sampling time and sampling rate of the accelerometer and gyroscope data are difficult to synchronize, the gyroscope data with a low sampling rate is reconstructed by data interpolation to synchronize with the moment of the accelerometer. Take the most commonly used linear interpolation method as an example. The specific steps are as follows:
假设陀螺仪在t1时刻的数据为G(t1),陀螺仪在t2时刻的数据为G(t2),求陀螺仪在t1时刻与t2时刻间的时刻t的数据值G(t),具体如下:Assume that the data of the gyroscope at time t1 is G(t1), and the data of the gyroscope at time t2 is G(t2), and the data value G(t) of the time t between the time t1 and the time t2 of the gyroscope is as follows. :
Figure PCTCN2016104841-appb-000001
Figure PCTCN2016104841-appb-000001
图5(a)和图5(b)分别示出示例的原始陀螺仪数据以及加速度数据。图6示出重建后的与加速度计时刻同步的陀螺仪数据的例子。Figures 5(a) and 5(b) show example raw gyroscope data and acceleration data, respectively. Figure 6 shows an example of gyro data synchronized with the accelerometer time after reconstruction.
具体地,以如何获得陀螺仪在时刻t=[03:51:49.384]数值为例,来说明利用原始陀螺仪数据重建和同步的过程:Specifically, how to obtain the gyroscope at the time t=[03:51:49.384] as an example to illustrate the process of reconstructing and synchronizing data using the original gyroscope:
第一步.找到与加速度时刻t=[03:51:49.384]时间相近的前后陀螺仪数据时刻t1=[03:51:49.376]和t2=[03:51:49.387]的数据,First step. Find the data of the gyro data time t1=[03:51:49.376] and t2=[03:51:49.387] which are close to the acceleration time t=[03:51:49.384].
第二步,通过采用线性插值方法计算时刻t=[03:51:49.384]的陀螺仪数据,代入如上公式,即可得到G(t=[03:51:49.384])时刻数据值。In the second step, the gyroscope data at the time t=[03:51:49.384] is calculated by the linear interpolation method, and the G(t=[03:51:49.384]) time data value is obtained by substituting the above formula.
第三步,重复以上两个步骤,即可得到图6中所示的重建后的与加速度计时刻同步的陀螺仪数据。In the third step, the above two steps are repeated to obtain the reconstructed gyroscope data synchronized with the accelerometer time shown in FIG. 6.
第二步、收集运动样本,并将其随机分为训练所需样本以及测试所需样The second step is to collect the motion samples and randomly divide them into training samples and test samples. 本两部分The two parts
让儿童佩戴手环,并引导儿童做指定动作(如跳跃、下蹲、向左跳、向右跳等),从而收集儿童做指定动作的样本。并且将收集来的样本随机分为两部分,一部分作为训练所需样本集,另一部分为测试所需样本集。Let the child wear a bracelet and guide the child to perform specified actions (such as jumping, squatting, jumping to the left, jumping to the right, etc.) to collect samples of the child's designated actions. And the collected samples are randomly divided into two parts, one part is the sample set required for training, and the other part is the sample set required for testing.
第三步、利用训练所需样本进行样本的样本标记、特征提取、特征学习The third step is to use the samples required for training to perform sample labeling, feature extraction, and feature learning. 与模型训练,得到动作识别模型Training with the model to get the motion recognition model
对于第二步分出的训练所需样本集,进行样本的特征学习与模型训练,具体步骤如下:For the sample set required for training in the second step, perform feature learning and model training of the sample. The specific steps are as follows:
(a)对训练所需样本集中的样本类别进行标记,将数据标记为跳跃、下蹲、向左跳、向右跳等。(a) Mark the sample categories in the sample set required for training, marking the data as jumping, squatting, jumping to the left, jumping to the right, and so on.
(b)特征提取 (b) Feature extraction
利用上述分类好的每组标准数据,提取如下18个特征(其中模型系数有3个特征,小波峰有2个特征,共计18个)中的一个或多个特征,具体地,这些特征分别是:Using each of the above-mentioned classified standard data, one or more of the following 18 features (the model coefficient has 3 features and the wavelet peak has 2 features, a total of 18) are extracted. Specifically, these features are respectively :
若样本为m×n维矩阵(aij)i=1,...,m,j=1,…,n,m表示截取的信号长度,即所取的若干个时刻的信号数目,n=6表示信号的6个通道,也即陀螺仪的3个通道x,y,z以及加速度计的3个通道x,y,z;B=(bij)i=1,...,18,j=1,…,6,是18×6维矩阵,其表示样本对应的特征矩阵。If the sample is an m × n-dimensional matrix (a ij ) i = 1, ..., m, j = 1, ..., n , m represents the length of the intercepted signal, that is, the number of signals taken at several moments, n = 6 denotes 6 channels of the signal, that is, 3 channels of the gyroscope x, y, z and 3 channels of the accelerometer x, y, z; B = (b ij ) i = 1, ..., 18, j=1,...,6 is an 18×6-dimensional matrix representing the feature matrix corresponding to the sample.
1.绝对值均值:
Figure PCTCN2016104841-appb-000002
1. Absolute value mean:
Figure PCTCN2016104841-appb-000002
2.绝对值均值比:
Figure PCTCN2016104841-appb-000003
2. Absolute value mean ratio:
Figure PCTCN2016104841-appb-000003
3.方差:样本每列的二阶中心矩,其可以通过下式计算:3. Variance: The second-order central moment of each column of the sample, which can be calculated by:
Figure PCTCN2016104841-appb-000004
Figure PCTCN2016104841-appb-000004
4.峰度:样本每列的四阶中心矩,其可以通过下式计算:4. Kurtosis: The fourth-order central moment of each column of the sample, which can be calculated by:
Figure PCTCN2016104841-appb-000005
Figure PCTCN2016104841-appb-000005
μ代表均值,σ代表均方根μ stands for mean and σ stands for root mean square
5.偏度,即样本每列的三阶中心矩,其可以通过下式计算:5. Skewness, which is the third-order central moment of each column of the sample, which can be calculated by:
Figure PCTCN2016104841-appb-000006
Figure PCTCN2016104841-appb-000006
6.均方根,其可以通过下式计算:6. Root mean square, which can be calculated by:
Figure PCTCN2016104841-appb-000007
Figure PCTCN2016104841-appb-000007
7.平均绝对偏差,其可以通过下式计算:7. Average absolute deviation, which can be calculated by:
Figure PCTCN2016104841-appb-000008
Figure PCTCN2016104841-appb-000008
8.过零率:其表示数据从正数变负数,或从负数变正数的次数。 8. Zero-crossing rate: It indicates the number of times the data changes from a positive number to a negative number, or from a negative number to a positive number.
9.能量:即傅里叶变换的系数平方和,其可以通过下式计算。9. Energy: The sum of the squares of the coefficients of the Fourier transform, which can be calculated by the following formula.
Figure PCTCN2016104841-appb-000009
Figure PCTCN2016104841-appb-000009
10.相关系数10. Correlation coefficient
X,Y两信号通道的相关系数可用下式计算。The correlation coefficient of the X and Y signal channels can be calculated by the following formula.
Figure PCTCN2016104841-appb-000010
Figure PCTCN2016104841-appb-000010
其中,cov(X,Y)代表X与Y的协方差,δX,δY为X和Y的标准差。Where cov(X, Y) represents the covariance of X and Y, and δ X and δ Y are the standard deviations of X and Y.
11.模型系数(3个)11. Model coefficients (3)
先对每通道的数据进行AR(自回归)建模,即First perform AR (autoregressive) modeling on the data of each channel, ie
Figure PCTCN2016104841-appb-000011
Figure PCTCN2016104841-appb-000011
其中,ai(n)是第i通道的数据,u(n)是方差为σ2的白噪声序列,p是AR模型的阶数,λ是AR模型的系数,可以通过Burg算法求得。我们取p=4,选取λ2,λ3,λ4作为特征来提取。Where a i (n) is the data of the i-th channel, u(n) is the white noise sequence with the variance σ 2 , p is the order of the AR model, and λ is the coefficient of the AR model, which can be obtained by the Burg algorithm. We take p=4 and select λ2, λ3, λ4 as features to extract.
12.四分位差:四分位差用于描述数据的分散程度,其计算方法为将数据从大到小排列后,计算第三四分位数与第一四分位数的差距。12. Quartile difference: The quartile is used to describe the degree of dispersion of data. The calculation method is to calculate the difference between the third quartile and the first quartile after arranging the data from large to small.
13.小波能量13. Wavelet energy
对每一通道的数据都基于多分辨率分析的小波变换进行分解,得到:The data for each channel is decomposed based on the wavelet transform of the multi-resolution analysis to obtain:
Figure PCTCN2016104841-appb-000012
Figure PCTCN2016104841-appb-000012
Figure PCTCN2016104841-appb-000013
Figure PCTCN2016104841-appb-000013
其中,djk是细节系数,ajk是近似系数,φjk(n)是小波函数,定义为φjk(n)=2j/2φ(2jn-k),
Figure PCTCN2016104841-appb-000014
是尺度函数,定义为
Figure PCTCN2016104841-appb-000015
j是表示伸缩尺度的变量,k是表示时间的变量,J是分解层数。
Where d jk is the detail coefficient, a jk is the approximation coefficient, φ jk (n) is the wavelet function, defined as φ jk (n)=2 j/2 φ(2 j nk),
Figure PCTCN2016104841-appb-000014
Is a scaling function, defined as
Figure PCTCN2016104841-appb-000015
j is a variable representing the scale of expansion, k is a variable representing time, and J is the number of decomposition layers.
小波能量(WE)等于分解后小波细节系数的平方和。我们选择db5小波作为母小波,提取第4层和第5层的高频细节系数分量。The wavelet energy (WE) is equal to the sum of the squares of the wavelet detail coefficients after decomposition. We select the db5 wavelet as the mother wavelet and extract the high-frequency detail coefficient components of the 4th and 5th layers.
14.分形维数14. Fractal dimension
计算分形维数的公式如下,式中ε是小立方体一边的长度,N(ε)是用此小立方体覆盖被测形体所得的数目,维数公式意味着通过用边长为ε的小立方体覆盖被测形体来确定形体的维数。The formula for calculating the fractal dimension is as follows, where ε is the length of one side of the small cube, N(ε) is the number obtained by covering the measured body with this small cube, and the dimension formula means covering by using a small cube with a side length of ε The measured shape determines the dimension of the shape.
Figure PCTCN2016104841-appb-000016
Figure PCTCN2016104841-appb-000016
15.小波峰(2个,峰值和峰值数) 15. Small peaks (2, peak and peak number)
利用db4小波对加速度幅值和陀螺仪幅值分别进行7层分解,并检测出第四层近似系数的峰值。The db4 wavelet is used to decompose the acceleration amplitude and the gyro amplitude separately for 7 layers, and the peak of the fourth layer approximation coefficient is detected.
小波峰数量:第四层近似系数的峰值的数量。Number of wavelet peaks: The number of peaks of the fourth layer approximation coefficient.
小波峰均值:第四层近似系数的峰值的平均值。Wavelet peak mean: The average of the peaks of the fourth layer approximation coefficient.
(c)训练数据(c) Training data
随机选取一定数量的以上特征组合,利用某些模式分类算法(包括且不限于诸如决策树、贝叶斯网络、人工神经网络、K-近邻、支持向量机、Boosting等),经过计算,从上述特征中获得所选取模式分类算法的模型参数,进而得到动作识别模型。Randomly select a certain number of combinations of the above features, using some pattern classification algorithms (including but not limited to such as decision trees, Bayesian networks, artificial neural networks, K-nearest neighbors, support vector machines, Boosting, etc.), after calculation, from the above The model parameters of the selected pattern classification algorithm are obtained in the feature, and then the motion recognition model is obtained.
如利用支持向量机算法,那么获取ωTx+b=0中的ω和b的参数值;如利用K-近邻算法,那么获取特征向量之间合适的距离测度;如利用人工神经网络算法,那么获取网络节点的权值的偏置值。本领域技术人员熟知如何利用上述算法进行数据训练以获得相关动作识别模型,故在此不再赘述。If the support vector machine algorithm is used, the parameter values of ω and b in ω T x+b=0 are obtained; if the K-nearest neighbor algorithm is used, the appropriate distance measure between the feature vectors is obtained; for example, using an artificial neural network algorithm, Then get the offset value of the weight of the network node. Those skilled in the art are familiar with how to use the above algorithm to perform data training to obtain a related motion recognition model, and thus will not be described herein.
第四步、利用测试所需样本对动作识别模型进行测试The fourth step is to test the motion recognition model with the samples required for the test.
利用第二步取得的测试用样本集,重复第三步中的(b)步骤提取特征,把该特征放入动作识别模型中计算匹配,得到分类结果,即识别出来该动作的具体类型(跳跃还是下蹲,左跳还是右跳等等)。Using the test sample set obtained in the second step, repeat the step (b) in the third step to extract the feature, and put the feature into the motion recognition model to calculate the matching, and obtain the classification result, that is, identify the specific type of the action (jumping) Still squatting, left or right jump, etc.).
以上,是对本实时动作识别方法的基本步骤的一般说明。下面,将结合具体实施方式对利用本方法对一些特定动作进行实时识别进行进一步说明。The above is a general description of the basic steps of the real-time motion recognition method. In the following, the real-time identification of some specific actions by the present method will be further described in conjunction with the specific embodiments.
实施方式一、实时识别跳跃动作的方法Embodiment 1, a method for recognizing a jumping action in real time
受试者s人,每人做跳跃、下蹲、向左跳、向右跳动作各d次,则每类动作各得到sd个动作数据,从每个动作数据的起点开始,取f点前后相继的时刻数据,这样就提取到一个时间长度为f的动作数据片段,陀螺仪和加速度计合计有6个信号通道,则该动作的数据片段共有6f个测量值;对于该数据片段的每个通道,各提取18个特征,6通道就可以获取108个特征,这样每类动作共计获得sd组、每组108个特征的样本;随机从特征样本中选择1/10的作为测试样本,其余的大部分作为训练样本;选取任一模式分类算法(包括且不限于诸如决策树、贝叶斯网络、人工神经网络、K-近邻、支持向量机、 Boosting等)。为简化说明,采用训练时间复杂度为0的K-邻近方法对训练样本进行数据训练进而得到动作识别模型。The subject s person, each person doing jumping, squatting, jumping to the left, and jumping to the right for each d times, each action gets sd action data, starting from the starting point of each action data, taking f before and after Successive time data, such that an action data segment of length f is extracted, and the gyroscope and the accelerometer have a total of 6 signal channels, and the data segment of the action has 6 f measurement values; for each of the data segments Channels, each extracting 18 features, 6 channels can acquire 108 features, so that each type of action obtains a total of sd groups, each group of 108 features of the sample; randomly select 1/10 of the feature samples as test samples, the rest Mostly as training samples; select any pattern classification algorithm (including and not limited to such as decision tree, Bayesian network, artificial neural network, K-nearest neighbor, support vector machine, Boosting, etc.). In order to simplify the description, the K-proximity method with training time complexity of 0 is used to train the training samples to obtain the motion recognition model.
最后取测试样本作为测试,以检验分类正确率。具体地,对四类不同动作(原地向上跳跃、向左跳、向右跳、下蹲),每种动作类型获取sd/10组数据,分别计算其各自特征,把这些特征放入已经训练好的模型中计算匹配,得到每个动作的分类结果,如观察是否跳跃动作被识别为跳跃,下蹲动作是否被识别为下蹲,它们被正确分类的比率又是多少。测试结果表明,这些动作的识别正确率均能达到90%~95%的程度。Finally, the test sample is taken as a test to test the classification accuracy rate. Specifically, for four different types of actions (upward jump, left jump, right jump, squat), each action type acquires sd/10 data, calculates their respective characteristics, and puts these features into the already trained In a good model, the matching is calculated, and the classification result of each action is obtained. For example, whether the jumping action is recognized as a jump, whether the squatting action is recognized as a squat, and what ratio is correctly classified. The test results show that the recognition accuracy of these actions can reach 90% to 95%.
该套产品巧妙地应用模式识别算法,提取动作信息的特征,对动作进行分类,其运算速度快,分类准确,能够将硬件与软件技术很好地统一起来。该套产品具体具有如下特点:The set of products skillfully applies the pattern recognition algorithm, extracts the characteristics of the action information, classifies the actions, and has a fast calculation speed and accurate classification, which can unify the hardware and software technology well. This set of products has the following characteristics:
1.硬件设计简单。1. The hardware design is simple.
纯软件处理算法,除了采集数据所需传感器,不需要任何额外的硬件设计配合。Pure software processing algorithms, in addition to the sensors needed to acquire data, do not require any additional hardware design coordination.
2.检测算法简单。2. The detection algorithm is simple.
其利用成熟的模式识别算法,包括且不限于诸如决策树、贝叶斯网络、人工神经网络、K-近邻、支持向量机、Boosting等。It utilizes sophisticated pattern recognition algorithms including, but not limited to, decision trees, Bayesian networks, artificial neural networks, K-nearest neighbors, support vector machines, Boosting, and the like.
3.计算速度快3. Fast calculation speed
每次分类检测耗时在150ms左右。Each sorting test takes about 150ms.
4.检测性能稳定4. Detection performance is stable
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。应当理解,以上实施例中所公开的特征,除了有特别说明的情形外,都可以单独地或者相结合地使用。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本文所公开的本发明并不局限于所公开的具体实施例,而是意在涵盖如所附权利要求书所限定的本发明的精神和范围之内的修改。 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. It should be understood that the features disclosed in the above embodiments may be used singly or in combination, unless otherwise specified. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention as disclosed herein is not limited to the specific embodiments disclosed, but is intended to cover modifications within the spirit and scope of the invention as defined by the appended claims.

Claims (25)

  1. 一种实时识别动作的方法,包括:A method for recognizing an action in real time, comprising:
    进行运动数据采集;Perform motion data collection;
    收集运动样本,并将其随机分为训练所需样本以及测试所需样本两部分;Collect motion samples and randomly divide them into training samples and test samples.
    利用所述训练所需样本进行样本的样本标记、特征提取、特征学习与模型训练,得到动作识别模型;以及Using the sample required for the training to perform sample tagging, feature extraction, feature learning, and model training of the sample to obtain a motion recognition model;
    利用所述测试所需样本对所述动作识别模型进行测试。The motion recognition model is tested using the samples required for the test.
  2. 根据权利要求1所述的方法,其特征在于,进行运动数据采集还包括,将采集的运动数据加上序号和数据生成时的时间戳。The method according to claim 1, wherein performing the motion data acquisition further comprises adding the serial number to the collected motion data and the time stamp when the data is generated.
  3. 根据权利要求2所述的方法,其特征在于,所述运动数据包括运动的三轴加速度数据与三轴角速度数据。The method of claim 2 wherein said motion data comprises motion triaxial acceleration data and triaxial angular velocity data.
  4. 根据权利要求3所述的方法,其特征在于,进行运动数据采集还包括,利用数值插值对采样率较低的所述三轴角速度数据进行重建,以使其与所述三轴加速度数据同步。The method of claim 3 wherein performing motion data acquisition further comprises reconstructing said triaxial angular velocity data having a lower sampling rate using numerical interpolation to synchronize with said triaxial acceleration data.
  5. 根据权利要求4所述的方法,其特征在于,所述数据插值为线性插值。The method of claim 4 wherein said data interpolation is a linear interpolation.
  6. 根据权利要求1所述的方法,其特征在于,利用训练所需样本进行样本的样本标记、特征提取、特征学习与模型训练,得到动作识别模型包括,标记所述训练所需样本对应的动作类型。The method according to claim 1, wherein the sample identification, the feature extraction, the feature learning and the model training of the sample are performed by using the sample required for training, and the motion recognition model is obtained, and the action type corresponding to the sample required for the training is marked. .
  7. 根据权利要求6所述的方法,其特征在于,利用训练所需样本进行样本的样本标记、特征提取、特征学习与模型训练,得到动作识别模型还包括,对获得的训练所需样本,提取以下特征中的一种或多种: The method according to claim 6, wherein the sample identification, the feature extraction, the feature learning and the model training of the sample are performed by using the sample required for training, and the motion recognition model is further obtained, and the obtained training required sample is extracted from the following samples. One or more of the characteristics:
    绝对值均值、绝对值均值比、方差、峰度、偏度、均方根、平均绝对偏差、过零率、能量、相关系数、模型系数、四分位差、小波能量、分形维数、小波峰。Absolute value mean, absolute value mean ratio, variance, kurtosis, skewness, root mean square, mean absolute deviation, zero crossing rate, energy, correlation coefficient, model coefficient, interquartile range, wavelet energy, fractal dimension, small crest.
  8. 根据权利要求7所述的方法,其特征在于,利用训练所需样本进行样本的样本标记、特征提取、特征学习与模型训练,得到动作识别模型还包括,利用模式分类算法进行计算,基于提取的一种或多种所述特征而获得模型参数,以得到动作识别模型。The method according to claim 7, wherein the sample identification, feature extraction, feature learning and model training of the sample are performed by using the sample required for training, and the motion recognition model is further obtained by using a pattern classification algorithm for calculation, based on the extracted The model parameters are obtained by one or more of the features to obtain a motion recognition model.
  9. 根据权利要求8所述的方法,其特征在于,所述模式分类算法选自由决策树、贝叶斯网络、人工神经网络、K-近邻、支持向量机、Boosting等算法组成的组。The method according to claim 8, wherein the pattern classification algorithm is selected from the group consisting of a decision tree, a Bayesian network, an artificial neural network, a K-nearest neighbor, a support vector machine, a Boosting, and the like.
  10. 根据权利要求8所述的方法,其特征在于,利用测试所需样本对动作识别模型进行测试包括,利用所述测试所需样本重复进行所述特征提取,然后对所述动作识别模型的动作识别效果进行评估。The method according to claim 8, wherein the testing the motion recognition model by using the sample required for testing comprises repeating the feature extraction using the sample required for the test, and then identifying the motion of the motion recognition model The effect is evaluated.
  11. 根据权利要求1所述的方法,其特征在于,所述动作包括跳跃、下蹲、向左跳、向右跳中的一种或几种。The method of claim 1 wherein the action comprises one or more of jumping, squatting, jumping to the left, and jumping to the right.
  12. 一种用于实现实时识别动作的手环,包括:A bracelet for real-time recognition actions, including:
    数据测量装置,用于测量运动的相关数据;以及a data measuring device for measuring motion related data;
    无线通信模块,用于将所测量的所述运动的相关数据发送给与所述手环配合使用的计算设备。And a wireless communication module, configured to send the measured related data of the motion to a computing device used in conjunction with the wristband.
  13. 根据权利要求12所述的手环,其特征在于,所述数据测量装置包括加速度计与陀螺仪,所述运动的相关数据包括运动的三轴加速度数据和三轴角速度数据。 The wristband according to claim 12, wherein said data measuring means comprises an accelerometer and a gyroscope, and said motion related data comprises moving triaxial acceleration data and triaxial angular velocity data.
  14. 根据权利要求12所述的手环,其特征在于,所述无线通信模块为蓝牙通信模块。The wristband according to claim 12, wherein the wireless communication module is a Bluetooth communication module.
  15. 根据权利要求12所述的手环,其特征在于,所述手环还包括将所述运动的相关数据加上序号和数据生成时的时间戳的装置。The wristband according to claim 12, wherein said wristband further comprises means for adding a sequence number to said motion related data and a time stamp when said data is generated.
  16. 一种用于实现实时识别动作的计算设备,包括:A computing device for implementing real-time recognition actions, comprising:
    数据接收装置,用于从与所述计算设备配合使用的手环接收通过所述计算设备的数据测量装置获得的运动的相关数据;以及Data receiving means for receiving data relating to motion obtained by the data measuring device of the computing device from a wristband used in conjunction with the computing device;
    数据重建与同步模块,用于对通过数据接收装置获取的数据进行必要的重建与同步。A data reconstruction and synchronization module for performing necessary reconstruction and synchronization of data acquired by the data receiving device.
  17. 根据权利要求16所述的计算设备,其特征在于,所述数据接收装置通过蓝牙通信模块从所述手环接收所述运动的相关数据。The computing device of claim 16 wherein said data receiving device receives said motion related data from said wristband via a Bluetooth communication module.
  18. 根据权利要求16所述的计算设备,其特征在于,所述运动的相关数据包括运动的三轴加速度数据和三轴角速度数据。The computing device of claim 16 wherein the motion related data comprises motion triaxial acceleration data and triaxial angular velocity data.
  19. 根据权利要求18所述的计算设备,其特征在于,所述计算设备还包括数据重建装置,用于利用数值插值对采样率较低的所述三轴角速度数据进行重建,以使其与所述三轴加速度数据同步。The computing device of claim 18, wherein said computing device further comprises data reconstruction means for reconstructing said triaxial angular velocity data having a lower sampling rate using numerical interpolation to cause said The three-axis acceleration data is synchronized.
  20. 根据权利要求18所述的计算设备,其特征在于,所述数据插值为线性插值。 The computing device of claim 18 wherein said data interpolation is a linear interpolation.
  21. 根据权利要求16所述的计算设备,其特征在于,所述计算设备还包括特征提取装置,用于对获得的训练所需运动样本,提取以下特征中的一种或多种:The computing device of claim 16 wherein said computing device further comprises feature extraction means for extracting one or more of the following features for the obtained motion samples required for training:
    绝对值均值、绝对值均值比、方差、峰度、偏度、均方根、平均绝对偏差、过零率、能量、相关系数、模型系数、四分位差、小波能量、分形维数、小波峰。Absolute value mean, absolute value mean ratio, variance, kurtosis, skewness, root mean square, mean absolute deviation, zero crossing rate, energy, correlation coefficient, model coefficient, interquartile range, wavelet energy, fractal dimension, small crest.
  22. 根据权利要求21所述的计算设备,其特征在于,所述计算设备还包括动作识别模型确定装置,用于利用模式分类算法进行计算,基于提取的一种或多种所述特征而获得模型参数,以得到动作识别模型。The computing device of claim 21, wherein said computing device further comprises motion recognition model determining means for performing a calculation using a pattern classification algorithm, obtaining model parameters based on the extracted one or more of said features To get the motion recognition model.
  23. 根据权利要求22所述的计算设备,其特征在于,所述模式分类算法选自由决策树、贝叶斯网络、人工神经网络、K-近邻、支持向量机、Boosting等算法组成的组。The computing device of claim 22, wherein the pattern classification algorithm is selected from the group consisting of a decision tree, a Bayesian network, an artificial neural network, a K-nearest neighbor, a support vector machine, a Boosting, and the like.
  24. 根据权利要求16所述的计算设备,其特征在于,所述动作包括跳跃、下蹲、向左跳、向右跳中的一种或几种。The computing device of claim 16, wherein the action comprises one or more of jumping, squatting, jumping to the left, and jumping to the right.
  25. 根据权利要求16所述的计算设备,其特征在于,所述计算设备包括手机、平板电脑、电脑中的一种或几种。 The computing device of claim 16, wherein the computing device comprises one or more of a cell phone, a tablet, and a computer.
PCT/CN2016/104841 2016-09-23 2016-11-07 Method for real-time action recognition, and related bracelet and computing device WO2018053912A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610844613.2A CN107870681A (en) 2016-09-23 2016-09-23 The method and corresponding bracelet and computing device of Real time identification action
CN201610844613.2 2016-09-23

Publications (1)

Publication Number Publication Date
WO2018053912A1 true WO2018053912A1 (en) 2018-03-29

Family

ID=61689317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104841 WO2018053912A1 (en) 2016-09-23 2016-11-07 Method for real-time action recognition, and related bracelet and computing device

Country Status (2)

Country Link
CN (1) CN107870681A (en)
WO (1) WO2018053912A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401435A (en) * 2020-03-13 2020-07-10 安徽工业大学 Human body motion mode identification method based on motion bracelet
CN116369876A (en) * 2023-04-13 2023-07-04 中国人民解放军空军特色医学中心 Pilot distress call device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110327595A (en) * 2019-05-09 2019-10-15 深圳市蝙蝠云科技有限公司 Motion capture identification and assessment device and method based on wearable sensors

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200234A (en) * 2014-07-11 2014-12-10 杭州微纳科技有限公司 Human body action modeling and recognizing method
CN104635598A (en) * 2014-12-17 2015-05-20 惠州Tcl移动通信有限公司 Intelligent swimming wearing equipment and swimming monitoring system
CN104898828A (en) * 2015-04-17 2015-09-09 杭州豚鼠科技有限公司 Somatosensory interaction method using somatosensory interaction system
CN105242779A (en) * 2015-09-23 2016-01-13 歌尔声学股份有限公司 Method for identifying user action and intelligent mobile terminal
CN105582669A (en) * 2015-12-21 2016-05-18 上海交通大学 Motion sensing game bracelet system based on motion template feature matching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120221254A1 (en) * 2009-11-06 2012-08-30 Kateraas Espen D Data collection unit with integrated closure system and sensor housing
JP6155719B2 (en) * 2013-03-15 2017-07-05 セイコーエプソン株式会社 Synchronous measurement system
CN103310192B (en) * 2013-06-06 2016-05-11 南京邮电大学 A kind of motor behavior recognition methods based on single-axis acceleration sensors
JP6539272B2 (en) * 2013-08-07 2019-07-03 ナイキ イノベイト シーブイ Computer-implemented method, non-transitory computer-readable medium, and single device
CN105877757A (en) * 2016-03-30 2016-08-24 哈尔滨理工大学 Multi-sensor integrated human motion posture capturing and recognizing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200234A (en) * 2014-07-11 2014-12-10 杭州微纳科技有限公司 Human body action modeling and recognizing method
CN104635598A (en) * 2014-12-17 2015-05-20 惠州Tcl移动通信有限公司 Intelligent swimming wearing equipment and swimming monitoring system
CN104898828A (en) * 2015-04-17 2015-09-09 杭州豚鼠科技有限公司 Somatosensory interaction method using somatosensory interaction system
CN105242779A (en) * 2015-09-23 2016-01-13 歌尔声学股份有限公司 Method for identifying user action and intelligent mobile terminal
CN105582669A (en) * 2015-12-21 2016-05-18 上海交通大学 Motion sensing game bracelet system based on motion template feature matching

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401435A (en) * 2020-03-13 2020-07-10 安徽工业大学 Human body motion mode identification method based on motion bracelet
CN111401435B (en) * 2020-03-13 2023-04-07 安徽工业大学 Human body motion mode identification method based on motion bracelet
CN116369876A (en) * 2023-04-13 2023-07-04 中国人民解放军空军特色医学中心 Pilot distress call device

Also Published As

Publication number Publication date
CN107870681A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN110327595A (en) Motion capture identification and assessment device and method based on wearable sensors
Gupta et al. Feature selection and activity recognition system using a single triaxial accelerometer
Yang et al. Distributed recognition of human actions using wearable motion sensor networks
Mannini et al. Activity recognition using a single accelerometer placed at the wrist or ankle
CN106156524B (en) A kind of online gait planning method of Intelligent lower limb power assisting device
Henpraserttae et al. Accurate activity recognition using a mobile phone regardless of device orientation and location
US8935195B2 (en) Method of identification and devices thereof
CN109948459A (en) A kind of football movement appraisal procedure and system based on deep learning
Jalloul et al. Activity recognition using complex network analysis
Hossain et al. A direction-sensitive fall detection system using single 3D accelerometer and learning classifier
Guenterberg et al. An automatic segmentation technique in body sensor networks based on signal energy
CN108683724A (en) A kind of intelligence children's safety and gait health monitoring system
WO2018053912A1 (en) Method for real-time action recognition, and related bracelet and computing device
Javeed et al. Body-worn hybrid-sensors based motion patterns detection via bag-of-features and Fuzzy logic optimization
McCarthy et al. Decision‐tree‐based human activity classification algorithm using single‐channel foot‐mounted gyroscope
CN111603750A (en) Motion capture recognition evaluation system and method based on edge calculation
Valero et al. Vibration sensing-based human and infrastructure safety/health monitoring: A survey
CN108958482A (en) A kind of similitude action recognition device and method based on convolutional neural networks
Kavuncuoğlu et al. Investigating the performance of wearable motion sensors on recognizing falls and daily activities via machine learning
Du et al. RETRACTED: Research on the intelligent model of progress in physical education training based on motion sensor
Kautz et al. Sensor fusion for multi-player activity recognition in game sports
Bastwesy et al. Wi-nod: Head nodding recognition by wi-fi csi toward communicative support for quadriplegics
Xu et al. Attention-based walking gait and direction recognition in Wi-Fi networks
CN114341947A (en) System and method for exercise type recognition using wearable devices
Saraf et al. A survey of datasets, applications, and models for IMU sensor signals

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: 16916651

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: 16916651

Country of ref document: EP

Kind code of ref document: A1