CN111310658B - Method and device for updating action pattern recognition model - Google Patents

Method and device for updating action pattern recognition model Download PDF

Info

Publication number
CN111310658B
CN111310658B CN202010093551.2A CN202010093551A CN111310658B CN 111310658 B CN111310658 B CN 111310658B CN 202010093551 A CN202010093551 A CN 202010093551A CN 111310658 B CN111310658 B CN 111310658B
Authority
CN
China
Prior art keywords
surface electromyographic
electromyographic signal
pattern recognition
action pattern
recognition model
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010093551.2A
Other languages
Chinese (zh)
Other versions
CN111310658A (en
Inventor
田彦秀
韩久琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
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 Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202010093551.2A priority Critical patent/CN111310658B/en
Publication of CN111310658A publication Critical patent/CN111310658A/en
Application granted granted Critical
Publication of CN111310658B publication Critical patent/CN111310658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/28Recognition of hand or arm movements, e.g. recognition of deaf sign language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Abstract

The application relates to a method and a device for updating an action pattern recognition model, wherein the method comprises the following steps: acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified, which is acquired from a first object; the method comprises the steps of using a first action pattern recognition model to recognize a first surface electromyographic signal to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from a first object; acquiring a target surface electromyographic signal with the identification result meeting a target condition from the first surface electromyographic signal; and updating the first action mode identification model by using the target surface electromyographic signals to obtain a second action mode identification model. The method and the device solve the technical problem that the adaptability of the action mode identification model in the related technology is poor.

Description

Method and device for updating action pattern recognition model
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method and apparatus for updating an action pattern recognition model.
Background
At present, the motion pattern recognition model mainly comprises the following technologies: neural network framework, bilinear pattern and data calibration. However, the neural network frame has a slow technical operation speed, is complex in calculation, and cannot be used for simply transplanting a model. The technology recognition rate of the bilinear mode is low, the number of channels of the surface electromyographic signals is large, and the process of acquiring the personal factor matrix is complex. The data calibration technology requires a data sample of a person to be tested to perform calibration. It can be seen that the models generated in the above-described ways are all poorly adaptable.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The application provides a method and a device for updating an action pattern recognition model, which are used for at least solving the technical problem of poor adaptability of the action pattern recognition model in the related technology.
According to an aspect of the embodiments of the present application, there is provided a method for updating an action pattern recognition model, including:
acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified, which is acquired from a first object;
the first surface electromyographic signals are identified by using a first action pattern identification model to obtain an identification result, wherein the first action pattern identification model is obtained by training an initial action pattern identification model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
acquiring a target surface electromyographic signal, the identification result of which meets a target condition, from the first surface electromyographic signal;
and updating the first action mode identification model by using the target surface electromyographic signals to obtain a second action mode identification model, wherein the second action mode identification model is used for carrying out action mode identification on the first object.
Optionally, identifying the first surface electromyographic signal using the first action mode identification model, and obtaining the identification result includes:
identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals;
and determining the confidence of the predictive label, wherein the identification result comprises the predictive label and the confidence.
Optionally, the obtaining the target surface electromyographic signal, of which the identification result meets the target condition, from the first surface electromyographic signal includes:
acquiring a third surface electromyographic signal from the first surface electromyographic signal, wherein the prediction label corresponding to the third surface electromyographic signal is a label with wrong identification;
and determining the third surface electromyographic signal as the target surface electromyographic signal.
Optionally, the obtaining the target surface electromyographic signal, of which the identification result meets the target condition, from the first surface electromyographic signal includes:
acquiring a fourth surface electromyographic signal from the first surface electromyographic signal, wherein the predictive label corresponding to the fourth surface electromyographic signal is a label with correct identification;
acquiring a fifth surface electromyographic signal, of which the corresponding confidence is lower than a target confidence, from the fourth surface electromyographic signal;
and determining the fifth surface electromyographic signal as the target surface electromyographic signal.
Optionally, after updating the first motion pattern recognition model by using the target surface electromyographic signal to obtain a second motion pattern recognition model, the method further includes:
obtaining a sixth surface electromyographic signal, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
and updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for updating an action pattern recognition model, including:
the first acquisition module is used for acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified acquired from a first object;
the recognition module is used for recognizing the first surface electromyographic signals by using a first action pattern recognition model to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
the second acquisition module is used for acquiring the target surface electromyographic signals, the identification results of which meet the target conditions, from the first surface electromyographic signals;
the first updating module is used for updating the first action pattern recognition model by using the target surface electromyographic signals to obtain a second action pattern recognition model, wherein the second action pattern recognition model is used for carrying out action pattern recognition on the first object.
Optionally, the identification module includes:
the identification unit is used for identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals;
and the first determining unit is used for determining the confidence coefficient of the predictive label, wherein the identification result comprises the predictive label and the confidence coefficient.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring a sixth surface electromyographic signal after updating the first action pattern recognition model by using the target surface electromyographic signal to obtain a second action pattern recognition model, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
and the second updating module is used for updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that when executed performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the method described above by the computer program.
In the embodiment of the application, acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified acquired from a first object; the method comprises the steps of using a first action pattern recognition model to recognize a first surface electromyographic signal to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from a first object; acquiring a target surface electromyographic signal with the identification result meeting a target condition from the first surface electromyographic signal; and updating the first action pattern recognition model by using the target surface electromyographic signals to obtain a second action pattern recognition model, wherein the second action pattern recognition model is used for recognizing the action pattern of the first object, and in the process of recognizing the first surface electromyographic signals to be recognized of the first object by using the first action pattern recognition model obtained through training, the target surface electromyographic signals with recognition results meeting target conditions are collected to update the first action pattern recognition model to obtain the second action pattern recognition model, so that the aim of updating the model in real time by adopting an unsupervised mode in the recognition process is fulfilled, and the adaptability of the model to the first object is improved, thereby realizing the technical effect of improving the adaptability of the action pattern recognition model, and further solving the technical problem of poor adaptability of the action pattern recognition model in the related technology.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a method of updating an action pattern recognition model according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of updating an action pattern recognition model according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an update process of an action pattern recognition model according to an alternative embodiment of the present application;
FIG. 4 is a schematic diagram of an update process of an action pattern recognition model according to an alternative embodiment of the present application;
FIG. 5 is a schematic diagram of an alternative motion pattern recognition model updating apparatus according to an embodiment of the present application;
and
Fig. 6 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present application, a method embodiment of updating an action pattern recognition model is provided.
Alternatively, in the present embodiment, the above-described method of updating the action pattern recognition model may be applied to a hardware environment constituted by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, the server 103 is connected to the terminal 101 through a network, which may be used to provide services (such as game services, application services, etc.) to the terminal or clients installed on the terminal, and a database may be provided on the server or independent of the server, for providing data storage services to the server 103, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, or the like. The method for updating the motion pattern recognition model according to the embodiment of the present application may be performed by the server 103, may be performed by the terminal 101, or may be performed by both the server 103 and the terminal 101. The method for updating the action pattern recognition model executed by the terminal 101 according to the embodiment of the present application may be executed by a client installed thereon.
FIG. 2 is a flowchart of an alternative method of updating an action pattern recognition model according to an embodiment of the present application, as shown in FIG. 2, the method may include the steps of:
step S202, acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified acquired from a first object;
step S204, a first action pattern recognition model is used for recognizing the first surface electromyographic signals to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
step S206, acquiring a target surface electromyographic signal, of which the identification result meets a target condition, from the first surface electromyographic signal;
step S208, updating the first motion pattern recognition model by using the target surface electromyographic signal to obtain a second motion pattern recognition model, where the second motion pattern recognition model is used to perform motion pattern recognition on the first object.
Through the steps S202 to S208, in the process of identifying the first surface electromyographic signals to be identified of the first object by the first action pattern identification model obtained through training, the target surface electromyographic signals with the identification result meeting the target condition are collected to update the first action pattern identification model, so as to obtain the second action pattern identification model, thereby achieving the purpose of updating the model in real time by adopting an unsupervised mode in the identification process, improving the adaptability of the model to the first object, realizing the technical effect of improving the adaptability of the action pattern identification model, and further solving the technical problem of poor adaptability of the action pattern identification model in the related art.
In the technical solution provided in step S202, the first object may include, but is not limited to, a person, an animal, an insect, and the like.
In the solution provided in step S204, the initial motion pattern recognition model may, but is not limited to, include an SVM model. The SVM is based on the idea of minimizing structural risk in a statistical learning theory, and the partition hyperplane with the maximum interval is found by solving the convex quadratic programming problem.
In the solution provided in step S206, the target condition may be, but is not limited to, any condition for finding a sample for updating the model. The target conditions may be set according to actual update requirements.
In the technical scheme provided in step S208, the updated second motion pattern recognition model is used for performing motion pattern recognition on the first object, and since the second motion pattern recognition model is integrated with more information of the first object, the recognition rate can be improved to a certain extent.
Alternatively, in the present embodiment, the action pattern recognition model can be used to recognize action patterns of respective sites, such as: gesture mode, facial mode, eye mode, leg mode, and so forth.
As an optional embodiment, the identifying the first surface electromyographic signal using the first action mode identification model, and obtaining the identification result includes:
s11, identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals;
s12, determining the confidence coefficient of the predictive label, wherein the identification result comprises the predictive label and the confidence coefficient.
Alternatively, in the present embodiment, the identification result may include, but is not limited to, a prediction tag obtained by identifying the first surface electromyographic signal and a confidence level corresponding to the prediction tag.
As an optional embodiment, obtaining the target surface electromyographic signal, of which the identification result meets a target condition, from the first surface electromyographic signal includes:
s21, acquiring a third surface electromyographic signal from the first surface electromyographic signal, wherein the prediction label corresponding to the third surface electromyographic signal is a label with wrong identification;
and S22, determining the third surface electromyographic signal as the target surface electromyographic signal.
Alternatively, in the present embodiment, the model may be updated with the surface electromyographic signal predicting the label error as the target surface electromyographic signal. Such as: the surface electromyographic signals with incorrect recognition are obtained to be used as candidate support vectors of the SVM model, and the current model is obviously not optimal and needs to be updated because the surface electromyographic signals cannot be predicted correctly under the current model.
As an optional embodiment, obtaining the target surface electromyographic signal, of which the identification result meets a target condition, from the first surface electromyographic signal includes:
s31, acquiring a fourth surface electromyographic signal from the first surface electromyographic signal, wherein the predicted label corresponding to the fourth surface electromyographic signal is a label with correct identification;
s32, acquiring a fifth surface electromyographic signal with the confidence lower than a target confidence from the fourth surface electromyographic signal;
and S33, determining the fifth surface electromyographic signal as the target surface electromyographic signal.
Alternatively, in the present embodiment, for predicting the correct surface electromyographic signal, the confidence thereof may be determined, and the surface electromyographic signal having the confidence lower than the target confidence may be taken as the target surface electromyographic signal. For example: if the surface electromyographic signals are correctly identified, but are actually within the two boundaries of the current classification hyperplane, the resulting model is still not optimal. Therefore, the confidence level of the surface electromyographic signals needs to be calculated, a threshold value can be obtained empirically to serve as a target confidence level, the confidence level is compared with the threshold value, and when the confidence level is smaller than the threshold value, the surface electromyographic signals are considered to be on the classification hyperplane and can serve as candidate support vectors to update the model.
In an alternative embodiment, fig. 3 is a schematic diagram of an update process of an action pattern recognition model according to an alternative embodiment of the present application, as shown in fig. 3, model learning is started for an initial training set by training set data, an initial support vector machine SVM classification model is trained, a model classifier is obtained, and then samples tested online are sent to the classifier one by one as label-free recognition data, and confidence is calculated to perform judgment while predicting and classifying: if the current sample is wrongly identified, the new support vector is considered, the sample is used for updating the current classifier model subsequently, otherwise, whether the confidence coefficient meets the threshold requirement is judged, and if the confidence coefficient meets the threshold requirement, the new support vector is considered for updating the current classifier model.
As an optional embodiment, after updating the first motion pattern recognition model with the target surface electromyographic signal to obtain a second motion pattern recognition model, the method further includes:
s41, acquiring a sixth surface electromyographic signal, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
s42, updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
Alternatively, in the present embodiment, when the subject is changed from the first subject to the second subject, model updating is performed using the sixth surface electromyographic signal of the second subject to accommodate model deviation caused by individual difference. For example: as shown in fig. 3, the SVM model may be updated with the surface electromyographic signals of the second object as labeled identification data.
Optionally, in this embodiment, the above process may be used in a scenario where gesture motion recognition of an myoelectric bracelet is used to control a bionic prosthesis to execute a corresponding motion instruction.
The application also provides an alternative embodiment, the specificity of the surface electromyographic signals is very large, and in the process of performing motion mode recognition, the performance of the motion recognition system is affected by the individual difference of the surface electromyographic signals, the individual difference is often caused by the electrode displacement of different collecting testees or the difference of the shape and the size of muscles, the strength, the fatigue degree and the skin impedance among different testees, and the individual difference often causes the training data and the test data from different testees to have different distributions, so that the classifier model obtained from the current individual learning is difficult to effectively expand and apply to other individuals.
The alternative embodiment expands the existing static classifier into a dynamic model with incremental learning capability, so that the classifier has online learning capability, can learn more and more effective information from unlabeled or marked samples, and updates the classification model in real time to enhance the self-adaptability of myoelectric action pattern recognition so as to keep the success rate of action pattern recognition of the myoelectric signals under the influence of long-term time-varying factors and individual differences from being reduced.
FIG. 4 is a schematic illustration of an update process of an action pattern recognition model, according to an alternative embodiment of the present application, as shown in FIG. 4, including the following stages:
in the training stage, firstly, recognition data set extraction is carried out, surface electromyographic signals are preprocessed and feature extraction is carried out, and feature vectors are randomly divided into two groups: a training set and a testing set; and then establishing an initial model, training an SVM classifier based on the training set data and the sample label to obtain an initial recognition model, and testing the model classification accuracy by using the testing set data to obtain a target recognition model.
In the identification stage, the model is updated in the process of identifying the data to be identified, the information of the surface electromyographic signals to be identified is fused into the model parameters, and the classifier is continuously updated, and the process can be divided into two types: one is a supervised update and the other is an unsupervised update. The supervised updating is applicable to the case of a part of labeled data samples available for calibration, and updates model parameters by a supervised learning method by using the part of labeled calibration data; the non-supervision updating process uses a part of non-label data samples as calibration data, and updates model parameters by using an non-supervision learning mode. In the individual difference problem, the model can be more quickly adapted to the tested individual by using the supervised update, and the recognition rate of the gesture action is not reduced when the individual uses the model for a long time based on the unsupervised update.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for updating an action pattern recognition model for implementing the method for updating an action pattern recognition model described above. FIG. 5 is a schematic diagram of an alternative device for updating an action pattern recognition model according to an embodiment of the present application, as shown in FIG. 5, the device may include:
a first obtaining module 52, configured to obtain a first surface electromyographic signal, where the first surface electromyographic signal is a surface electromyographic signal to be identified collected from a first object;
the recognition module 54 is configured to recognize the first surface electromyographic signal by using a first motion pattern recognition model, and obtain a recognition result, where the first motion pattern recognition model is obtained by training an initial motion pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample collected from the first object;
a second obtaining module 56, configured to obtain, from the first surface electromyographic signal, a target surface electromyographic signal whose identification result meets a target condition;
a first updating module 58, configured to update the first motion pattern recognition model with the target surface electromyographic signal to obtain a second motion pattern recognition model, where the second motion pattern recognition model is used to perform motion pattern recognition on the first object.
It should be noted that, the first obtaining module 52 in this embodiment may be used to perform step S202 in the embodiment of the present application, the identifying module 54 in this embodiment may be used to perform step S204 in the embodiment of the present application, the second obtaining module 56 in this embodiment may be used to perform step S206 in the embodiment of the present application, and the first updating module 58 in this embodiment may be used to perform step S208 in the embodiment of the present application.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or hardware as a part of the apparatus in the hardware environment shown in fig. 1.
Through the module, in the process of identifying the first surface electromyographic signals to be identified of the first object by the first action pattern identification model obtained through training, the target surface electromyographic signals with the identification result meeting the target condition are collected to update the first action pattern identification model to obtain the second action pattern identification model, the purpose of updating the model in real time by adopting an unsupervised mode in the identification process is achieved, the adaptability of the model to the first object is improved, the technical effect of improving the adaptability of the action pattern identification model is achieved, and the technical problem that the adaptability of the action pattern identification model in the related technology is poor is solved.
As an alternative embodiment, the identification module includes:
the identification unit is used for identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals;
and the first determining unit is used for determining the confidence coefficient of the predictive label, wherein the identification result comprises the predictive label and the confidence coefficient.
As an alternative embodiment, the second obtaining module includes:
a first obtaining unit, configured to obtain a third surface electromyographic signal from the first surface electromyographic signal, where the predicted tag corresponding to the third surface electromyographic signal is a tag with an identification error;
and a second determining unit configured to determine the third surface electromyographic signal as the target surface electromyographic signal.
As an alternative embodiment, the second obtaining module further includes:
the second acquisition unit is used for acquiring a fourth surface electromyographic signal from the first surface electromyographic signal, wherein the predicted label corresponding to the fourth surface electromyographic signal is a label with correct identification;
a third obtaining unit, configured to obtain a fifth surface electromyographic signal, where the confidence coefficient corresponding to the fifth surface electromyographic signal is lower than a target confidence coefficient, from the fourth surface electromyographic signal;
and a third determining unit configured to determine the fifth surface electromyographic signal as the target surface electromyographic signal.
As an alternative embodiment, the apparatus further comprises:
the third acquisition module is used for acquiring a sixth surface electromyographic signal after updating the first action pattern recognition model by using the target surface electromyographic signal to obtain a second action pattern recognition model, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
and the second updating module is used for updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to another aspect of the embodiments of the present application, there is also provided a server or a terminal for implementing the method for updating an action pattern recognition model described above.
Fig. 6 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 6, the terminal may include: one or more (only one is shown in the figure) processors 601, memory 603, and transmission means 605, as shown in fig. 6, the terminal may further comprise an input output device 607.
The memory 603 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for updating an action pattern recognition model in the embodiments of the present application, and the processor 601 executes the software programs and modules stored in the memory 603, thereby performing various functional applications and data processing, that is, implementing the method for updating an action pattern recognition model described above. Memory 603 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 603 may further include memory remotely located with respect to the processor 601, which may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 605 is used to receive or transmit data via a network, and may also be used for data transmission between the processor and the memory. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 605 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 605 is a Radio Frequency (RF) module that is configured to communicate wirelessly with the internet.
In particular, the memory 603 is used to store applications.
The processor 601 may call an application program stored in the memory 603 through the transmission means 605 to perform the steps of:
s1, acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified, which is acquired from a first object;
s2, recognizing the first surface electromyographic signals by using a first action pattern recognition model to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
s3, acquiring a target surface electromyographic signal, of which the identification result meets a target condition, from the first surface electromyographic signal;
and S4, updating the first action mode identification model by using the target surface electromyographic signals to obtain a second action mode identification model, wherein the second action mode identification model is used for carrying out action mode identification on the first object.
By adopting the embodiment of the application, an updating scheme of the action pattern recognition model is provided. In the process of identifying the first surface electromyographic signals to be identified of the first object through the first action pattern identification model obtained through training, the target surface electromyographic signals with the identification result meeting the target condition are collected to update the first action pattern identification model to obtain the second action pattern identification model, the purpose of updating the model in real time by adopting an unsupervised mode in the identification process is achieved, the adaptability of the model to the first object is improved, the technical effect of improving the adaptability of the action pattern identification model is achieved, and the technical problem that the adaptability of the action pattern identification model in the related technology is poor is solved.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is only illustrative, and the terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 6 is not limited to the structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in fig. 6, or have a different configuration than shown in fig. 6.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in the present embodiment, the above-described storage medium may be used for program code for executing the update method of the action pattern recognition model.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
s1, acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified, which is acquired from a first object;
s2, recognizing the first surface electromyographic signals by using a first action pattern recognition model to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
s3, acquiring a target surface electromyographic signal, of which the identification result meets a target condition, from the first surface electromyographic signal;
and S4, updating the first action mode identification model by using the target surface electromyographic signals to obtain a second action mode identification model, wherein the second action mode identification model is used for carrying out action mode identification on the first object.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (8)

1. A method for updating an action pattern recognition model, comprising:
acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified, which is acquired from a first object;
the first surface electromyographic signals are identified by using a first action pattern identification model to obtain an identification result, wherein the first action pattern identification model is obtained by training an initial action pattern identification model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
acquiring a target surface electromyographic signal, the identification result of which meets a target condition, from the first surface electromyographic signal;
updating the first action mode identification model by using the target surface electromyographic signals to obtain a second action mode identification model, wherein the second action mode identification model is used for carrying out action mode identification on the first object;
the step of identifying the first surface electromyographic signal by using the first action mode identification model, wherein the step of obtaining the identification result comprises the following steps: identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals; and determining the confidence of the predictive label, wherein the identification result comprises the predictive label and the confidence.
2. The method of claim 1, wherein obtaining the target surface electromyographic signal from the first surface electromyographic signal for which the recognition result satisfies a target condition comprises:
acquiring a third surface electromyographic signal from the first surface electromyographic signal, wherein the prediction label corresponding to the third surface electromyographic signal is a label with wrong identification;
and determining the third surface electromyographic signal as the target surface electromyographic signal.
3. The method of claim 2, wherein obtaining the target surface electromyographic signal from the first surface electromyographic signal, wherein the recognition result satisfies a target condition, comprises:
acquiring a fourth surface electromyographic signal from the first surface electromyographic signal, wherein the predictive label corresponding to the fourth surface electromyographic signal is a label with correct identification;
acquiring a fifth surface electromyographic signal, of which the corresponding confidence is lower than a target confidence, from the fourth surface electromyographic signal;
and determining the fifth surface electromyographic signal as the target surface electromyographic signal.
4. The method of claim 1, wherein after updating the first motion pattern recognition model using the target surface electromyographic signal to obtain a second motion pattern recognition model, the method further comprises:
obtaining a sixth surface electromyographic signal, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
and updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
5. An apparatus for updating an operation pattern recognition model, comprising:
the first acquisition module is used for acquiring a first surface electromyographic signal, wherein the first surface electromyographic signal is a surface electromyographic signal to be identified acquired from a first object;
the recognition module is used for recognizing the first surface electromyographic signals by using a first action pattern recognition model to obtain a recognition result, wherein the first action pattern recognition model is obtained by training an initial action pattern recognition model by using a second surface electromyographic signal, and the second surface electromyographic signal is a surface electromyographic signal sample acquired from the first object;
the second acquisition module is used for acquiring the target surface electromyographic signals, the identification results of which meet the target conditions, from the first surface electromyographic signals;
the first updating module is used for updating the first action pattern recognition model by using the target surface electromyographic signals to obtain a second action pattern recognition model, wherein the second action pattern recognition model is used for carrying out action pattern recognition on the first object;
wherein, the identification module includes: the identification unit is used for identifying the first surface electromyographic signals by using the first action mode identification model to obtain prediction labels corresponding to the first surface electromyographic signals; and the first determining unit is used for determining the confidence coefficient of the predictive label, wherein the identification result comprises the predictive label and the confidence coefficient.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the third acquisition module is used for acquiring a sixth surface electromyographic signal after updating the first action pattern recognition model by using the target surface electromyographic signal to obtain a second action pattern recognition model, wherein the sixth surface electromyographic signal is a surface electromyographic signal sample acquired from a second object;
and the second updating module is used for updating the second action pattern recognition model by using the sixth surface electromyographic signal to obtain a third action pattern recognition model, wherein the third action pattern recognition model is used for carrying out action pattern recognition on the second object.
7. A storage medium comprising a stored program, wherein the program when run performs the method of any one of the preceding claims 1 to 4.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor performs the method of any of the preceding claims 1 to 4 by means of the computer program.
CN202010093551.2A 2020-02-14 2020-02-14 Method and device for updating action pattern recognition model Active CN111310658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010093551.2A CN111310658B (en) 2020-02-14 2020-02-14 Method and device for updating action pattern recognition model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010093551.2A CN111310658B (en) 2020-02-14 2020-02-14 Method and device for updating action pattern recognition model

Publications (2)

Publication Number Publication Date
CN111310658A CN111310658A (en) 2020-06-19
CN111310658B true CN111310658B (en) 2023-06-27

Family

ID=71147129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010093551.2A Active CN111310658B (en) 2020-02-14 2020-02-14 Method and device for updating action pattern recognition model

Country Status (1)

Country Link
CN (1) CN111310658B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111714122A (en) * 2020-06-22 2020-09-29 北京海益同展信息科技有限公司 Electromyographic pattern recognition method, electromyographic pattern recognition device, electromyographic pattern recognition equipment and computer-readable storage medium
CN113326867B (en) * 2021-04-23 2023-09-22 杭州未名信科科技有限公司 Flow detection method, device, equipment and medium
CN113820624B (en) * 2021-09-30 2024-04-16 南方电网科学研究院有限责任公司 High-resistance ground fault identification device for power distribution network
CN113946224B (en) * 2021-12-20 2022-05-17 深圳市心流科技有限公司 Control method and device for myoelectric gesture recognition of intelligent bionic hand and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108776783A (en) * 2018-05-31 2018-11-09 陕西师范大学 The gesture electromyography signal recognition methods of extreme learning machine-Hidden Markov Model
CN108937926A (en) * 2018-09-18 2018-12-07 北京宏信农业科技发展有限公司 The analysis method and device of the surface electromyogram signal of big data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2150893A4 (en) * 2007-04-24 2012-08-22 Oblong Ind Inc Proteins, pools, and slawx in processing environments
WO2013159282A1 (en) * 2012-04-24 2013-10-31 北京英福生科技有限公司 Customized self-learning identification system and method
JP2016150119A (en) * 2015-02-17 2016-08-22 日本電信電話株式会社 Motion state determination method, device, and program
CN108268844A (en) * 2018-01-17 2018-07-10 上海术理智能科技有限公司 Movement recognition method and device based on surface electromyogram signal
CN109359622B (en) * 2018-11-08 2021-07-09 西北工业大学 Electromyographic action recognition online updating algorithm based on Gaussian mixture model
CN110710970B (en) * 2019-09-17 2021-01-29 北京海益同展信息科技有限公司 Method and device for recognizing limb actions, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108776783A (en) * 2018-05-31 2018-11-09 陕西师范大学 The gesture electromyography signal recognition methods of extreme learning machine-Hidden Markov Model
CN108937926A (en) * 2018-09-18 2018-12-07 北京宏信农业科技发展有限公司 The analysis method and device of the surface electromyogram signal of big data

Also Published As

Publication number Publication date
CN111310658A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN111310658B (en) Method and device for updating action pattern recognition model
CN111523621B (en) Image recognition method and device, computer equipment and storage medium
WO2018169708A1 (en) Learning efficient object detection models with knowledge distillation
WO2019182590A1 (en) Automated machine learning systems and methods
CN110210625B (en) Modeling method and device based on transfer learning, computer equipment and storage medium
CN109117857B (en) Biological attribute identification method, device and equipment
CN111783997B (en) Data processing method, device and equipment
CN110414376B (en) Method for updating face recognition model, face recognition camera and server
CN111414946A (en) Artificial intelligence-based medical image noise data identification method and related device
CN110991249A (en) Face detection method, face detection device, electronic equipment and medium
CN110969139A (en) Face recognition model training method and related device, face recognition method and related device
CN111523479A (en) Biological feature recognition method and device for animal, computer equipment and storage medium
CN110162957B (en) Authentication method and device for intelligent equipment, storage medium and electronic device
CN113190444B (en) Test method, test device and storage medium
CN113080907A (en) Pulse wave signal processing method and device
CN110739077A (en) Epileptic seizure early warning method and system
CN110298684B (en) Vehicle type matching method and device, computer equipment and storage medium
CN116955646A (en) Knowledge graph generation method and device, storage medium and electronic equipment
CN111259698A (en) Method and device for acquiring image
KR101893290B1 (en) System for instructional video learning and evaluation using deep learning
Madhuravania Prediction Exploration for Coronary Heart Disease Aid of Machine Learning B. Madhuravania, Divya Priya Degalab, M. Anjaneyuluc and B. Dhanalaxmi
CN113052266A (en) Transaction mode type identification method and device
CN111695015A (en) Customer behavior analysis method and device, computer equipment and storage medium
Dodds et al. Spatial whitening in the retina may be necessary for v1 to learn a sparse representation of natural scenes
CN113076169A (en) User interface test result classification method and device based on convolutional neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Shuke Haiyi Information Technology Co.,Ltd.

Address before: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Beijing Economic and Technological Development Zone, Beijing 100176

Applicant before: BEIJING HAIYI TONGZHAN INFORMATION TECHNOLOGY Co.,Ltd.

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Address before: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Shuke Haiyi Information Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant