Summary of the invention
In view of the above shortcomings in the prior art, it is an object of the invention to provide a kind of mobile phone for user to be based on hand
The alarm method and system of gesture and action recognition, overcome in the prior art smart phone cannot be opened automatically according to the demand of user
The defect of warning function.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of alarm method of the mobile phone based on gesture and action recognition, wherein include:
A, the alarm gesture and/or mobile phone alarm movement of triggering alarm are stored up in mobile phone EMS memory;
B, to its front, appearance alarm gesture feature identifies mobile phone camera in real time, or passes through the biography built in mobile phone
Whether the movement that mobile phone currently occurs for sensor is that mobile phone alarm movement identifies, if identifying alarm gesture and/or hand
Machine actuation of an alarm, thens follow the steps C;
C, mobile phone transfers pre-stored preset alarm short message automatically, and by the preset alarm short message according to the report of setting
Warning signal code issues.
Alarm method of the mobile phone based on gesture and action recognition, wherein the step A further include:
A1, the characteristic information that alarm gesture is obtained by mobile phone camera, and store;
A2, setting mobile phone alarm act are as follows: mobile phone is at least overturn twice in the predetermined time, and is stored;
A3, it is stored after editing the preset alarm short message containing mobile phone user's name and certificate address information.
Alarm method of the mobile phone based on gesture and action recognition, wherein the step C further include:
C1, the current location information of mobile phone is obtained, and the location information is added in preset alarm short message.
Alarm method of the mobile phone based on gesture and action recognition, wherein before the step A further include:
A0, cell phone address book list and call record list are obtained, message registration are arranged in the contact person of front three,
It is set as alarm number.
Alarm method of the mobile phone based on gesture and action recognition, wherein the step B includes:
B1, the alarm mode for judging mobile phone setting are gesture alarm mode, mobile phone movement alarm mode or by gesture report
The integrated mode that alert mode is combined with mobile phone movement alarm;
If gesture alarm mode, B2 is thened follow the steps, alarm mode is acted if mobile phone, thens follow the steps B3, if
The integrated mode that mobile phone movement alarm combines, thens follow the steps B4;
B2, the object features obtained in front of camera are matched with the characteristic information of the alarm gesture, if matching
Success, then enter step C, otherwise repeat this step;
B3, the kinematic parameter that current phone is obtained by sensor, analyze the kinematic parameter, judge that mobile phone exists
Whether at least overturn twice in predetermined time, if so, entering step C, otherwise repeats this step;
B4, the object features obtained in front of camera are matched with the characteristic information of the alarm gesture, and sentenced
Whether machine of cutting off the hands at least overturns twice in the given time, if being all satisfied, enters step C, otherwise repeats this step.
A kind of alarm system of the mobile phone based on gesture and action recognition, wherein include:
Information module is stored, for the alarm images of gestures and/or mobile phone alarm movement in mobile phone EMS memory storage alarm;
Identification module is triggered, alarm gesture feature occurs to its front in real time for mobile phone camera and identifies, or
It whether is that mobile phone alarm movement identifies by the movement that mobile phone currently occurs for the sensor built in mobile phone;
Alarm issues module, for identifying that front has alarm gesture and/or handset identity to go out it and work as when mobile phone camera
When the movement of preceding generation and mobile phone alarm movement match, then pre-stored preset alarm short message is transferred automatically, and will be described
Preset alarm short message is issued according to the alarm number of setting.
The alarm system based on gesture and action recognition, wherein the storage information module further include:
Image storage unit for obtaining the characteristic information of alarm gesture by mobile phone camera, and stores;
Storage unit is acted, for mobile phone alarm movement to be arranged are as follows: mobile phone is at least overturn twice in the predetermined time, and is deposited
Storage;
User information storage unit, for compiling the preset alarm short message containing mobile phone user's name and certificate address information
It is stored after volume.
The alarm system based on gesture and action recognition, wherein the alarm issues module further include:
Location information adding unit for obtaining the current location information of mobile phone, and the location information is added to pre-
If in alarm message.
Alarm system of the mobile phone based on gesture and action recognition, wherein the system also includes:
Alarm number setup module arranges message registration for obtaining cell phone address book list and call record list
It is listed in the contact person of front three, is set as alarm number.
The alarm system based on gesture and action recognition, wherein the triggering judgment module includes:
Pattern recognition unit, for judging that the alarm mode of mobile phone setting is gesture alarm mode, mobile phone movement alarm mould
The integrated mode that formula still combines gesture alarm mode with mobile phone movement alarm;
Gesture judging unit when the alarm mode for being arranged when mobile phone is gesture alarm mode, judges in front of camera
Whether the object features of acquisition match with the characteristic information for alarming gesture;
Motion determination unit then passes through sensing when the alarm mode for being arranged when mobile phone is mobile phone movement alarm mode
At least whether device obtains the kinematic parameter of current phone, analyze the kinematic parameter, judge mobile phone in the given time
Overturning is twice;
Judging unit is combined, when the alarm mode for being arranged when mobile phone is the integrated mode, is judged in front of camera
The object features of acquisition whether with it is described alarm gesture characteristic information match, and judge mobile phone in the given time whether
It at least overturns twice.
Beneficial effect, alarm method and its system the present invention provides a kind of mobile phone based on gesture and action recognition lead to
It crosses and stores up the alarm gesture and/or mobile phone alarm movement of triggering alarm in mobile phone EMS memory;In real time there is its front in mobile phone camera
Whether alarm gesture feature is identified, or by the movement that mobile phone currently occurs for the sensor built in mobile phone is mobile phone newspaper
Alert movement is identified that, if identifying alarm gesture and/or mobile phone alarm movement, mobile phone is transferred pre-stored pre- automatically
If alarm message, and the preset alarm short message is issued according to the alarm number of setting.Alarm method of the present invention and its
System, using the sensor of smart phone, automatic trigger analysis processing and transmission warning message provide a kind of extremely hidden for user
Alarm method covering, easy to operate, allows user within the shortest time, with safest mode promptly and accurately report
It is alert.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and do not have to
It is of the invention in limiting.
A kind of the present invention provides mobile phones alarm method based on gesture and action recognition, as shown in Figure 1, comprising:
S1, the alarm gesture and/or mobile phone alarm movement that triggering alarm is stored up in mobile phone EMS memory.
First by the alarm gesture for being used to trigger alarm and mobile phone alarm movement storage into mobile phone EMS memory, for working as mobile phone
Camera identify its front containing alarm gesture feature or monitor mobile phone issuing mobile phone alarm movement when, then
Triggering alarm.
Specifically, in this step, before being stored shown alarm images of gestures and mobile phone alarm movement, also wrapping
Include following steps:
The step S1 further include:
S11, the picture recognition module by mobile phone camera obtain alarm images of gestures, and therefrom identify alarm hand
The characteristic information of gesture, and store;
S12, setting mobile phone alarm act are as follows: mobile phone is at least overturn twice in the predetermined time, and is stored;
S13, it is stored after editing the preset alarm short message containing mobile phone user's name and certificate address information.
Above-mentioned steps, which are followed successively by, obtains the customized alarm gesture of user, obtains mobile phone alarm movement letter set by user
Breath, and preset the alarm message containing user information.
Specifically, alarm images of gestures can be obtained by the way that the camera of mobile phone front end or rear end is arranged in, will clap
The photo containing images of gestures taken the photograph is stored.Mobile phone alarm movement can be set to overturn repeatedly repeatedly, or repeatedly
It moves back and forth in vertical direction repeatedly, or to can be set 360 degree rotations in the horizontal direction repeatedly multiple etc., as long as can
Accurately to identify whether mobile phone is ok in the above-mentioned movement of progress by the sensor, such as gyroscope.
For the ease of that after alarm gesture or mobile phone alarm action triggers are alarmed, then will directly can edit in advance
Short message issue, to realize Rapid Alarm.
There is alarm gesture feature to its front in real time and identify in S2, mobile phone camera, or by built in mobile phone
Whether the movement that mobile phone currently occurs for sensor is that mobile phone alarm movement identifies, if identify alarm gesture and/or
Mobile phone alarm movement, thens follow the steps S3.
Whether mobile phone there is preset alarm to its front in the standby state, by the picture recognition module in camera
Gesture is identified that front containing alarm gesture, illustrates that user sounds an alarm and/or mobile phone also passes through it if identifying
Whether built-in sensors, which issue mobile phone alarm movement to it, identifies, if identifying, illustrates that user issues alarm, in this step
In rapid, user customized can be selected only by gesture identification still only by mobile phone action recognition, or in order to avoid wrong report
It is alert, by by gesture together with mobile phone combination of actions, when identifying that user has issued alarm gesture and mobile phone is also being held simultaneously
When row mobile phone alarm acts, alarm is just issued.
Specifically, in this step, comprising the following steps:
The step S2 includes:
S21, the alarm mode for judging mobile phone setting are gesture alarm mode, mobile phone movement alarm mode or by gesture report
The integrated mode that alert mode is combined with mobile phone movement alarm;If gesture alarm mode, S22 is thened follow the steps, if mobile phone
Alarm mode is acted, S23 is thened follow the steps, if the integrated mode that mobile phone movement alarm combines, thens follow the steps S24;
S22, the object features obtained in front of camera are matched with the characteristic information of the alarm gesture, if matching
Success, then enter step S3, otherwise repeat this step;
S23, the kinematic parameter that current phone is obtained by sensor, analyze the kinematic parameter, judge mobile phone
Whether at least overturn twice in the given time, if so, entering step S3, otherwise repeats this step;
S24, the object features obtained in front of camera are matched with the characteristic information of the alarm gesture, and sentenced
Whether machine of cutting off the hands at least overturns twice in the given time, if being all satisfied, enters step S3, otherwise repeats this step.
Mobile phone successively to whether have alarm gesture or whether have mobile phone alarm movement identify, it is contemplated that
It first can also first be identified to whether mobile phone is issuing mobile phone alarm movement in this step, then be to mobile phone front again
It is no to be identified containing alarm gesture, all it is possible.
S3, mobile phone transfer pre-stored preset alarm short message automatically, and by the preset alarm short message according to setting
Alarm number issues.
When identifying that alarm gesture or mobile phone alarm act in step S2, then mobile phone is transferred automatically edits in advance
Alarm message sends the alarm message on the alarm number preset.
Specifically, in order to more accurately alarm, in this step further include:
S31, the current location information of mobile phone is obtained, and the location information is added in preset alarm short message.
Using the GPS positioning module in mobile phone, mobile phone is positioned, obtains the location information of current phone, then will
The location information is added in preset alarm short message, so as to so that the people for receiving alarm more clear alerts user
Location, to give to support in time.
In order to preferably sound an alarm, specifically before the step S1 further include:
S0, cell phone address book list and call record list are obtained, message registration are arranged in the contact person of front three,
It is set as alarm number.
Preset alarm number be not necessarily 110 perhaps other police's numbers be also possible to the relatives or good of user
Friend, thus carry out alarm number it is default when, it is contemplated that user can be by directly setting, can also be automatically by
It obtains the selection highest people of voice frequency in the people often contacted in message registration and is set as alarm number.
Specifically, below by taking its concrete application embodiment as an example, being done to it to be preferably illustrated to the above method
Further explanation.
As shown in Fig. 2, the step flow chart of the concrete application embodiment for the method for the invention, as shown in the figure:
It, then can be with when encountering dangerous situation after H1, user are provided with specific alarm gesture or mobile phone alarm movement
Alarm gesture is issued to mobile phone or mobile phone alarm movement is executed to mobile phone, for example alarm gesture can synthesize for index finger and thumb
One circle can also make " V " type gesture, be also possible to the gesture that both hands are combined composition, be ok.Mobile phone alarm movement
Can be multiple for overturning mobile phone repeatedly, or moved back and forth repeatedly in vertical direction.
Whether H2, the gesture issued using mobile phone camera detection user are alarm gestures, utilize the sensing built in mobile phone
Device, judges whether mobile phone issues mobile phone alarm movement, if so, thening follow the steps H3.
If H3, detecting successfully, mobile phone positioning function, the location information that positions, and will orient to mobile phone are opened
It is added in the alarm message edited in advance.
H4, mobile phone issue alarm message.
On the basis of aforementioned present invention provides a kind of alarm method, the present invention also provides a kind of mobile phones to be based on gesture
With the alarm system of action recognition, as shown in figure 3, the system comprises:
Information module 110 is stored, for the alarm images of gestures and/or mobile phone alarm movement in mobile phone EMS memory storage alarm;
Identification module 120 is triggered, alarm gesture feature occurs to its front in real time for mobile phone camera and identifies, or
Whether person is that mobile phone alarm movement identifies by the movement that mobile phone currently occurs for the sensor built in mobile phone;
Alarm issues module 130, for identifying that front has alarm gesture and/or handset identity to go out it when mobile phone camera
When the movement that currently occurs and mobile phone alarm movement match, then pre-stored preset alarm short message is transferred automatically, and by institute
Preset alarm short message is stated to issue according to the alarm number of setting.
The storage information module further include:
Image storage unit for obtaining the characteristic information of alarm gesture by mobile phone camera, and stores;
Storage unit is acted, for mobile phone alarm movement to be arranged are as follows: mobile phone is at least overturn twice in the predetermined time, and is deposited
Storage;
User information storage unit, for compiling the preset alarm short message containing mobile phone user's name and certificate address information
It is stored after volume.
The alarm issues module further include:
Location information adding unit for obtaining the current location information of mobile phone, and the location information is added to pre-
If in alarm message.
The system also includes:
Alarm number setup module arranges message registration for obtaining cell phone address book list and call record list
It is listed in the contact person of front three, is set as alarm number.
The triggering judgment module includes:
Pattern recognition unit, for judging that the alarm mode of mobile phone setting is gesture alarm mode, mobile phone movement alarm mould
The integrated mode that formula still combines gesture alarm mode with mobile phone movement alarm;
Gesture judging unit when the alarm mode for being arranged when mobile phone is gesture alarm mode, judges in front of camera
Whether the object features of acquisition match with the characteristic information for alarming gesture;
Motion determination unit then passes through sensing when the alarm mode for being arranged when mobile phone is mobile phone movement alarm mode
At least whether device obtains the kinematic parameter of current phone, analyze the kinematic parameter, judge mobile phone in the given time
Overturning is twice;
Judging unit is combined, when the alarm mode for being arranged when mobile phone is the integrated mode, is judged in front of camera
The object features of acquisition whether with it is described alarm gesture characteristic information match, and judge mobile phone in the given time whether
It at least overturns twice.
Alarm method and its system the present invention provides a kind of mobile phone based on gesture and action recognition, by mobile phone
The alarm gesture and/or mobile phone alarm movement of storage triggering alarm;It is special that mobile phone camera alarm gesture occurs to its front in real time
Sign is identified, or whether the movement that mobile phone is currently occurred by the sensor built in mobile phone is that mobile phone alarm movement carries out
Identification, if identifying alarm gesture and/or mobile phone alarm movement, it is short that mobile phone transfers pre-stored preset alarm automatically
Letter, and the preset alarm short message is issued according to the alarm number of setting.Alarm method of the present invention and its system utilize
The sensor of smart phone, automatic trigger analysis processing and transmission warning message provide a kind of extremely hidden, operation for user
Easy alarm method, allows user within the shortest time, with safest mode promptly and accurately alarm.
The present invention also provides a kind of mobile phones, can be using the report based on gesture and action recognition described in above-described embodiment
Alarm method and its system utilize the sensor of mobile phone, automatic trigger analysis processing and transmission warning message, mention for user
For a kind of extremely hidden, easy to operate alarm method, allow user within the shortest time, it is quasi- in time with safest mode
True alarm.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention
Protect range.