CN109741481A - Body-building duration calculation method, apparatus and body-building equipment based on recognition of face - Google Patents

Body-building duration calculation method, apparatus and body-building equipment based on recognition of face Download PDF

Info

Publication number
CN109741481A
CN109741481A CN201811535208.8A CN201811535208A CN109741481A CN 109741481 A CN109741481 A CN 109741481A CN 201811535208 A CN201811535208 A CN 201811535208A CN 109741481 A CN109741481 A CN 109741481A
Authority
CN
China
Prior art keywords
facial image
building
identified
building equipment
timing
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.)
Pending
Application number
CN201811535208.8A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811535208.8A priority Critical patent/CN109741481A/en
Publication of CN109741481A publication Critical patent/CN109741481A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides body-building duration calculation method, apparatus and body-building equipment based on recognition of face, this method comprises: acquiring facial image to be identified, facial image to be identified is the facial image of body builder;It identifies facial image to be identified, obtains the feature vector of facial image to be identified;The feature vector of facial image to be identified is matched with the feature vector of multiple facial image samples in database, obtains matching result;According to the matching result, judge whether body builder has the access right of body-building equipment, if so, activation body-building equipment, and start timing;Detect whether that receiving the instruction for being used to indicate stopping timing stopping timing if receiving instruction;According to the use duration for calculating body-building equipment at the time of beginning timing and at the time of stopping timing.Technical solution provided in an embodiment of the present invention is able to solve in the prior art the problem of manually statistics body-building duration low efficiency.

Description

Body-building duration calculation method, apparatus and body-building equipment based on recognition of face
[technical field]
The present invention relates to image domains more particularly to a kind of body-building duration calculation method, apparatus based on recognition of face and Body-building equipment.
[background technique]
In existing some gymnasiums, body-building equipment is generally managed by access control system, and user is to body-building Mainly foundation is manually counted the use duration of equipment, inefficiency.
Therefore, how to solve manually to count body-building duration low efficiency as a technical problem to be solved urgently.
[summary of the invention]
In view of this, the body-building duration calculation method, apparatus that the embodiment of the invention provides a kind of based on recognition of face and Body-building equipment manually counts body-building duration low efficiency to solve the problems, such as in the prior art.
To achieve the goals above, according to an aspect of the invention, there is provided when a kind of body-building based on recognition of face Long calculation method, which comprises
Facial image to be identified is acquired, the facial image to be identified is the facial image of body builder;Using preset people Face identification model identifies the facial image to be identified, obtains the feature vector of the facial image to be identified;By described wait know The feature vector of others' face image is matched with the feature vector of multiple facial image samples in database, obtains matching knot Fruit, wherein user associated by the facial image sample has the access right of body-building equipment;According to the matching result, Whether have the access right of the body-building equipment, if so, activating the body-building equipment, and start to count if judging the body builder When;Detect whether that receiving the instruction for being used to indicate stopping timing stopping timing if receiving described instruction;According to beginning At the time of timing and stop calculating the use duration that the body builder uses the body-building equipment at the time of timing.
Further, described to be calculated described in body builder's use according at the time of starting timing and at the time of stopping timing After the use duration of body-building equipment, the method also includes: according to the default consumption standard of the body-building equipment and described make With duration, the destination number of payment resource is determined;Notification information is sent to the body builder, the notification information carries the mesh Mark quantity;Receive the veritification information that the body builder returns;The payment of the destination number is deducted from the account of the body builder Resource.
Further, multiple facial image samples by the feature vector and database of the facial image to be identified This feature vector is matched, the method for obtaining matching result, comprising: calculate separately the feature of the facial image to be identified The similarity value of the feature vector of vector and the multiple facial image sample, wherein user associated by facial image sample Access right with the body-building equipment;Judge whether at least one reaches among calculated multiple similarity values Threshold value;If at least one reaches the threshold value among calculated multiple similarity values, by maximum similarity value Corresponding facial image sample is confirmed as target facial image sample;Output is used to indicate the matching result of successful match.
Further, in the activation body-building equipment, and after starting timing, and the finger is received described It enables, then before stopping timing, the method also includes: the history audio for obtaining the body builder plays record;It is gone through according to described History audio plays record, identifies the label of the history audio;Based on the label of the history audio recognized, obtained from cloud Take the music to match with the label;Play the music got.
Further, in the activation body-building equipment, and after starting timing, and the finger is received described It enables, then before stopping timing, the method also includes: obtain the body builder works as time fitness program;It is sent out to the body builder It send described when time fitness program;It is described when time fitness program to being sent with the associated fitness of the body builder.
Further, described instruction is received described, then after stopping timing, and made in the calculating body builder Before the use duration of the body-building equipment, the method also includes: obtain the biological characteristic of the body builder and when time fortune Momentum, the biological characteristic include heart rate, blood pressure, consumption energy, body fat rate and muscle mass;According to the life of the body builder Object feature and described when time amount of exercise, judges whether to complete described when time fitness program;If completing, next fitness program is exported; If not completing, multiple additional projects are exported so that the body builder selects.
To achieve the goals above, according to an aspect of the invention, there is provided when a kind of body-building based on recognition of face Long computing device, described device include:
Acquisition unit, for acquiring facial image to be identified, the facial image to be identified is the facial image of body builder; Recognition unit obtains the face to be identified for identifying the facial image to be identified using preset human face recognition model The feature vector of image;Matching unit, for by multiple people in the feature vector and database of the facial image to be identified The feature vector of face image sample is matched, and matching result is obtained, wherein the tool of user associated by the facial image sample There is the access right of body-building equipment;Unit is activated, for it is described to judge whether the body builder has according to the matching result The access right of body-building equipment if so, activating the body-building equipment, and starts timing;Detection unit, for detecting whether receiving Stop timing if receiving described instruction to the instruction for stopping timing being used to indicate;Computing unit, based on according to starting When at the time of and stop timing at the time of calculate the body builder use the body-building equipment use duration.
Further, described device further include: determination unit, for according to the default consumption standard of the body-building equipment and It is described to use duration, determine the destination number of payment resource;Transmission unit, for sending notification information, institute to the body builder It states notification information and carries the destination number;Receiving unit, the veritification information returned for receiving the body builder;It withholds list Member, for deducting the payment resource of the destination number from the account of the body builder.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of storage medium, the storage medium Program including storage, wherein equipment where controlling the storage medium in described program operation executes above-mentioned based on people The body-building duration calculation method of face identification.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of body-building equipment, including above-mentioned base In the body-building duration calculation device of recognition of face.
In the present solution, activating body-building equipment by face recognition technology, body-building equipment is managed without other access control systems, So that the direct brush face of user with access right can body-building.Simultaneously according to the activation moments and stop timing of body-building equipment come Body-building duration is calculated, rather than calculates body-building duration by manually, the duration that can be avoided artificial statistics body-building equipment is led The problem of inefficiency of cause, improves the efficiency of body-building duration calculation.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow chart of body-building duration calculation method based on recognition of face according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of body-building duration calculation device based on recognition of face according to an embodiment of the present invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though terminal may be described using term first, second, third, etc. in embodiments of the present invention, But these terminals should not necessarily be limited by these terms.These terms are only used to for terminal being distinguished from each other out.For example, not departing from the present invention In the case where scope of embodiments, first acquisition unit can also be referred to as second acquisition unit, similarly, second acquisition unit First acquisition unit can be referred to as.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Fig. 1 is a kind of flow chart of body-building duration calculation method based on recognition of face according to an embodiment of the present invention, such as Shown in Fig. 1, this method comprises:
Step S101, acquires facial image to be identified, and facial image to be identified is the facial image of body builder.
Step S102 identifies facial image to be identified using preset human face recognition model, obtains facial image to be identified Feature vector.
Step S103, by the feature of multiple facial image samples in the feature vector and database of facial image to be identified Vector is matched, and matching result is obtained, wherein user associated by facial image sample has the right to use of body-building equipment Limit;
Step S104 judges whether body builder has the access right of body-building equipment according to matching result, if so, activation Body-building equipment, and start timing;
Step S105 detects whether that receive the instruction for being used to indicate stopping timing stopping counting if receiving instruction When;
Step S106 is made according to body builder is calculated at the time of starting timing and at the time of stopping timing using body-building equipment Use duration.
In the present solution, activating body-building equipment by face recognition technology, body-building equipment is managed without other access control systems, So that the direct brush face of user with access right can body-building.Simultaneously according to the activation moments and stop timing of body-building equipment come Body-building duration is calculated, rather than calculates body-building duration by manually, the duration that can be avoided artificial statistics body-building equipment is led The problem of inefficiency of cause, improves the efficiency of body-building duration calculation.
Wherein, the facial image of body builder can be acquired by RGB camera, depth camera, 3D structure light video camera head.
Optionally, by multiple face training samples training Initial Face identification model, and further Initial Face is known The output result of other model inputs the discrimination model pre-established, is instructed by the confrontation of discrimination model and Initial Face identification model Practice, obtains the human face recognition model of deep learning.Initial Face identification model, which can be, utilizes machine learning method and training sample This carries out obtained from Training existing convolutional neural networks structure.
Optionally, according to calculating body builder uses the use of body-building equipment at the time of starting timing and at the time of stopping timing After duration, method further include: according to the default consumption standard of body-building equipment and use duration, determine the number of targets of payment resource Amount;Notification information is sent to body builder, notification information carries destination number;Receive the veritification information that body builder returns;From body-building The account of person deducts the payment resource of destination number.
Wherein, default consumption standard can be worth to be preset according to body-building equipment itself, can also be according to body builder Membership grade preset.Such as membership grade is higher, consumption standard is lower.Payment resource can be cash, virtual goods The cash etc. that coin or body builder prestore.When payment resource is cash, the wechat client of notification information to body builder can be sent Or Alipay directly deducts body-building expense from the wechat account or Alipay account of body builder after body builder veritifies confirmation.Branch Pay resource be ideal money or prestore cash when, can export on notification information to the interactive screen of body-building equipment, to body-building After person's confirmation, directly deduct.So that directly deducted fees according to calculated using duration using after body-building equipment every time, It realizes without card body-building, improves the body-building efficiency of management.
Optionally, by the feature of multiple facial image samples in the feature vector and database of facial image to be identified to Amount matched, the method for obtaining matching result, comprising: calculate one by one facial image to be identified feature vector and multiple faces The similarity value of the feature vector of image pattern, wherein user associated by facial image sample has the use of body-building equipment Permission;Judge calculated multiple similarity values whether among at least one reach threshold value;If calculated multiple similar At least one reaches threshold value among angle value, then the corresponding facial image sample of maximum similarity value is confirmed as target face figure Decent;Output is used to indicate the matching result of successful match.It is to be appreciated that when successful match, then it represents that body builder's tool There is the access right of the body-building equipment.
Optionally, if calculated multiple similarity values none reach threshold value, output is used to indicate matching and loses The matching result lost, the access right of the not no body-building equipment of body builder, or need to resurvey the facial image of body builder.
By calculating the similarity of the feature vector of facial image and facial image sample to be identified, whether to confirm user Access right with body-building equipment can be improved the precision and reliability of user's identification, realize the body-building of brush face.
Optionally, in activation body-building equipment, and after starting timing, and receiving instruction, then before stopping timing, side Method further include: the history audio for obtaining body builder plays record;It is played and is recorded according to history audio, identify the mark of history audio Label;Based on the label of the history audio recognized, the music to match with label is obtained from cloud;Play the music got. So as to play the music that body builder likes automatically, music is provided to body builder during body-building, user can be helped slow Solution movement bring fatigue, improves exercise experience, more personalized.
Optionally, in activation body-building equipment, and after starting timing, and receiving instruction, then before stopping timing, side Method further include: obtain body builder works as time fitness program;It sends to body builder when time fitness program;To associated strong with body builder It teaches others by his own example to practice and send when time fitness program.So that the personal trainer of body builder being capable of the user that is responsible for him of quick obtaining Whether body-building is started, according to the fitness program of body builder, auxiliary appliance needed for preparing body-building in time etc. further promotes body-building Satisfaction.
Optionally, instruction is being received, then after stopping timing, and when calculating use of the body builder using body-building equipment Before length, method further include: obtain the biological characteristic of body builder and when time amount of exercise, biological characteristic includes heart rate, blood pressure, consumption Energy, body fat rate and muscle mass;According to the biological characteristic of body builder and when time amount of exercise, judge whether to complete when time body-building meter It draws;If completing, next fitness program is exported;If not completing, multiple additional projects are exported for body builder's selection.To assist body-building Person completes to promote body-building effect when secondary amount of exercise.
Wherein, biological characteristic can be obtained by the collector worn with body builder, can also be integrally disposed by collector In on body-building equipment, such as at handle.
The embodiment of the invention provides a kind of body-building duration calculation device based on recognition of face, the device is for executing State the body-building duration calculation method based on recognition of face, as shown in Fig. 2, the device include: acquisition unit 10, recognition unit 20, Matching unit 30, activation unit 40, detection unit 50 and computing unit 60.
Acquisition unit 10, for acquiring facial image to be identified, facial image to be identified is the facial image of body builder;Know Other unit 20 obtains the spy of facial image to be identified for identifying facial image to be identified using preset human face recognition model Levy vector;Matching unit 30, for by multiple facial image samples in the feature vector and database of facial image to be identified Feature vector matched, obtain matching result, wherein there is body-building equipment to make by user associated by facial image sample Use permission;Unit 40 is activated, for judging whether body builder has the access right of body-building equipment according to identity information, if so, Body-building equipment is activated, and starts timing;Detection unit 50, for detecting whether the instruction for being used to indicate and stopping timing being received, If receiving instruction, stop timing;Computing unit 60, for being calculated according at the time of starting timing and at the time of stopping timing Body builder uses the use duration of body-building equipment.
Wherein, the facial image of body builder can be acquired by RGB camera, depth camera, 3D structure light video camera head.
Optionally, by multiple face training samples training Initial Face identification model, and further Initial Face is known The output result of other model inputs the discrimination model pre-established, is instructed by the confrontation of discrimination model and Initial Face identification model Practice, obtains the human face recognition model of deep learning.Initial Face identification model, which can be, utilizes machine learning method and training sample This carries out obtained from Training existing convolutional neural networks structure.
In the present solution, activating body-building equipment by face recognition technology, body-building equipment is managed without other access control systems, So that the direct brush face of user with access right can body-building.Simultaneously according to the activation moments and stop timing of body-building equipment come Body-building duration is calculated, rather than calculates body-building duration by manually, the duration that can be avoided artificial statistics body-building equipment is led The problem of inefficiency of cause, improves the efficiency of body-building duration calculation.
Optionally, device further include: determination unit, transmission unit, receiving unit, unit of withholing.
Determination unit determines the target of payment resource for the default consumption standard according to body-building equipment and using duration Quantity;Transmission unit, for sending notification information to body builder, notification information carries destination number;Receiving unit, for receiving The veritification information that body builder returns;It withholds unit, for deducting the payment resource of destination number from the account of body builder.
Wherein, default consumption standard can be worth to be preset according to body-building equipment itself, can also be according to body builder Membership grade preset.Such as membership grade is higher, consumption standard is lower.Payment resource can be cash, virtual goods The cash etc. that coin or body builder prestore.When payment resource is cash, the wechat client of notification information to body builder can be sent Or Alipay directly deducts body-building expense from the wechat account or Alipay account of body builder after body builder veritifies confirmation.Branch Pay resource be ideal money or prestore cash when, can export on notification information to the interactive screen of body-building equipment, to body-building After person's confirmation, directly deduct.So that directly deducted fees according to calculated using duration using after body-building equipment every time, It realizes without card body-building, improves the body-building efficiency of management.
Optionally, matching unit 30 includes: computation subunit, judgment sub-unit, confirmation subelement, the first output son list Member, the second output subelement.
Computation subunit, for calculating separately the feature vector of facial image to be identified and the spy of multiple facial image samples Levy the similarity value of vector;Judgment sub-unit, for judging whether at least one is reached among calculated multiple similarity values To threshold value;Confirm subelement, if among calculated multiple similarity values at least one reach threshold value, will be maximum The corresponding facial image sample of similarity value is confirmed as target facial image sample;First output subelement, is used for for exporting Indicate the matching result of successful match.It is to be appreciated that when successful match, then it represents that body builder has making for the body-building equipment Use permission.Second output subelement, if none reaches threshold value for calculated multiple similarity values, output is used for Indicate the matching result that it fails to match, the access right of the not no body-building equipment of body builder, or need to resurvey body builder Facial image.
By calculating the similarity of the feature vector of facial image and facial image sample to be identified, whether to confirm user Access right with body-building equipment can be improved the precision and reliability of user's identification, realize the body-building of brush face.
Optionally, matching unit 30 further include: acquisition subelement.Subelement is acquired, if being used for calculated multiple phases Like angle value, none reaches threshold value, then resurveys the facial image of body builder.
Optionally, device further include: first acquisition unit, the second recognition unit, second acquisition unit, broadcast unit.
First acquisition unit, the history audio for obtaining body builder play record;Second recognition unit is gone through for basis History audio plays record, identifies the label of history audio;Second acquisition unit, for the mark based on the history audio recognized Label obtain the music to match with label from cloud;Broadcast unit, for playing the music got.So as to broadcast automatically The music that body builder likes is put, provides music to body builder during body-building, user can be helped to alleviate movement bring tired Labor improves exercise experience, more personalized.
Optionally, device further include: third acquiring unit, the first output unit, the second output unit.
Third acquiring unit, for obtain body builder when time fitness program;First output unit, for being sent out to body builder It send when time fitness program;Second output unit, for sending to the associated fitness of body builder when time fitness program.To Whether the user that fitness's quick obtaining is responsible for him starts body-building, according to the fitness program of body builder, in time Auxiliary appliance needed for preparing body-building etc. further promotes body-building satisfaction.
Optionally, device further include: the 4th acquiring unit, judging unit, third output unit, the 4th output unit.
4th acquiring unit, for obtaining the biological characteristic of body builder and when time amount of exercise, biological characteristic includes heart rate, blood Pressure, consumption energy, body fat rate and muscle mass;Judging unit, for the biological characteristic according to body builder and when time amount of exercise, judgement Whether completion is when time fitness program;Third output unit, if for completing to export next fitness program when time fitness program;The Four output units, if exporting multiple additional projects for not completing when time fitness program for body builder's selection.To assist body-building Person completes to promote body-building effect when secondary amount of exercise.
Wherein, biological characteristic can be obtained by the collector worn with body builder, can also be integrally disposed by collector In on body-building equipment, such as at handle.
The embodiment of the invention provides a kind of storage medium, storage medium includes the program of storage, wherein is run in program When control storage medium where device execute following steps:
Facial image to be identified is acquired, facial image to be identified is the facial image of body builder;Known using preset face Other model identifies facial image to be identified, obtains the feature vector of facial image to be identified;By the feature of facial image to be identified Vector is matched with the feature vector of multiple facial image samples in database, obtains matching result, wherein facial image User associated by sample has the access right of body-building equipment;According to matching result, judge whether body builder sets with body-building Standby access right, if so, activation body-building equipment, and start timing;It detects whether to receive the finger for being used to indicate and stopping timing It enables, if receiving instruction, stops timing;It is strong according to being used at the time of starting timing with calculating body builder at the time of stopping timing The use duration of body equipment.
In the present solution, activating body-building equipment by face recognition technology, body-building equipment is managed without other access control systems, So that the direct brush face of user with access right can body-building.Simultaneously according to the activation moments and stop timing of body-building equipment come Body-building duration is calculated, rather than calculates body-building duration by manually, the duration that can be avoided artificial statistics body-building equipment is led The problem of inefficiency of cause, improves the efficiency of body-building duration calculation.
Optionally, when program is run, device where control storage medium also executes following steps: according to body-building equipment It presets consumption standard and uses duration, determine the destination number of payment resource;Notification information is sent to body builder, notification information is taken Band destination number;Receive the veritification information that body builder returns;The payment resource of destination number is deducted from the account of body builder.
Optionally, when program is run, device where control storage medium also executes following steps: calculating separately to be identified The similarity value of the feature vector of facial image and the feature vector of multiple facial image samples;Judge calculated multiple similar Whether at least one reaches threshold value among angle value;If at least one reaches threshold among calculated multiple similarity values Value, then be confirmed as target facial image sample for the corresponding facial image sample of maximum similarity value;Output is used to indicate matching Successful matching result.
Optionally, when program is run, device where control storage medium also executes following steps: obtaining going through for body builder History audio plays record;It is played and is recorded according to history audio, identify the label of history audio;Based on the history audio recognized Label obtains the music to match with label from cloud;Play the music got.
Optionally, when program is run, device where control storage medium also executes following steps: obtaining working as body builder Secondary fitness program;It sends to body builder when time fitness program;It sends to fitness when time fitness program.
Optionally, when program is run, device where control storage medium also executes following steps: obtaining the life of body builder Object feature and when time amount of exercise, biological characteristic includes heart rate, blood pressure, consumption energy, body fat rate and muscle mass;According to body builder's Biological characteristic and when time amount of exercise, judges whether to complete when time fitness program;If completing, next fitness program is exported;If not complete At, export multiple additional projects for body builder selection.
The embodiment of the invention provides a kind of body-building equipments, including the above-mentioned body-building duration calculation dress based on recognition of face It sets.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld Device, tablet computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also To be a web page program (webApp) of browser in terminal, the embodiment of the present invention is to this without limiting.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of body-building duration calculation method based on recognition of face, which is characterized in that the described method includes:
Facial image to be identified is acquired, the facial image to be identified is the facial image of body builder;
The facial image to be identified is identified using preset human face recognition model, obtains the feature of the facial image to be identified Vector;
The feature vector of multiple facial image samples in the feature vector and database of the facial image to be identified is carried out Matching, obtains matching result, wherein user associated by the facial image sample has the access right of body-building equipment;
According to the matching result, judge whether the body builder has the access right of the body-building equipment, if so, activation institute Body-building equipment is stated, and starts timing;
Detect whether that receiving the instruction for being used to indicate stopping timing stopping timing if receiving described instruction;
According at the time of starting timing and when stopping calculating the body builder at the time of timing use using the body-building equipment It is long.
2. the method according to claim 1, wherein it is described according to start timing at the time of and stop timing when It carves after calculating the body builder using the use duration of the body-building equipment, the method also includes:
According to the default consumption standard of the body-building equipment and it is described use duration, determine payment resource destination number;
Notification information is sent to the body builder, the notification information carries the destination number;
Receive the veritification information that the body builder returns;
The payment resource of the destination number is deducted from the account of the body builder.
3. the method according to claim 1, wherein the feature vector by the facial image to be identified with The feature vector of multiple facial image samples in database is matched, the method for obtaining matching result, comprising:
Calculate separately the phase of the feature vector and the feature vector of the multiple facial image sample of the facial image to be identified Like angle value;
Judge whether at least one reaches threshold value among calculated multiple similarity values;
If at least one reaches the threshold value among calculated multiple similarity values, by maximum similarity value pair The facial image sample answered is confirmed as target facial image sample;
Output is used to indicate the matching result of successful match.
4. method according to claim 1 to 3, which is characterized in that in the activation body-building equipment, and After starting timing, and receive described instruction described, then before stopping timing, the method also includes:
The history audio for obtaining the body builder plays record;
It is played and is recorded according to the history audio, identify the label of the history audio;
Based on the label of the history audio recognized, the music to match with the label is obtained from cloud;
Play the music got.
5. the method according to claim 1, wherein in the activation body-building equipment, and start timing it Afterwards, and described receive described instruction, then before stopping timing, the method also includes:
Obtain the body builder works as time fitness program;
It is sent to the body builder described when time fitness program;
It is described when time fitness program to being sent with the associated fitness of the body builder.
6. according to the method described in claim 5, it is characterized in that, receive described instruction described, then after stopping timing, And before the use duration for calculating the body builder using the body-building equipment, the method also includes:
Obtain the biological characteristic of the body builder and when time amount of exercise, the biological characteristic include heart rate, blood pressure, consumption energy, Body fat rate and muscle mass;
According to the biological characteristic of the body builder and described when time amount of exercise, judge whether to complete described when time body-building meter It draws;
If completing, next fitness program is exported;If not completing, multiple additional projects are exported so that the body builder selects.
7. a kind of body-building duration calculation device based on recognition of face, which is characterized in that described device includes:
Acquisition unit, for acquiring facial image to be identified, the facial image to be identified is the facial image of body builder;
Recognition unit obtains described to be identified for identifying the facial image to be identified using preset human face recognition model The feature vector of facial image;
Matching unit, for by multiple facial image samples in the feature vector and database of the facial image to be identified Feature vector is matched, and matching result is obtained, wherein user associated by the facial image sample has body-building equipment Access right;
Unit is activated, for judging whether the body builder has the right to use of the body-building equipment according to the matching result Limit, if so, activating the body-building equipment, and starts timing;
Detection unit stops for detecting whether receiving and being used to indicate the instruction for stopping timing if receiving described instruction Timing;
Computing unit calculates the body builder at the time of for according at the time of starting timing with stopping timing and uses the body-building The use duration of equipment.
8. device according to claim 7, which is characterized in that described device further include:
Determination unit, for according to the default consumption standard of the body-building equipment and it is described use duration, determine payment resource Destination number;
Transmission unit, for sending notification information to the body builder, the notification information carries the destination number;
Receiving unit, the veritification information returned for receiving the body builder;
It withholds unit, for deducting the payment resource of the destination number from the account of the body builder.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 6 described in body-building based on recognition of face when Long calculation method.
10. a kind of body-building equipment, which is characterized in that including described in claim 7 or 8 based on the body-building duration of recognition of face Calculate device.
CN201811535208.8A 2018-12-14 2018-12-14 Body-building duration calculation method, apparatus and body-building equipment based on recognition of face Pending CN109741481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811535208.8A CN109741481A (en) 2018-12-14 2018-12-14 Body-building duration calculation method, apparatus and body-building equipment based on recognition of face

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811535208.8A CN109741481A (en) 2018-12-14 2018-12-14 Body-building duration calculation method, apparatus and body-building equipment based on recognition of face

Publications (1)

Publication Number Publication Date
CN109741481A true CN109741481A (en) 2019-05-10

Family

ID=66359673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811535208.8A Pending CN109741481A (en) 2018-12-14 2018-12-14 Body-building duration calculation method, apparatus and body-building equipment based on recognition of face

Country Status (1)

Country Link
CN (1) CN109741481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222582A (en) * 2019-05-13 2019-09-10 青岛小鸟看看科技有限公司 A kind of image processing method and camera

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899579A (en) * 2015-06-29 2015-09-09 小米科技有限责任公司 Face recognition method and face recognition device
CN106530055A (en) * 2016-11-11 2017-03-22 厦门钢宇工业有限公司 Body-building method and body-building system
CN107154082A (en) * 2016-03-04 2017-09-12 深圳市超级猩猩健身管理有限公司 A kind of self-service body-building duration determines method and system
CN107491771A (en) * 2017-09-21 2017-12-19 百度在线网络技术(北京)有限公司 Method for detecting human face and device
CN107710327A (en) * 2016-06-22 2018-02-16 深圳市屹石科技股份有限公司 Method of servicing, system, user terminal and coach end and the processing method of body-building are taught in private
CN107776580A (en) * 2017-11-16 2018-03-09 百度在线网络技术(北京)有限公司 Method and apparatus for processing information
CN108346234A (en) * 2018-03-01 2018-07-31 贵州大学 A kind of shared body-building chamber system
CN108416326A (en) * 2018-03-27 2018-08-17 百度在线网络技术(北京)有限公司 Face identification method and device
CN207833591U (en) * 2017-12-29 2018-09-07 深圳正品创想科技有限公司 A kind of access control system and unmanned shop

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899579A (en) * 2015-06-29 2015-09-09 小米科技有限责任公司 Face recognition method and face recognition device
CN107154082A (en) * 2016-03-04 2017-09-12 深圳市超级猩猩健身管理有限公司 A kind of self-service body-building duration determines method and system
CN107710327A (en) * 2016-06-22 2018-02-16 深圳市屹石科技股份有限公司 Method of servicing, system, user terminal and coach end and the processing method of body-building are taught in private
CN106530055A (en) * 2016-11-11 2017-03-22 厦门钢宇工业有限公司 Body-building method and body-building system
CN107491771A (en) * 2017-09-21 2017-12-19 百度在线网络技术(北京)有限公司 Method for detecting human face and device
CN107776580A (en) * 2017-11-16 2018-03-09 百度在线网络技术(北京)有限公司 Method and apparatus for processing information
CN207833591U (en) * 2017-12-29 2018-09-07 深圳正品创想科技有限公司 A kind of access control system and unmanned shop
CN108346234A (en) * 2018-03-01 2018-07-31 贵州大学 A kind of shared body-building chamber system
CN108416326A (en) * 2018-03-27 2018-08-17 百度在线网络技术(北京)有限公司 Face identification method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222582A (en) * 2019-05-13 2019-09-10 青岛小鸟看看科技有限公司 A kind of image processing method and camera
CN110222582B (en) * 2019-05-13 2021-09-14 青岛小鸟看看科技有限公司 Image processing method and camera

Similar Documents

Publication Publication Date Title
CN105358046B (en) Automatic exercise segmentation and recognition
CN108579086B (en) Processing method, device, storage medium and the electronic device of object
CN105944332A (en) Virtual reality intelligent fitness system capable of being accessed to internet
CN106844660B (en) Music recommendation method and device
CN108355322A (en) A kind of the fitness equipment system and application method of intelligence customized user body-building scheme
CN108579060B (en) Exercise system and application method thereof
CN106934750A (en) A kind of gymnasium management system
CN109165555A (en) Man-machine finger-guessing game method, apparatus and storage medium based on image recognition
CN107670261A (en) A kind of internet motion assistant system based on motion capture technology
CN110391008A (en) Body-building processing method and smart home device based on wisdom domestic operation system
CN109784178A (en) Parameter adjusting method, device and body-building equipment based on gesture identification
US20170348583A1 (en) Wearable technology for enhancing kinesthetic performance
CN106823348A (en) Motion data management method, device and system and user equipment
CN113318419B (en) Intelligent rope skipping anti-cheating method and system
CN103405911A (en) Method and system for prompting mahjong draws
CN113241148B (en) Fitness scheme generation method and device, terminal equipment and storage medium
CN106779454A (en) A kind of body-building apparatus management method and device
CN109741481A (en) Body-building duration calculation method, apparatus and body-building equipment based on recognition of face
CN112439167B (en) Sports equipment control system, mobile device and sports equipment control method thereof
CN109492779B (en) Household appliance health management method and device and household appliance
CN108288046A (en) Solve lock control method and Related product
US10887629B1 (en) Basketball video interaction method and device, intelligent basketball stand and storage medium
US11989974B2 (en) Therapeutic smile detection systems
CN110427144A (en) Virtual examination cosmetic method and device
CN108635847B (en) Method and device for interaction in motion

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510