CN110298220A - Action video live broadcasting method, system, electronic equipment, storage medium - Google Patents

Action video live broadcasting method, system, electronic equipment, storage medium Download PDF

Info

Publication number
CN110298220A
CN110298220A CN201810247317.3A CN201810247317A CN110298220A CN 110298220 A CN110298220 A CN 110298220A CN 201810247317 A CN201810247317 A CN 201810247317A CN 110298220 A CN110298220 A CN 110298220A
Authority
CN
China
Prior art keywords
vector
terminal
movement
action
identification
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.)
Granted
Application number
CN201810247317.3A
Other languages
Chinese (zh)
Other versions
CN110298220B (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.)
Shanghai shibeisi Fitness Management Co.,Ltd.
Original Assignee
Shanghai Shape Interesting Mdt Infotech 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 Shanghai Shape Interesting Mdt Infotech Ltd filed Critical Shanghai Shape Interesting Mdt Infotech Ltd
Priority to CN201810247317.3A priority Critical patent/CN110298220B/en
Publication of CN110298220A publication Critical patent/CN110298220A/en
Application granted granted Critical
Publication of CN110298220B publication Critical patent/CN110298220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • G06V20/42Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items of sport video content
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Social Psychology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)

Abstract

The present invention provides a kind of action video live broadcasting method, system, electronic equipment, storage medium, comprising: passes through first terminal and acquires audio data and video data;Determine target action;The audio data and video data acquired by first terminal is played in one or more second terminals;Three dimensional video data is acquired in real time by second terminal, and generates three-dimensional bone action model to be measured in real time;Currently the movement to be measured will be formed into a match group with the target action as a movement to be measured by three-dimensional bone action model to be measured according to the target action of the video data currently played in second terminal;To each match group, movement to be measured and target action are matched.Method and apparatus provided by the invention can realize the action recognitions such as real-time body-building, dancing, movement and error correction in live scene.

Description

Action video live broadcasting method, system, electronic equipment, storage medium
Technical field
The present invention relates to computer application technologies more particularly to a kind of action video live broadcasting method, system, electronics to set Standby, storage medium.
Background technique
The motion capture and recognition methods of the mankind has very extensive application in today's society, such as: intelligent monitoring, The somatic sensation television game of human-computer interaction, video frequency searching etc..
The motion detection of the mankind identifies, from the RGB-D video sequence based on traditional rgb video row transition to current prevalence Column, motion profile are used as always important feature growth.The capture of traditional motion profile is often based upon the detection of characteristic point Algorithm, different feature point detecting methods can obtain entirely different motion profile.Simultaneously as inspection of the characteristic point in different frame Rope is highly unstable, and in entire video sequence, characteristic point is often discontinuous, therefore feature point trajectory fado is used and is based on The statistical method of histogram after entire video sequence is calculated and counted, is divided using classifiers such as support vector machines Class.
The matching primitives method of these video sequences is computationally intensive, can not summary responses, can not also be suitable for civilian rank Human-computer interaction, particularly in live scene action recognition compare and error correction.Therefore, the prior art is in live scene Body-building identifies for the human-computer interaction of error correction, it is difficult to realize system Real-time Feedback acts the demand whether to malfunction.
Summary of the invention
The present invention provides a kind of action video live broadcasting method, system, electricity to overcome the problems of the above-mentioned prior art Sub- equipment, storage medium, to realize action recognitions and the error correction such as real-time body-building, dancing, movement in live scene.
According to an aspect of the present invention, a kind of action video live broadcasting method is provided, comprising: S110. passes through first terminal Audio data and video data are acquired, the video data is converted into three-dimensional bone action model, obtains people in video data The vector formed between the coordinate and multiple skeleton points of multiple skeleton points of body;S120. according in video data human body it is multiple The vector formed between the coordinate of skeleton point and multiple skeleton points carries out action recognition to human body in video to determine target action; S130. the audio data and video data acquired by the first terminal is played in one or more second terminals;S140. lead to It crosses the second terminal and acquires three dimensional video data in real time, and generate three-dimensional bone action model to be measured in real time;S150. basis is worked as The target action of the preceding video data played in second terminal will current three-dimensional bone action model to be measured as a movement to be measured, The movement to be measured is formed into a match group with the target action;And S160. is in each match group, to movement to be measured and target Movement is matched, and carries out miscue when movement to be measured mismatches target action.
Optionally, the step S120 include: when identification one movement continuously repeat occur when, moved using the movement as target Make;The step S130 includes: at least to postpone one currently to continue in the target action of the video data of second terminal broadcasting The audio data and video data acquired from the first terminal that time plays in the second terminal.
Optionally, the step S120 comprises determining that the duration of target action;The step S150 includes: from really Settled preceding three-dimensional bone action model to be measured starts to act to the target action of the video data currently played in second terminal Duration is using the current three-dimensional bone action model to be measured in the duration as a movement to be measured.
Optionally, the step S120 further include: by the target action by the three-dimensional bone action model dismantling at five A physical feeling: left arm, right arm, left leg, right leg and trunk, each physical feeling include: three skeleton points, three Angle in three vectors and three vectors that skeleton point is formed between two vectors, to the portion of at least one physical feeling Position movement generates one or more procedure-orienteds or the identification item towards displacement, and each identification item includes identification object, identification Parameter and recognition rule, the identification object include at least one skeleton point in three skeleton points;In three vectors At least one vector;It is and one or more in an angle in three vectors between two vectors, wherein described The identification item of procedure-oriented further includes a standard procedure vector library, and standard procedure vector library stores described in chronological order At least one vector of position movement, the step S160 further include: the target site movement according to target action will be to be measured dynamic It is divided into corresponding detected part movement, by the detected part movement of movement to be measured and the target site of corresponding target action Movement forms the whole body body region match group;To each physical feeling match group, the identification item of target site movement is obtained, according to institute It states three-dimensional bone action model and obtains the coordinate of the corresponding skeleton point for identifying object of the detected part movement, bone dot At vector and/or vector between angle, if it is described identification item be procedure-oriented identification item, the detected part is moved The vector of work carries out vector threshold of the matching primitives to set with the identification parameter with the corresponding vector in standard procedure vector library Value is compared, if not meeting the recognition rule, feeds back detected part stroke defect.
Optionally, the display screen of the second terminal divides are as follows: first area, what broadcasting was acquired by the first terminal Video data;And second area, play the video data that acquires by second terminal, the area of the second area is less than the The area in one region, the second area also show detected part movement whether Cuo Wu feedback.
Optionally, if the identification item is the identification item of procedure-oriented, in the process of the detected part action movement In in real time according to the detected part movement vector in standard procedure vector library corresponding vector progress matching primitives with The vector threshold of the identification parameter setting is compared result and whether shows the detected part movement in the second area The feedback of mistake.
Optionally, if the identification item is the identification item towards displacement, the second terminal identifies the detected part When movement is completed in the second area show detected part movement whether Cuo Wu feedback.
Optionally, if the stroke defect to be measured, the second area show one or more in following information: institute State detected part stroke defect;The completeness of the detected part movement;It is dynamic that the detected part acts corresponding target site The position of work.
Optionally, after the step S160, further includes: choose at least one second eventually from one or more second terminals End, makes the first terminal and the second terminal two-way communication with real-time delivery audio, video data.
Optionally, the first terminal and the second terminal two-way communication after real-time delivery audio, video data also to wrap It includes: when the movement to be measured that selected second terminal acquires is matched with the target action, making selected second terminal certainly It is cut out in the two-way communication.
Optionally, the quantity of selected second terminal is greater than one, and the first terminal and the second terminal are two-way After communication is with real-time delivery audio, video data further include: multiple selected second terminals are in communication with each other each selected The movement feedback of other second terminals is shown in second terminal.
Optionally, after the step S160, further includes: the first terminal is by the audio data and video data of acquisition It stores to a cloud database;The second terminal from the cloud database obtain the audio data and video data with into The matching of row movement and target action to be measured;The second terminal sends the matching result of the movement to be measured and target action To the first terminal.
When the movement to be measured that selected second terminal acquires is matched with the target action, make selected second eventually End is cut out from the two-way communication.
Optionally, the vector detected part acted carries out matching meter with the corresponding vector in standard procedure vector library Calculation is compared with the vector threshold set with the identification parameter includes:
Calculate the vector in standard procedure vector libraryWith the vector of detected part movement(xbi, ybi, zbi) between angle theta cosine value:
VectorWith vectorBetween angle theta cosine value be used for the vector threshold that is set with the identification parameter into Row compares.
Optionally, the identification item of procedure-oriented includes track identification, negative track identification and keeps identifying;Towards displacement Identification item includes displacement identification and negative displacement identification.
Optionally, left arm includes: left finesse artis, left hand elbow joint point, left shoulder joint node, left shoulder joint node to left hand Elbow joint point formed primary vector, left hand elbow joint point to left finesse artis formed secondary vector, left shoulder joint node extremely The angle between third vector and the primary vector and the secondary vector that left finesse artis is formed;
Right arm includes: right finesse artis, right hand elbow joint point, right shoulder joint node, right shoulder joint node to right hand elbow joint Put the primary vector formed, the secondary vector that right hand elbow joint point to right finesse artis is formed, right shoulder joint node to right finesse The angle between third vector and the primary vector and the secondary vector that artis is formed;
Trunk includes: the backbone of head center, the backbone center of neck, the backbone center of trunk, head center to neck Secondary vector that the backbone of backbone center to the trunk of the primary vector, neck that are centrally formed is centrally formed, head center to body The angle that the third vector and the primary vector and the secondary vector that dry backbone is centrally formed are formed;
Left leg includes: left ankle artis, left knee artis, left hip joint point, left hip joint point to left knee joint Secondary vector, the left hip joint point to left ankle that the primary vector of point formation, left knee artis are formed to left ankle artis The angle between third vector and the primary vector and the secondary vector that artis is formed;
Right leg includes: right ankle artis, right knee endoprosthesis point, right hip joint point, right hip joint point to right knee endoprosthesis Secondary vector, the right hip joint point to right ankle that primary vector, the right knee endoprosthesis point to right ankle artis of point formation are formed The angle between third vector and the primary vector and the secondary vector that artis is formed.
According to another aspect of the invention, a kind of action video live broadcast system is also provided, comprising: first terminal, described One terminal executes following steps: S110. acquires audio data and video data by first terminal, and the video data is converted For three-dimensional bone action model, obtains and formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data Vector;S120. according to the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data to view Human body carries out action recognition to determine target action in frequency;Second terminal is communicated with the first terminal, the second terminal Execute following steps: S130. plays the audio data and video data acquired by the first terminal;S140. by described Second terminal acquires three dimensional video data in real time, and generates three-dimensional bone action model to be measured in real time;S150. according to currently the The target action of the video data of two terminal plays will currently wait for this as a movement to be measured three-dimensional bone action model to be measured Survey movement forms a match group with the target action;And S160. is in each match group, to movement to be measured and target action into Row matching, carries out miscue when movement to be measured mismatches target action.
According to another aspect of the invention, a kind of electronic equipment is also provided, the electronic equipment includes: processor;Storage Medium, is stored thereon with computer program, and the computer program executes step as described above when being run by the processor.
According to another aspect of the invention, a kind of storage medium is also provided, computer journey is stored on the storage medium Sequence, the computer program execute step as described above when being run by processor.
Compared with prior art, the present invention by acquired in real time under live scene live video formed three-dimensional skeleton model come It determines target action, and the movement to be measured acquired in real time is compared with target action, it is to be measured for each of acquiring in real time Movement, and body make-up is pressed, simplify skeleton point, movement is divided into detected part as unit of three skeleton points and is acted, and with Procedure-oriented and identification item towards displacement identify detected part movement, and pass through reality in the identification item of procedure-oriented When the skeleton point that the acquires one standard procedure vector library of vector sum that constitutes in vector carry out it is simple calculate with setting to Amount threshold value is compared, and the setting of skeleton point and vector and the process calculation amount of match cognization are smaller, can be realized live scene Under real-time feedback, will not generate stroke defect Recognition feedback to be measured delay the phenomenon that.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, above and other feature of the invention and advantage will become It is more obvious.
Fig. 1 shows the flow chart of action video live broadcasting method according to an embodiment of the present invention;
Fig. 2 shows the schematic diagrames of action video live broadcast system according to an embodiment of the present invention;
Fig. 3 shows the schematic diagram that second terminal according to an embodiment of the present invention shows content;
Fig. 4 shows the schematic diagram that first terminal according to an embodiment of the present invention shows content;
Fig. 5 shows the schematic diagram of skeleton model according to an embodiment of the present invention;
Fig. 6 to Figure 10 shows the schematic diagram of 5 physical feelings according to an embodiment of the present invention;
Figure 11 shows vector and the comparison of acquisition vector in real time in standard procedure vector according to an embodiment of the present invention library;
Figure 12 and Figure 13 respectively illustrate angle in standard procedure vector according to an embodiment of the present invention library between vector with Angle between acquisition vector in real time;
Figure 14 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Figure 15 schematically shows a kind of electronic equipment schematic diagram in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Attached some block diagrams described in figure are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
The flow chart of action video live broadcasting method according to an embodiment of the present invention is shown referring first to Fig. 1, Fig. 1.Fig. 1 is total 7 steps are shown:
Step S110: audio data and video data are acquired by first terminal, the video data is converted into three-dimensional Bone action model obtains the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data.
First terminal is the terminal for being supplied to main broadcaster.The main broadcasters such as body-building, dancing can be broadcast live by the first terminal.
Step S120: according to formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data to Amount carries out action recognition to human body in video to determine target action.
In some embodiments, step S120 is continuously repeated by identification maneuver when occurring, and is moved using the movement as target Make.For example, the push-up in video data is acted and is made when continuously occurring second of push-up movement after first time push-up For target action.Optionally, the duration of target action is also obtained in the step s 120.
Specifically, in the present case, being set with 15 skeleton points (reference can be made to Fig. 5) to each human body, 15 skeleton points Are as follows: head center 211, neck center (such as backbone center of neck) 212, trunk center 213 are (such as in the backbone of trunk The heart), left shoulder joint node 221, left hand elbow joint point 222, left finesse artis 223, right shoulder joint node 231, right hand elbow joint point 232, right finesse artis 233, left hip joint point 241, left knee artis 242, left ankle artis 243, right hip joint point 251, right knee endoprosthesis point 252, right ankle artis 253.
In this case to this 15 skeleton points as unit of 3 skeleton points, it is divided into five body parts: trunk (see Fig. 6), Left arm (see Fig. 7), right arm (see Fig. 8), left leg (see Fig. 9) and right leg (see Figure 10).Wherein, the skeleton point in each physical feeling it Between also form vector, also form angle between vector.
Specifically, trunk (see Fig. 6) include head center 211, the backbone center 212 of neck, trunk backbone center 213, the backbone center 212 of head center 211 is formed to the backbone center 212 of neck primary vector 214, neck is to trunk The third vector 216 that the backbone center 213 of secondary vector 215, head center 211 to trunk that backbone center 213 is formed is formed And the angle 217 that the primary vector 214 and the secondary vector 215 are formed.
Left arm (see Fig. 7) includes left finesse artis 223, left hand elbow joint point 222, left shoulder joint node 221, left shoulder joint Primary vector 224, left hand elbow joint point 222 to left finesse artis 223 formation of the point 221 to the formation of left hand elbow joint point 222 Secondary vector 225, left shoulder joint node 221 to left finesse artis 223 the third vector 226 and the primary vector that are formed Angle 227 between 224 and the secondary vector 225.
Right arm (see Fig. 8) includes right finesse artis 233, right hand elbow joint point 232, right shoulder joint node 231, right shoulder joint Primary vector 234, right hand elbow joint point 232 to right finesse artis 233 formation of the point 231 to the formation of right hand elbow joint point 232 Secondary vector 235, right shoulder joint node 231 to right finesse artis 233 the third vector 236 and the primary vector that are formed Angle 237 between 234 and the secondary vector 235.
Left leg includes that (see Fig. 9) includes left ankle artis 243, left knee artis 242, left hip joint point 241, left hip Primary vector 244 that artis 241 is formed to left knee artis 242, left knee artis 242 to left ankle artis 243 Third vector 246 that secondary vector 245, the left hip joint point 241 to left ankle artis 243 of formation are formed and this first to Angle 247 between amount 244 and the secondary vector 245.
Right leg includes that (see Figure 10) includes right ankle artis 253, right knee endoprosthesis point 252, right hip joint point 251, the right side Primary vector 254 that hip joint point 251 is formed to right knee endoprosthesis point 252, right knee endoprosthesis point 252 to right ankle artis 253 formed secondary vector 255, the third vector 256 that is formed of right hip joint points 251 to right ankle artis 253 and this Angle between one vector 254 and the secondary vector 255.
Less representative artis is set as skeleton point, when with the action recognition in live scene and error correction Reduce calculation amount.
By the target action by dismantling at five physical feelings: left arm, right arm, left leg, right leg and trunk.Each body Position includes three vectors and three vectors formed such as Fig. 6 to three skeleton points shown in Fig. 10, three skeleton points In angle between two vectors.The corresponding one or more procedure-orienteds of target site movement of at least one physical feeling or Identification item towards displacement.Each identification item includes identification object, identification parameter and recognition rule, and the identification object includes portion Position acts at least one skeleton point in three skeleton points;At least one vector in three vectors;And described three It is one or more in an angle in vector between two vectors.
Identification item for position movement is that procedure-oriented still can be by presetting maneuver library and phase towards displacement The classification answered is realized.It can also act and set by multiple positions by way of machine learning in yet other embodiments, The model of the fixed procedure-oriented still test set training machine study of the label towards displacement, and then can be right during live streaming Classify in the partial act that target action divides.
The identification item of procedure-oriented need to match sentence by a standard procedure vector library with the vector acquired in real time It is disconnected whether to meet identification item.Standard procedure vector library stores the position movement at least with a sample frequency in chronological order One vector.For example, the left leg for push-up acts, left arm is stored at least in chronological order with the sample frequency of 5 times/second Primary vector 224, secondary vector 225 (and angle 227), as a standard procedure vector library.
Specifically, the identification item of procedure-oriented includes track identification, negative track identification and keeps identifying;Towards The identification item of displacement includes displacement identification and negative displacement identification.
Whether position movement moves track identification according to desired trajectory for identification, if not moved according to desired trajectory, It then prompts to malfunction.It identifies that object includes two at least one vector and/or three vectors in three vectors An angle between vector.Corresponding to identification object, identification parameter sets one or more threshold values.Threshold value includes described three The angle threshold value of the vector threshold of vector and the angle, the identification parameter is determined according to the identification object uses vector threshold Value and/or angle threshold value.
Specifically, above-mentioned vector threshold and the angle threshold value vector (and angle) that is used to judge to acquire in real time whether with this Vector (and angle) in standard procedure vector library matches.For example, can refer to Figure 11, for vector threshold, when real-time acquisition One position movement skeleton point 222 to skeleton point 293 vectorTemporally in standard procedure The correspondence skeleton point 222 of corresponding time is found in vector library to the vector of skeleton point 223 Calculate the vector in standard procedure vector libraryWith the vector of the position movement acquired in real time Between angle theta cosine value:
VectorWith vectorBetween the cosine value (cosine value be -1 to 1) of angle theta be used for and the knowledge The vector threshold of other parameter setting is compared.Vector threshold can be set to 0.1, and corresponding vector threshold is -1 to 0.1.To The range of amount threshold value can also be directly disposed as -0.1 to 0.1.It can be compared according to the vector threshold and cosine value calculated Compared with to determine vectorWhether within the scope of the vector threshold.
For example, standard procedure vector library at least stores in chronological order in the embodiment of setting angle threshold value The primary vector and secondary vector of the position movement can calculate the angle between vector according to two vectors or directly will The angle is stored in standard procedure vector library.With reference to Figure 12 and Figure 13, angle threshold value is used to act with the position acquired in real time (skeleton point 292 to skeleton point 291) primary vector 294 and (skeleton point 292 to skeleton point 293) secondary vector 295 it Between 297 α of angle and standard procedure vector library in correspond to the time (skeleton point 222 to skeleton point 221) primary vector 224 and The ratio α/β of 227 β of angle between the secondary vector 225 of (skeleton point 222 to skeleton point 223) compares to determine acquisition in real time Position movement angle whether be located in the range of the angle threshold value.Vector threshold can be set to 0.8, corresponding vector Threshold value is 0.8 to 1.The range of vector threshold can also be directly disposed as 0.8 to 1.Can according to the angle threshold value with it is calculated Whether angle ratio is compared to determine the angle between primary vector and secondary vector within the scope of the vector threshold.
Further, the identification parameter of track identification further includes a starting amplitude threshold and reaches amplitude threshold, originates width Degree threshold value reaches amplitude threshold for judging position movement terminates whether to complete to reach width for judging whether position movement starts Degree.Specifically, can be set a position movement angle starting maximum value, and be arranged start amplitude threshold value be 0.8 (or its The value of his 0 to 1 centre).When the angle of position movement reaches the 80% of the starting maximum value, it can be determined that position movement is opened Begin.For reaching amplitude threshold, the maximum value of reaching of the angle of position movement can be set, and be arranged and reach amplitude threshold and be 0.2 (or value of other 0 to 1 centres).When the angle of position movement reaches (1-20%) that reaches maximum value, it can be determined that Position movement is completed to reach amplitude.In some change case, the coordinate of vector and/or skeleton point can also be used to calculate above-mentioned Beginning amplitude threshold and reach amplitude threshold.Above-mentioned starting maximum value and reach maximum value can be used as in standard procedure vector library the One data and the last one data.Alternatively, in further embodiments, start amplitude threshold value and reaches amplitude threshold and all use The last one data in standard procedure vector library are calculated, at this point, start amplitude threshold value for example can be set to 0.2, Reaching amplitude threshold for example may be set to be 0.2.
Corresponding to the identification object and identification parameter of above-mentioned setting, the recognition rule of track identification includes reaching rule and can Select different mistake rules.The rule of reaching of track identification originates in start amplitude threshold value institute for the identification object of position movement The position of expression and identification object is in set vector threshold and/or angle threshold value;The identification object of position movement From position represented by start amplitude threshold value to during reaching position represented by amplitude threshold, identifying object set In fixed vector threshold and/or angle threshold value;And the identification object of position movement is reached represented by amplitude threshold Position and identification object in set vector threshold and/or angle threshold value.The different mistake rule packets of track identification It includes: beyond corresponding vector threshold mistake (for example, large arm represented by vector one or thigh are beyond threshold value);Beyond corresponding angle threshold Value mistake (for example, the angle of angle or knee at elbow represented by angle exceeds threshold value);And insufficient amplitude mistake.Width Not wrong enough the recognition rule of degree is that the identification object of position movement originates in position represented by start amplitude threshold value and knowledge Other object is in set vector threshold and/or angle threshold value;The identification object of position movement is from start amplitude threshold value Represented position is to during reaching position represented by amplitude threshold, identifying object in set vector threshold And/or in angle threshold value;And the identification object of position movement, which does not reach, reaches position represented by amplitude threshold and identification Object is in set vector threshold and/or angle threshold value.
Whether position movement moves negative track identification according to desired trajectory for identification, if transporting according to desired trajectory It is dynamic, then it prompts to malfunction.Similar with track identification for negating track identification, identification object includes in three vectors An angle at least one vector and/or three vectors between two vectors (preferably, is primary vector and second Angle between vector).It negate the one or more threshold values of identification parameter setting of track identification, the threshold value includes described three The angle threshold value of the vector threshold of vector and the angle, the identification parameter is determined according to the identification object uses vector threshold Value and/or angle threshold value.It negate track identification unlike track identification, negative track identification reaches rule are as follows: the position The identification object of movement originate in position represented by start amplitude threshold value and identify object set vector threshold and/ Or in angle threshold value;The identification object of position movement is from position represented by start amplitude threshold value to reaching amplitude threshold institute table During the position shown, identify object in set vector threshold and/or angle threshold value;The identification of position movement Object reaches position represented by amplitude threshold and identification object in set vector threshold and/or angle threshold value It is interior;And currently there is the identification in addition to negative identification and other than keeping identification to be in ongoing state (in other words, the rail of movement Mark or displacement amplitude are increasing).When reaching above-mentioned rule, then cueing track malfunctions.In other words, if identification object is in the body In the motion process at position always not in the threshold range of identification parameter setting, and represented by the identification object Position movement generates track and/or displacement during the motion, then will not prompt to malfunction.
Keeping identification, whether position movement is maintained under a certain state during the motion (for example, keeping straight for identification Vertical or one bending angle of holding), it prompts to malfunction if being not maintained under the state.The identification object for keeping identification includes described three An angle at least one vector and/or three vectors in a vector between two vectors.Identification parameter setting One or more threshold values, the threshold value include the vector threshold of three vectors and the angle threshold value of the angle, identification ginseng Number is determined according to the identification object uses vector threshold and/or angle threshold value.Keep identification reaches rule are as follows: the position is dynamic The identification object of work is always in set vector threshold and/or angle threshold value.Keep what is identified to reach rule if not reaching, Then prompt the corresponding mistake for keeping identification.
For displacement identification and negative displacement identification, although described here as towards displacement rather than the identification of object-oriented , but whether displacement identification and negative displacement identification actually also need recognition site movement in lasting motion state, if position Movement is not in lasting motion state and then interrupts identification, directly prompt mistake;Or it is re-started since current location Identification.
Displacement identification identifies whether object reaches scheduled direction of displacement and shift length for judging, mentions if not up to Mistake is shown.The identification object of displacement identification includes one or more of three skeleton points.Preferably, the position is specified to act One skeleton point.(direction of displacement can map to the pros of the X-axis in three-dimensional coordinate for identification parameter setting shift length, direction of displacement To, X-axis negative direction, Y-axis positive direction, Y-axis negative direction, Z axis positive direction, Z axis negative direction, without calculating specific direction of displacement) And start amplitude threshold value.The start amplitude threshold value of displacement is the value in 0 to 1.For example, start amplitude threshold value can be set to 0.2, And indicate that position movement starts or displacement identification is opened when the displacement of specified skeleton point is more than the 20% of setting shift length Begin.The recognition rule of displacement identification includes reaching rule and optional different mistake rule.Displacement identification reaches rule to refer to It is consistent to determine the direction of displacement being arranged in the moving direction and identification parameter of skeleton point, and the shift length of a persistent movement is greater than Equal to the shift length being arranged in identification parameter.Different mistake rules includes that the displacement of specified skeleton point is less than start amplitude When threshold value, origination action insufficient amplitude is prompted;Specified skeleton point displacement amplitude is more than the shifting of start amplitude threshold value, specified skeleton point The direction of displacement being arranged in dynamic direction and identification parameter is consistent and the shift length of a persistent movement is less than in identification parameter The shift length of setting, then insufficient amplitude is reached in prompt.
Negative displacement identification identifies whether object reaches scheduled direction of displacement and shift length for judging, if reaching Prompt error.Similar with displacement identification, identification object includes one or more of three skeleton points.Preferably, the portion is specified One skeleton point of position movement.Identification parameter setting shift length, (direction of displacement can map in three-dimensional coordinate direction of displacement X-axis positive direction, X-axis negative direction, Y-axis positive direction, Y-axis negative direction, Z axis positive direction, Z axis negative direction) and start amplitude threshold value.It is no Determine displacement identification to reach the direction of displacement being arranged in moving direction and identification parameter of the rule for specified skeleton point consistent, once The shift length of persistent movement is more than or equal to the shift length being arranged in identification parameter and currently has in addition to negative identification and protect It holds the identification other than identification and is in the ongoing state of movement (in other words, track or displacement amplitude are increasing).When reaching Above-mentioned rule, then cueing track malfunctions.In other words, if identification object does not press the identification during movements of parts of the body The direction of displacement of parameter setting is mobile or moving distance is greater than the shift length that the identification parameter is set, then does not prompt It is wrong.
Above-mentioned identification item is arranged at least one position acted movement, by least one position act and it is described extremely Motion file of the identification item of few position movement as the movement, the motion file and movement number are associatedly stored In the standard operation database.
In a specific embodiment, deep-knee-bend is acted, identification item is provided with to trunk, left leg and right leg.Trunk Identification item include keep identification and displacement identification.In the holding identification of trunk, identification object is only that head center arrives neck The primary vector at vertebra center is correspondingly arranged the parameter of the primary vector, and saves by the primary vector of trunk in deep-knee-bend mistake Standard procedure vector library in journey is for subsequent match.When the primary vector of the trunk acquired in real time is more than the threshold of primary vector Value, then it represents that body is not kept upright, and error is prompted.Herein, due to the characteristic of trunk, when in the vertebra of head center to neck When the primary vector of the heart is kept upright, it generally can directly assert the vertebra center of neck to the secondary vector at the backbone center of trunk Also it is kept upright, the threshold value for only setting a vector improves the efficiency of subsequent real-time error to reduce subsequent calculation amount.
In the displacement identification of trunk, identification object is the skeleton point at the backbone center of trunk, and corresponding identification parameter is should The predetermined displacement distance of skeleton point and scheduled direction of displacement (direction is Y-axis negative direction).When the backbone center of trunk is negative along Y-axis When direction movement is more than preset distance, then it represents that the identification of position movement is reached.If the backbone center of trunk is along Y-axis negative direction It is mobile be less than predetermined displacement apart from when, then it represents that the insufficient amplitude of position movement.
Left leg is provided with negative displacement identification, for reminding in deep-knee-bend knee no more than tiptoe.The negative of left leg is displaced In identification, identification object is the artis of left knee, and identification parameter is predetermined displacement distance, scheduled direction of displacement (direction Z Axis positive direction) and start amplitude threshold value.When left knee along Z axis positive direction move more than predetermined displacement apart from when, then prompt to indicate Position stroke defect.When left knee move along Z axis positive direction be less than predetermined displacement apart from when, then it represents that the knowledge of position movement Do not reach.The identification item of right leg is identical as left leg, and it will not be described here.
In there are some specific embodiments, has for deep-knee-bend, push-up etc. and bob works, it can be only to coming and go back to centre Process set and identified.For example, movement when only squatting down to deep-knee-bend carries out the setting of identification item and identification is entangled It is wrong;Movement when only to push-up prostrate carries out the setting and identification error correction of identification item, thus can be further reduced action recognition Calculation amount to increase the real-time of error correction.
Step S130: the audio data and video acquired by the first terminal is played in one or more second terminals Data.
Specifically, can at least postpone continuing for the target action for the video data that one currently plays in second terminal The audio data and video data acquired from the first terminal that time plays in the second terminal.It is carried out with second terminal When action recognition, reality is may be implemented it has been determined that for accordingly, for the user of the viewing live streaming of second terminal in target action When movement compare.
Step S140: acquiring three dimensional video data by the second terminal in real time, and generates three-dimensional bone to be measured in real time Action model.
In some embodiments, three-dimensional video acquisition device has can be set in second terminal.Three-dimensional video acquisition device can be Three-dimensional depth of field infrared camera or other can directly acquire the camera of three dimensional video data, using 3D modeling tool making There is above-mentioned 15 skeleton points that identification human body needs in action model animation, person model.Model movement animation has to comply with mark Quasi- video specification action request.Ready-made person model export, imports the engineering of Unity3D (3d gaming developing instrument) In, 15 skeleton points in model are tied to the variable of the specified record position 3D, run program, with suitable frame per second record Above-mentioned 15 vectors of each frame being made of skeleton point, the size of frame per second manually adjust, and keep frame number moderate 15 to 30 or so ?.
In one embodiment, the sample frequency acquired in real time can be equal with the sample frequency in standard procedure vector library, Or the sample frequency acquired in real time can be greater than the sample frequency in standard procedure vector library.When the sample frequency acquired in real time When can be greater than the sample frequency in standard procedure vector library, the multiple data and standard procedure of the vector in same time range One data of the vector in vector library carry out matching primitives.
Step S150: will current three-dimensional bone to be measured according to the target action of the video data currently played in second terminal Action model forms a match group with the target action as a movement to be measured, by the movement to be measured;
Specifically, can be since movement determining current three-dimensional bone action model to be measured to currently being broadcast in second terminal The duration of the target action for the video data put using the current three-dimensional bone action model to be measured in the duration as One movement to be measured, is achieved in the determination of movement to be measured.
Step S161: in each match group, movement to be measured is divided into phase by the target site movement according to target action The detected part movement answered, the detected part of movement to be measured is acted and acts to form one with the target site of corresponding target action Physical feeling match group.
For example, movement to be measured is divided into five left arm, right arm, left leg, right leg and trunk detected part movements.If mesh Left arm, right arm and the trunk of mark movement are provided with identification item, then make the detected part movement of left arm with target site movement For the whole body body region match group;The detected part movement of right arm is regard as the whole body body region match group with target site movement;It will The detected part movement of trunk is used as the whole body body region match group with target site movement.
Step S162: to each physical feeling match group, obtaining the identification item of target site movement, according to the three-dimensional bone Bone action model obtains the vector that coordinate, the skeleton point of the skeleton point of the corresponding identification object of the detected part movement are formed And/or the angle between vector, if the identification item is the identification item of procedure-oriented, the vector that the detected part is acted Matching primitives are carried out with the corresponding vector in standard procedure vector library to be compared with the vector threshold set with the identification parameter Compared with feeding back detected part stroke defect if not meeting the recognition rule.Identification process is retouched in above-mentioned steps S120 It states, it will not be described here.
The action video live broadcast system of the embodiment of the present invention will be described below by Fig. 2 and Fig. 3.Fig. 2 shows according to this The schematic diagram of the action video live broadcast system of inventive embodiments.Fig. 3 shows second terminal according to an embodiment of the present invention and shows The schematic diagram of content.
Action video live broadcast system includes first terminal 101 and one or more second terminals 102.First terminal 101 can It is communicated with direct and one or more second terminals 102.In some change case, first terminal 101 passes through live streaming platform clothes Business device and one or more second terminals 102 are communicated to realize live streaming.Further, first terminal 101 and second terminal 102 Can be one of desktop computer, laptop, tablet computer, smart phone or a variety of, the present invention not as Limit.
First terminal 101 is used to acquire the audio, video data of main broadcaster 103.The sound of 102 user of second terminal broadcasting main broadcaster 103 Video data, and acquire the video data or three dimensional video data of the user 104 of viewing live streaming.Further, first terminal 101 For executing step S110 and step S120 shown in FIG. 1.Second terminal 102 executes step S130 to S160 shown in FIG. 1.It is logical Cross aforesaid way may be implemented viewing sport and body-building, dancing live streaming user can move together, and by second terminal 102 into The error correction and/or correction of row action recognition.
With continued reference to Fig. 3, in some embodiments, the display screen of the second terminal 102 can be divided into first area 105 and second area 106.First area 105 is used to play the video data acquired by the first terminal 101.Secondth area Domain 106 is used to play the video data acquired by second terminal 102.In the present embodiment, since user mainly passes through main broadcaster Movement learnt and imitated, therefore, the area of second area 106 is less than the area of first area 105.The second area 106 also show detected part movement whether Cuo Wu feedback.
Specifically, if the identification item is the identification item of procedure-oriented, in the mistake of the detected part action movement In journey in real time according to the detected part movement vector in standard procedure vector library corresponding vector progress matching primitives with Result, which is compared, with the vector threshold of identification parameter setting shows that the detected part acts in the second area 106 Whether Cuo Wu feedback.If the identification item is the identification item towards displacement, the second terminal identifies the detected part When movement is completed in the second area 106 show detected part movement whether Cuo Wu feedback.
Further, if the stroke defect to be measured, the second area 106 shows one or more in following information : the detected part stroke defect;The completeness of the detected part movement;The detected part acts corresponding target portion The position of position movement.Detected part stroke defect described above;The completeness of the detected part movement;The detected part is dynamic The information for making the position of corresponding target site movement need to be corresponding with the position that detected part acts.For example, left arm stroke defect It need to be shown in the side of left arm, completeness also needs the side for being shown in left arm, and so on.Second area 106 shown in Fig. 3 Show that detected part acts the position of corresponding target site movement.
Live streaming Platform Server can also act the detected part of each second terminal 102 in yet other embodiments, Error message carry out statistics and first terminal 101 show, for main broadcaster reference.Under main broadcaster can be determined by these information The content of one movement.
With continued reference to Fig. 4, in some embodiments, live streaming Platform Server acts the detected part of second terminal 102 Error message be supplied to first terminal 101, main broadcaster 103 can select one or more second eventually in multiple second terminals 102 End 102 carries out two-way communication.Live streaming Platform Server can be automatically in multiple second terminals 102 in yet other embodiments, Select one or more second terminal 102 (such as VIP member or the most user of error message) with first terminal 101 Carry out two-way communication and then real-time delivery audio, video data.Main broadcaster 103 can be with the use of selected second terminal 102 as a result, 104 real-time interactive of family, audio-video direct teaching corrective action.Movement to be measured and institute when the selected acquisition of second terminal 102 When stating target action matching, cut out selected second terminal 102 from the two-way communication.It is based on action recognition as a result, The two-way communication of main broadcaster 103 and user 105 are triggered, and cuts out user 105 from two-way communication by action recognition, to improve The interactivity of main broadcaster 103 and user 105.In the present embodiment, each second terminal 102 can be in communication with each other, to obtain other The movement feedback (for example, the score calculated according to movement completeness) of second terminal 102.In such embodiments, it realizes The interaction of coach and student, student and student on line, are not limited by place, time.
In other embodiment of the invention, above-mentioned first terminal 101 can also upload the audio, video data of acquisition To a cloud database (cloud database of platform is for example, broadcast live), second terminal 102 can be at any time from cloud number The audio, video data that first terminal 101 uploads is obtained according to library to carry out movement matching, and second terminal 102 can will act matched knot Fruit (such as score, stroke defect information etc. of movement completeness calculating) is sent to (or being sent to by the way that platform is broadcast live) first eventually End 101, first terminal 101 can be fed back according to these information, to realize asynchronous communication.
Above is only schematically to describe multiple embodiments of the invention, and the present invention is not limited thereto.
Compared with prior art, the present invention by acquired in real time under live scene live video formed three-dimensional skeleton model come It determines target action, and the movement to be measured acquired in real time is compared with target action, it is to be measured for each of acquiring in real time Movement, and body make-up is pressed, simplify skeleton point, movement is divided into detected part as unit of three skeleton points and is acted, and with Procedure-oriented and identification item towards displacement identify detected part movement, and pass through reality in the identification item of procedure-oriented When the skeleton point that the acquires one standard procedure vector library of vector sum that constitutes in vector carry out it is simple calculate with setting to Amount threshold value is compared, and the setting of skeleton point and vector and the process calculation amount of match cognization are smaller, can be realized live scene Under real-time feedback, will not generate stroke defect Recognition feedback to be measured delay the phenomenon that.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with Calculation machine program, the program may be implemented electronic prescription described in any one above-mentioned embodiment and circulate when being executed by such as processor The step of processing method.In some possible embodiments, various aspects of the invention are also implemented as a kind of program production The form of product comprising program code, when described program product is run on the terminal device, said program code is for making institute It states terminal device and executes described in this specification above-mentioned electronic prescription circulation processing method part various examples according to the present invention The step of property embodiment.
With reference to shown in Figure 14, the program product for realizing the above method of embodiment according to the present invention is described 300, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in tenant It calculates and executes in equipment, partly executed in tenant's equipment, being executed as an independent software package, partially in tenant's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to tenant and calculates equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
It can be with one or more programming Integrated Development Environment (IDE, Integrated Development Environment), any combination of development of games engine establishes the engineering process for executing operation of the present invention, such as Unity3D, Unreal, Visual Studio etc..
In an exemplary embodiment of the disclosure, a kind of electronic equipment is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution Executable instruction is come the step of executing the circulation processing method of electronic prescription described in any one above-mentioned embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Figure 15.The electricity that Figure 15 is shown Sub- equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 15, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be with Including but not limited to: at least one processing unit 610, at least one storage unit 620, the different system components of connection (including are deposited Storage unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610 Row, so that the processing unit 610 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this The step of inventing various illustrative embodiments.For example, the processing unit 610 can execute step as shown in Figure 1.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practical work with one group of (at least one) program module 6205 Tool 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment that also tenant can be enabled interact with the electronic equipment 600 with one or more communicates, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned electronics according to disclosure embodiment Prescription circulation processing method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.

Claims (18)

1. a kind of action video live broadcasting method characterized by comprising
S110. audio data and video data are acquired by first terminal, the video data is converted into three-dimensional bone and is acted Model obtains the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data;
S120. according to the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data to video Middle human body carries out action recognition to determine target action;
S130. the audio data and video data acquired by the first terminal is played in one or more second terminals;
S140. three dimensional video data is acquired by the second terminal in real time, and generates three-dimensional bone action model to be measured in real time;
It S150. will current three-dimensional bone action model to be measured according to the target action of the video data currently played in second terminal As a movement to be measured, which is formed into a match group with the target action;And
S160. in each match group, movement to be measured and target action are matched, when movement to be measured mismatches target action Shi Jinhang miscue.
2. action video live broadcasting method as described in claim 1, which is characterized in that
The step S120 include: when identification one movement continuously repeat occur when, using the movement as target action;
The step S130 includes: at least to postpone one currently to continue in the target action of the video data of second terminal broadcasting The audio data and video data acquired from the first terminal that time plays in the second terminal.
3. action video live broadcasting method as claimed in claim 2, which is characterized in that
The step S120 comprises determining that the duration of target action;
The step S150 includes: since acting determining current three-dimensional bone action model to be measured to currently broadcasting in second terminal The duration of the target action for the video data put using the current three-dimensional bone action model to be measured in the duration as One movement to be measured.
4. action video live broadcasting method as described in claim 1, which is characterized in that
The step S120 further include:
By the target action by the three-dimensional bone action model dismantling at five physical feelings: left arm, right arm, left leg, right leg And trunk, each physical feeling include: three vectors that three skeleton points, three skeleton points are formed and three described Angle in vector between two vectors,
The one or more procedure-orienteds of position movement generation at least one physical feeling or the identification item towards displacement, often A identification item includes identification object, identification parameter and recognition rule, the identification object include in three skeleton points extremely A few skeleton point;At least one vector in three vectors;An and folder in three vectors between two vectors It is one or more in angle,
Wherein, the identification item of the procedure-oriented further includes a standard procedure vector library, and standard procedure vector library is temporally Ordered storage has at least one vector of the position movement,
The step S160 further include:
Movement to be measured is divided into corresponding detected part and acted by the target site movement according to target action, by movement to be measured Detected part movement acts to form the whole body body region match group with the target site of corresponding target action;
To each physical feeling match group, the identification item of target site movement is obtained, is obtained according to the three-dimensional bone action model The vector and/or vector for taking coordinate, the skeleton point of the skeleton point of the corresponding identification object of detected part movement to be formed it Between angle, if the identification item is the identification item of procedure-oriented, the vector that the detected part is acted and standard procedure Correspondence vector in vector library is carried out matching primitives and is compared with the vector threshold set with the identification parameter, if not meeting The recognition rule then feeds back detected part stroke defect.
5. action video live broadcasting method as claimed in claim 4, which is characterized in that the display screen of the second terminal divides Are as follows:
First area plays the video data acquired by the first terminal;And
Second area, plays the video data acquired by second terminal, and the area of the second area is less than first area Area, the second area also show detected part movement whether Cuo Wu feedback.
6. action video live broadcasting method as claimed in claim 5, which is characterized in that if the identification item is the knowledge of procedure-oriented Other item, then in real time according to the vector and standard procedure of the detected part movement during detected part action movement Correspondence vector in vector library carries out matching primitives and is compared result in institute with the vector threshold set with the identification parameter State second area show detected part movement whether Cuo Wu feedback.
7. action video live broadcasting method as claimed in claim 5, which is characterized in that if the identification item is the knowledge towards displacement Other item, then the second terminal, which identifies, shows that the detected part is dynamic in the second area when detected part movement is completed Make whether Cuo Wu feedback.
8. action video live broadcasting method as claimed in claim 5, which is characterized in that described if the stroke defect to be measured Second area shows one or more in following information:
The detected part stroke defect;
The completeness of the detected part movement;
The detected part acts the position of corresponding target site movement.
9. action video live broadcasting method as described in claim 1, which is characterized in that after the step S160, further includes:
An at least second terminal is chosen from one or more second terminals, makes the first terminal and the second terminal two-way Letter is with real-time delivery audio, video data.
10. action video live broadcasting method as claimed in claim 9, which is characterized in that the first terminal and described second is eventually After end two-way communication is with real-time delivery audio, video data further include:
When the movement to be measured that selected second terminal acquires is matched with the target action, make selected second terminal certainly It is cut out in the two-way communication.
11. action video live broadcasting method as claimed in claim 9, which is characterized in that the quantity of selected second terminal is big In one, after the first terminal and the second terminal two-way communication are with real-time delivery audio, video data further include:
Multiple selected second terminals are in communication with each other to show the dynamic of other second terminals in each selected second terminal It feeds back.
12. action video live broadcasting method as described in claim 1, which is characterized in that after the step S160, further includes:
The first terminal stores the audio data of acquisition and video data to a cloud database;
The second terminal obtains the audio data and video data from the cloud database to carry out movement to be measured and mesh The matching of mark movement;
The matching result of the movement to be measured and target action is sent to the first terminal by the second terminal.
13. action video live broadcasting method as claimed in claim 4, which is characterized in that the vector for acting the detected part Matching primitives are carried out with the corresponding vector in standard procedure vector library to be compared with the vector threshold set with the identification parameter Relatively include:
Calculate the vector in standard procedure vector libraryWith the vector of detected part movement Between angle theta cosine value:
VectorWith vectorBetween the cosine value of angle theta be used for the vector threshold that sets with the identification parameter and compared Compared with.
14. action video live broadcasting method as claimed in claim 4, which is characterized in that
The identification item of procedure-oriented includes track identification, negative track identification and keeps identifying;
Identification item towards displacement includes displacement identification and negative displacement identification.
15. action video live broadcasting method as claimed in claim 4, which is characterized in that
Left arm includes: left finesse artis, left hand elbow joint point, left shoulder joint node, left shoulder joint node to left hand elbow joint dot At primary vector, left hand elbow joint point to left finesse artis formed secondary vector, left shoulder joint node to left hand wrist joint The angle between third vector and the primary vector and the secondary vector that point is formed;
Right arm includes: right finesse artis, right hand elbow joint point, right shoulder joint node, right shoulder joint node to right hand elbow joint dot At primary vector, right hand elbow joint point to right finesse artis formed secondary vector, right shoulder joint node to right hand wrist joint The angle between third vector and the primary vector and the secondary vector that point is formed;
Trunk includes: the backbone center of head center, the backbone center of neck, the backbone center of trunk, head center to neck Secondary vector that the primary vector of formation, the backbone of backbone center to the trunk of neck are centrally formed, head center to trunk The angle that the third vector and the primary vector and the secondary vector that backbone is centrally formed are formed;
Left leg includes: left ankle artis, left knee artis, left hip joint point, left hip joint point to left knee joint dot At primary vector, left knee the artis secondary vector, the left hip joint point to left foot ankle-joint that are formed to left ankle artis The angle between third vector and the primary vector and the secondary vector that point is formed;
Right leg includes: right ankle artis, right knee endoprosthesis point, right hip joint point, right hip joint point to right knee endoprosthesis dot At primary vector, right knee endoprosthesis point to right ankle the artis secondary vector, the right hip joint point to right crus of diaphragm ankle-joint that are formed The angle between third vector and the primary vector and the secondary vector that point is formed.
16. a kind of action video live broadcast system characterized by comprising
First terminal, the first terminal execute following steps:
S110. audio data and video data are acquired by first terminal, the video data is converted into three-dimensional bone and is acted Model obtains the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data;
S120. according to the vector formed between the coordinate and multiple skeleton points of multiple skeleton points of human body in video data to video Middle human body carries out action recognition to determine target action;
Second terminal is communicated with the first terminal, and the second terminal executes following steps:
S130. the audio data and video data acquired by the first terminal is played;
S140. three dimensional video data is acquired by the second terminal in real time, and generates three-dimensional bone action model to be measured in real time;
It S150. will current three-dimensional bone action model to be measured according to the target action of the video data currently played in second terminal As a movement to be measured, which is formed into a match group with the target action;And
S160. in each match group, movement to be measured and target action are matched, when movement to be measured mismatches target action Shi Jinhang miscue.
17. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Storage medium is stored thereon with computer program, and such as right is executed when the computer program is run by the processor It is required that 1 to 15 described in any item steps.
18. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium Such as claim 1 to 15 described in any item steps are executed when being run by processor.
CN201810247317.3A 2018-03-23 2018-03-23 Action video live broadcast method, system, electronic equipment and storage medium Active CN110298220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810247317.3A CN110298220B (en) 2018-03-23 2018-03-23 Action video live broadcast method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810247317.3A CN110298220B (en) 2018-03-23 2018-03-23 Action video live broadcast method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110298220A true CN110298220A (en) 2019-10-01
CN110298220B CN110298220B (en) 2021-11-09

Family

ID=68026145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810247317.3A Active CN110298220B (en) 2018-03-23 2018-03-23 Action video live broadcast method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110298220B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782482A (en) * 2019-10-21 2020-02-11 深圳市网心科技有限公司 Motion evaluation method and device, computer equipment and storage medium
CN110781820A (en) * 2019-10-25 2020-02-11 网易(杭州)网络有限公司 Game character action generating method, game character action generating device, computer device and storage medium
CN111597975A (en) * 2020-05-14 2020-08-28 北京万觉科技有限公司 Personnel action detection method and device and electronic equipment
CN112235601A (en) * 2020-10-13 2021-01-15 中国联合网络通信集团有限公司 Live broadcast behavior correction method, terminal, edge server and computer equipment
CN112364818A (en) * 2020-11-27 2021-02-12 Oppo广东移动通信有限公司 Action correcting method and device, electronic equipment and storage medium
CN113596353A (en) * 2021-08-10 2021-11-02 广州艾美网络科技有限公司 Somatosensory interaction data processing method and device and somatosensory interaction equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390174A (en) * 2012-05-07 2013-11-13 深圳泰山在线科技有限公司 Physical education assisting system and method based on human body posture recognition
CN104488022A (en) * 2011-10-25 2015-04-01 阿奎默有限公司 Method to provide dynamic customized sports instruction responsive to motion of a mobile device
CN105903157A (en) * 2016-04-19 2016-08-31 深圳泰山体育科技股份有限公司 Electronic coach realization method and system
CN106022213A (en) * 2016-05-04 2016-10-12 北方工业大学 Human body motion recognition method based on three-dimensional bone information
CN106139564A (en) * 2016-08-01 2016-11-23 纳恩博(北京)科技有限公司 Image processing method and device
CN106485055A (en) * 2016-09-22 2017-03-08 吉林大学 A kind of old type ii diabetes patient moving training system based on Kinect sensor
CN107180235A (en) * 2017-06-01 2017-09-19 陕西科技大学 Human action recognizer based on Kinect

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488022A (en) * 2011-10-25 2015-04-01 阿奎默有限公司 Method to provide dynamic customized sports instruction responsive to motion of a mobile device
CN103390174A (en) * 2012-05-07 2013-11-13 深圳泰山在线科技有限公司 Physical education assisting system and method based on human body posture recognition
CN105903157A (en) * 2016-04-19 2016-08-31 深圳泰山体育科技股份有限公司 Electronic coach realization method and system
CN106022213A (en) * 2016-05-04 2016-10-12 北方工业大学 Human body motion recognition method based on three-dimensional bone information
CN106139564A (en) * 2016-08-01 2016-11-23 纳恩博(北京)科技有限公司 Image processing method and device
CN106485055A (en) * 2016-09-22 2017-03-08 吉林大学 A kind of old type ii diabetes patient moving training system based on Kinect sensor
CN107180235A (en) * 2017-06-01 2017-09-19 陕西科技大学 Human action recognizer based on Kinect

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782482A (en) * 2019-10-21 2020-02-11 深圳市网心科技有限公司 Motion evaluation method and device, computer equipment and storage medium
CN110781820A (en) * 2019-10-25 2020-02-11 网易(杭州)网络有限公司 Game character action generating method, game character action generating device, computer device and storage medium
CN110781820B (en) * 2019-10-25 2022-08-05 网易(杭州)网络有限公司 Game character action generating method, game character action generating device, computer device and storage medium
CN111597975A (en) * 2020-05-14 2020-08-28 北京万觉科技有限公司 Personnel action detection method and device and electronic equipment
CN111597975B (en) * 2020-05-14 2024-04-19 北京万觉科技有限公司 Personnel action detection method and device and electronic equipment
CN112235601A (en) * 2020-10-13 2021-01-15 中国联合网络通信集团有限公司 Live broadcast behavior correction method, terminal, edge server and computer equipment
CN112364818A (en) * 2020-11-27 2021-02-12 Oppo广东移动通信有限公司 Action correcting method and device, electronic equipment and storage medium
CN113596353A (en) * 2021-08-10 2021-11-02 广州艾美网络科技有限公司 Somatosensory interaction data processing method and device and somatosensory interaction equipment

Also Published As

Publication number Publication date
CN110298220B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN110298220A (en) Action video live broadcasting method, system, electronic equipment, storage medium
US8213680B2 (en) Proxy training data for human body tracking
CN110428486A (en) Body building method, electronic equipment and the storage medium of virtual interactive
CN109308438A (en) Method for building up, electronic equipment, the storage medium in action recognition library
CN109308437A (en) Action recognition error correction method, electronic equipment, storage medium
CN110544301A (en) Three-dimensional human body action reconstruction system, method and action training system
CN110298218B (en) Interactive fitness device and interactive fitness system
TW201546660A (en) Human tracking system
Obdržálek et al. Real-time human pose detection and tracking for tele-rehabilitation in virtual reality
CN109144252B (en) Object determination method, device, equipment and storage medium
WO2021134178A1 (en) Video stream processing method, apparatus and device, and medium
CN110298221A (en) Self-service body building method, system, electronic equipment, storage medium
CN113409651B (en) Live broadcast body building method, system, electronic equipment and storage medium
CN104978583B (en) The recognition methods of figure action and device
CN110348370A (en) A kind of augmented reality system and method for human action identification
CN111353347B (en) Action recognition error correction method, electronic device, and storage medium
CN111353345B (en) Method, apparatus, system, electronic device, and storage medium for providing training feedback
CN110314344A (en) Move based reminding method, apparatus and system
CN114554111B (en) Video generation method and device, storage medium and electronic equipment
CN116095353A (en) Live broadcast method and device based on volume video, electronic equipment and storage medium
EP4176409A1 (en) Full skeletal 3d pose recovery from monocular camera
CN111460868A (en) Action recognition error correction method, system, electronic device and storage medium
JP7198892B2 (en) Video playback device, video playback method, and video distribution system
CN114356100B (en) Body-building action guiding method, body-building action guiding device, electronic equipment and storage medium
JP6945693B2 (en) Video playback device, video playback method, and video distribution system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210823

Address after: 200125 room 328, floor 3, unit 2, No. 231, Expo Village Road, pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai shibeisi Fitness Management Co.,Ltd.

Address before: 200233 room 136, building 20, tianlinfang, 130 Tianlin Road, Xuhui District, Shanghai

Applicant before: SHANGHAI MYSHAPE INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant