CN107767712A - Adjust method, apparatus, storage medium and the electronic equipment of matching degree - Google Patents
Adjust method, apparatus, storage medium and the electronic equipment of matching degree Download PDFInfo
- Publication number
- CN107767712A CN107767712A CN201711087241.4A CN201711087241A CN107767712A CN 107767712 A CN107767712 A CN 107767712A CN 201711087241 A CN201711087241 A CN 201711087241A CN 107767712 A CN107767712 A CN 107767712A
- Authority
- CN
- China
- Prior art keywords
- value
- photo
- matching degree
- default
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B5/00—Electrically-operated educational appliances
- G09B5/04—Electrically-operated educational appliances with audible presentation of the material to be studied
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Educational Technology (AREA)
- Educational Administration (AREA)
- Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of method, apparatus, storage medium and electronic equipment for adjusting matching degree.This method includes:When detecting that user shoots the photo for a reading, multiple output valves of default sensor are obtained, output valve of the default sensor is used to represent the posture residing for terminal;According to the plurality of output valve, the amplitude of variation between the output valve of the default sensor is calculated;If detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user;If detecting, the age value is less than or equal to default first numerical value, reduces the numerical value of the matching degree for judging whether to match between photo.The embodiment of the present application can improve the flexibility of photo matching.
Description
Technical field
The application belongs to picture Processing Technique field, more particularly to a kind of method, apparatus, storage medium for adjusting matching degree
And electronic equipment.
Background technology
Point is read equipment and a reading object can be identified and be determined according to modes such as a coordinate of reading object or codings
Position.Wherein, coded system is the printed codes on books, then using talking pen identification coding to determine content, further according to interior
Hold audio corresponding to playing.Coordinated manner is to be tied using the position of talking pen click point reader with determining coordinate after confirmation coordinate
Chalaza reads audio corresponding to the broadcasting of equipment current page.
The content of the invention
The embodiment of the present application provides a kind of method, apparatus, storage medium and electronic equipment for adjusting matching degree, can improve
The flexibility of photo matching.
The embodiment of the present application provides a kind of method for adjusting matching degree, including:
When detecting that user shoots the photo for a reading, multiple output valves of default sensor are obtained, it is described default
The output valve of sensor is used to represent the posture residing for terminal;
According to the multiple output valve, the amplitude of variation between the output valve of the default sensor is calculated;
If detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user;
If detecting, the age value is less than or equal to default first numerical value, reduces for judging whether matched between photo
Matching degree numerical value.
The embodiment of the present application provides a kind of device for adjusting matching degree, including:
First acquisition module, for when detecting that user shoots the photo for a reading, obtaining the more of default sensor
Individual output valve, the output valve of the default sensor are used to represent the posture residing for terminal;
Computing module, for according to the multiple output valve, calculating the change between the output valve of the default sensor
Amplitude;
Second acquisition module, if for detecting that the amplitude of variation exceedes predetermined amplitude, obtain the age value of user;
Adjusting module, if for detecting that the age value is less than or equal to default first numerical value, reduce for judging
The numerical value of the matching degree whether matched between photo.
The embodiment of the present application provides a kind of storage medium, computer program is stored thereon with, when the computer program exists
When being performed on computer so that the method that the computer performs the adjustment matching degree of the embodiment of the present application offer.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling
The computer program stored in memory is stated, the method for the adjustment matching degree for performing the embodiment of the present application offer.
Method, apparatus, storage medium and the electronic equipment for the adjustment matching degree that the embodiment of the present application provides, when detecting use
When family shoots the photo for a reading, terminal can obtain multiple output valves of default sensor, the output of the default sensor
Value can be used to indicate that the posture residing for the terminal.Then, terminal can calculate the default sensor according to the plurality of output valve
Output valve between amplitude of variation, and detect whether the amplitude of variation exceedes predetermined amplitude.If so, then terminal can obtain use
The age value at family.Afterwards, if detecting, the age value is less than or equal to default first numerical value, and terminal can be reduced for judging
The numerical value of the matching degree whether matched between photo.Therefore, can be with when the embodiment of the present application realizes read-on-command function by mobile terminal
In the case where the amplitude of variation of output valve and the age value of user of default sensor meet certain condition, reduce for sentencing
The numerical value of the matching degree whether matched between disconnected photo, so as to improve the flexibility of photo matching, improve point and read efficiency.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the present invention is described in detail, technical scheme will be made
And its advantage is apparent.
Fig. 1 is the schematic diagram of a scenario that read-on-command function is realized in terminal that the embodiment of the present application provides.
Fig. 2 is the schematic flow sheet of the method for the adjustment matching degree that the embodiment of the present application provides.
Fig. 3 is another schematic flow sheet of the method for the adjustment matching degree that the embodiment of the present application provides.
Fig. 4 A to Fig. 4 C are the schematic diagram of a scenario of the method for the adjustment matching degree that the embodiment of the present application provides.
Fig. 5 is the structural representation of the device for the adjustment matching degree that the embodiment of the present application provides.
Fig. 6 is another structural representation of the device for the adjustment matching degree that the embodiment of the present application provides.
Fig. 7 is the structural representation for the mobile terminal that the embodiment of the present application provides.
Fig. 8 is another structural representation for the mobile terminal that the embodiment of the present application provides.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and principle of the invention is to implement one
Illustrated in appropriate computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
It will be detailed below.
In one embodiment, terminal can first obtain a reading sample, and it can be picture, photo or volume that point, which reads sample,
Code etc..After getting and to read sample, terminal can obtain multimedia sample, multimedia sample can be audio file or
Video file etc..Then, the point got can be read sample and multimedia sample by terminal is associated.For example, terminal is by picture A
Associated with audio a, photo B is associated with audio b, photo C is associated with video c.Closed by a reading sample and multimedia sample
After connection, these sample datas can be stored in presetting database by terminal.
It is understood that in some embodiments, point is read be to correspond between sample and multimedia sample
Relation or one-to-many relation, or many-to-one relation etc., the present embodiment is not specifically limited to this.
When using read-on-command function, user first can shoot a photo using mobile terminal, or be chosen from photograph album
One photo, or scan some coding.The photo that user shoots the to obtain coding that either photo of selection or scanning obtain
Exactly need to carry out an object read.After getting needs and carrying out an object read, terminal can be in presetting database
Search and carry out a photo or coding for the object matching read with the needs.Carried out if existing in presetting database with the needs
The photo or coding for the object matching that point is read, then terminal can searches the multimedia file being associated, and it is more to play this
Media file.
In one embodiment, such as point reading sample is picture A, three sections of words is included in the photo, per passage
All it is associated with a section audio.So, when the photo that user shoots to obtain matches with the picture A in presetting database, due to shining
Include three sections of words in piece A, and every section of word is associated with a corresponding section audio, then user can be by specifically choosing
The mode of certain section of word in picture A, selection play its corresponding audio.Or user can not also specifically select, that
Terminal can be with audio corresponding to three sections of words of played in order.
Referring to Fig. 1, for example, user's using terminal shoots to obtain a photo X, terminal is found in presetting database
Matched with photo X for picture A.Three sections of words, wherein first paragraph character associative audio first, second segment word are included in picture A
Associated audio second, the 3rd section of character associative audio third.For example, as shown in figure 1, user encloses on screen has selected second segment word institute
Region, then terminal can correspond to play audio second.
The text in a certain object (such as photo) is entered it is understood that the present embodiment can be realized on mobile terminals
The function that row point is read, this mode have that cost is low, convenience is good and other effects.
It is understood that the executive agent of the embodiment of the present application can be the end of smart mobile phone or tablet personal computer etc.
End equipment.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the method for the adjustment matching degree that the embodiment of the present application provides, flow can
With including:
In step S101, when detecting that user shoots the photo for a reading, the multiple defeated of default sensor is obtained
Go out value, the output valve of the default sensor is used to represent the posture residing for terminal.
When using read-on-command function, user can first shoot one and want that a photo read is carried out to its content (to be treated
Point reads photo), then this is treated that the photo sample in a reading photo and presetting database is matched by terminal.If treat a reading photo
With certain photo sample matches success, then terminal can play the multimedia file that the photo sample to match with this associates.So
And in correlation technique, when by when the photo sample matches in reading photo and presetting database, because for judging two photographs
The numerical value for the matching degree whether piece matches immobilizes, therefore the flexibility of photo matching is poor.
In the step S101 of the embodiment of the present application, when detecting that user is shot for the photo read, terminal can be with
First obtain multiple output valves of default sensor.Wherein, the output valve of the default sensor can be used to indicate that residing for terminal
Posture.
For example, default sensor can be mounted in gyro sensor (such as the three-axis gyroscope sensing in terminal
Device).Rotational angular velocity when gyro sensor in terminal can be used for measuring terminals deflection, tilt.Because gyroscope passes
Sensor can well measuring terminals rotate and deflection action, i.e., can measure and reconstruct by gyro sensor, terminal
Go out the complete 3D actions of terminal in space.Therefore, user can be gone out with Accurate Analysis by means of gyro sensor, terminal
Actual act.That is, by gyro sensor, terminal can analyze its posture being held by a user.
Certainly, in some embodiments, default sensor can also be the combination of the sensor of two and the above.Example
Such as, default sensor can be the combination of three-axis gyroscope sensor and acceleration transducer.By the way that three axis accelerometer is applied in combination
Instrument sensor and acceleration transducer, terminal preferably can track and be captured from the entire motion of body in three dimensions.
In step s 102, according to the plurality of output valve, the amplitude of variation between the output valve of the default sensor is calculated.
For example after multiple output valves of default sensor are got, terminal can calculate according to the plurality of output valve
Amplitude of variation between the output valve of the default sensor.
After the amplitude of variation being calculated between the output valve of the default sensor, terminal can detect output valve it
Between amplitude of variation whether exceed predetermined amplitude.It is understood that because the output valve for presetting sensor can be used to indicate that
The posture that terminal is held by a user, therefore the amplitude of variation between output valve can be used to indicate that the posture that terminal is held by a user
Change size.
If the amplitude of variation between detecting output valve is not less than predetermined amplitude, then it is considered that terminal is held by user
The change for the posture held is smaller, i.e., rocking when terminal is held by a user is smaller.In this case, terminal can clap user
That takes the photograph to obtain treats that a photo sample read in photo and presetting database is directly matched, without to for judging photo
Between the matching degree that whether matches be adjusted.
If the amplitude of variation between detecting output valve exceedes predetermined amplitude, then into step S103.
In step s 103, if detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user.
For example terminal detects that the amplitude of variation between output valve has exceeded predetermined amplitude, then it is considered that terminal quilt
The posture that user grips changes greatly, i.e., rocking when terminal is held by a user is larger.In this case, terminal can obtain
Take the age value at family.
In step S104, if detecting, the age value is less than or equal to default first numerical value, reduces for judging to shine
The numerical value of the matching degree whether matched between piece.
For example after the age value of user is got, whether terminal can detect the age value less than or equal to default
First numerical value.
If detect that the age value is more than default first numerical value, then it is considered that current age of user is larger, be
Non- child user, then terminal can not be adjusted the numerical value of the matching degree for whether being matched judging photo.
If detect that the age value is less than or equal to default first numerical value, then it is considered that current age of user compared with
It is small, it is child user.In this case, terminal can reduce the numerical value of the matching degree for judging whether to match between photo,
And obtained photo will be shot and matched with the point reading sample prestored according to the matching degree numerical value after reduction, and matching
Associated audio-video document is played after success.
It is understood that in the present embodiment, terminal can the output valve of default sensor amplitude of variation it is larger,
And in the case of the age value of user is less, the numerical value of the matching degree for judging whether to match between photo is reduced, so as to carry
The high flexibility of photo matching, improves point and reads efficiency.
Further, since the amplitude of variation in the output valve of default sensor is larger, and the age value of user is smaller, that is, sentences
Break active user for children and its when shoot photo it is unstable to shooting angle control in the case of, terminal, which reduces, to be used to sentence
The numerical value of the matching degree whether matched between disconnected photo.Therefore, the present embodiment, which can also improve, treats reading photo and a presetting database
In the successful probability of photo sample matches.
Referring to Fig. 3, Fig. 3 is another schematic flow sheet of the method for the adjustment matching degree that the embodiment of the present application provides, stream
Journey can include:
In step s 201, when detecting that user shoots the photo for a reading, terminal obtains the more of default sensor
Individual output valve, the output valve of the default sensor are used to represent the posture residing for terminal.
For example when detecting that user shoots the photo for a reading, terminal can first obtain the multiple of default sensor
Output valve.Wherein, the output valve of the default sensor can be used to indicate that the posture residing for terminal.
For example, default sensor can be mounted in gyro sensor (such as the three-axis gyroscope sensing in terminal
Device).Rotational angular velocity when gyro sensor in terminal can be used for measuring terminals deflection, tilt.Because gyroscope passes
Sensor can well measuring terminals rotate and deflection action, i.e., can measure and reconstruct by gyro sensor, terminal
Go out the complete 3D actions of terminal in space.Therefore, user can be gone out with Accurate Analysis by means of gyro sensor, terminal
Actual act.That is, by gyro sensor, terminal can analyze its posture being held by a user.
In some embodiments, default sensor can also be the combination of the sensor of two and the above.It is for example, default
Sensor can be the combination of three-axis gyroscope sensor and acceleration transducer.By the way that three-axis gyroscope sensor is applied in combination
And acceleration transducer, terminal preferably can track and be captured from the entire motion of body in three dimensions.
In step S202, according to the order of output time priority, terminal calculate the adjacent output valve of each two order it
Between amplitude of variation, obtain multiple range values.
For example after multiple output valves of default sensor are got, terminal can be according to the suitable of output time priority
Sequence, the amplitude of variation between the adjacent output valve of each two order is calculated successively, so as to obtain multiple range values.
For example, terminal gets four output valves of default sensor Sequential output, A, B, C, D are followed successively by.That is, exporting
On time, A is earlier than B, C, D, and B is earlier than C, D, and C is earlier than D.Afterwards, terminal can first calculate the amplitude of variation between A and B, such as
Obtain range value x1;The amplitude of variation between B and C is calculated again, such as obtains range value x2;The change width between C and D is calculated again
Degree, such as obtain range value x3.
In step S203, in obtained range value, terminal determines that numerical value exceedes the range value of preset first threshold value
Number.
In step S204, if detecting, the number exceedes default second value, and terminal determines the default sensor
Amplitude of variation between output valve exceedes predetermined amplitude, and obtains the age value of user.
For example step S203 and S204 can include:
After multiple range values are calculated, terminal can determine that numerical values recited exceedes preset first threshold value therefrom
Range value number.Afterwards, terminal can detect whether the number exceedes default second value.
If the number is detected not less than default second value, it is considered that the change for the posture that terminal is held by a user
Smaller, i.e., rocking when terminal is held by a user is smaller.In this case, what user can be shot to obtain by terminal treats a reading
Photo sample in photo and presetting database is directly matched, without for whether being matched judging photo
It is adjusted with degree.
If detecting, the number exceedes default second value, it is considered that the change for the posture that terminal is held by a user compared with
Greatly, i.e., rocking when terminal is held by a user is larger.In this case, terminal can determine the output valve of default sensor
Between amplitude of variation exceed predetermined amplitude, and triggering terminal obtains the age value of active user.
In one embodiment, terminal can obtain the age value of active user in the following way.For example, terminal
The biological information (such as finger print information) of multiple users of this terminal, and year corresponding with each user can be prestored
Age.So, when needing to obtain the age value of active user, terminal can first obtain the biological information of active user, then
Corresponding age value is found according to the biological information.For example, full screen can supported to obtain and identify finger print information
Terminal on, the terminal can user pressed on screen take pictures button when, get the finger print information of active user, and root
The age value of active user is found according to the finger print information.
In another embodiment, terminal can also shoot the facial image of active user by front camera, then
The age value of active user is obtained according to the facial image.It can be calculated for example, terminal can be installed in advance by facial image
The third-party application at age.So, after the facial image of active user is got, terminal can be in the Background scheduling third party
Using, and utilize the age value of third-party application calculating active user.
In some embodiments, in the case where terminal has certain rock, terminal can open burst mode, even
Multiple pictures that are continuous, rapidly obtaining active user, and therefrom selection definition highest photo, further according to the definition highest
Photo calculate active user age value.
After the age value of active user is got, terminal can detect whether the age value is less than or equal to default the
One numerical value.
If detect that the age value is more than default first numerical value, then it is considered that current age of user is larger, be
Non- child user.In this case, terminal can not be carried out the numerical value of the matching degree for whether being matched judging photo
Adjustment.
If detect that the age value is less than or equal to default first numerical value, then into step S205.
In step S205, if detecting, the age value is less than or equal to default first numerical value, and terminal is obtained for sentencing
The currency of the matching degree whether matched between disconnected photo, and first object value corresponding with the age value.
In step S206, if detecting, the currency is more than the first object value, and terminal is by the numerical value of the matching degree
It is reduced to the first object value.
For example step S205 and S206 can include:
Terminal detects that the age value of active user is less than or equal to default first numerical value, now it is considered that active user
Age it is smaller, be child user.In this case, terminal can obtain the matching degree for judging whether to match between photo
Currency, and first object value corresponding with the age value of active user.
Afterwards, terminal can compare the size between the currency of the matching degree and first object value.
If detect that the currency of the matching degree is less than or equal to first object value, then terminal can not be to the matching
The numerical value of degree is adjusted.
If detect that the currency of the matching degree is more than first object value, then terminal will can be used to judging between photo
The numerical value of the matching degree whether matched is reduced to the first object value.
For example, the currency of the matching degree is 80%, i.e., treated when user's shooting in a reading photo and presetting database
When similarity between certain photo reaches 80%, it is believed that this two photos match.And with the age value of active user
Corresponding first object value is 65%.So, terminal can be by for judging matching degree that whether two photos match by 80%
It is down to 65%.That is, it is originally that when the similarity of two photos reaches 80%, terminal just judges this two photo phases
Match somebody with somebody.And after the numerical value of matching degree is reduced into 65%, as long as the similarity of two photos reach 65% i.e. it is believed that this two
Photo is opened to match.
It is understood that in the present embodiment, terminal can the output valve of default sensor amplitude of variation it is larger,
And in the case of the age value of user is less, the numerical value of the matching degree for judging whether to match between photo is reduced, so as to carry
The high flexibility of photo matching.
In addition, the numerical value by reducing the matching degree for judging whether to match between photo, can also be lifted and treat that a reading is shone
The photo probability that the match is successful in piece and presetting database, effectively avoid leading because the photo of child user shooting is more fuzzy
Cause can not occur with the photo in presetting database the problem of the match is successful, so as to lift Consumer's Experience.
In one embodiment, the present embodiment can also determine in the following way default sensor output valve it
Between amplitude of variation exceeded predetermined amplitude:
After multiple output valves of default sensor are got, terminal can be counted according to the order of output time priority
The amplitude of variation between the adjacent output valve of each two order is calculated, obtains multiple range values;
Calculate the average value of the plurality of range value:
If detecting, the average value reaches default Second Threshold, it is determined that the change width between the output valve of default sensor
Degree exceedes predetermined amplitude, and obtains the age value of user.
For example terminal gets four output valves of default sensor Sequential output, is followed successively by A, B, C, D.That is, exporting
On time, A is earlier than B, C, D, and B is earlier than C, D, and C is earlier than D.Afterwards, terminal can first calculate the amplitude of variation between A and B, such as
Obtain range value x1;The amplitude of variation between B and C is calculated again, such as obtains range value x2;The change width between C and D is calculated again
Degree, such as obtain range value x3.
After range value x1, x2, x3 is obtained, terminal can calculate the average value of these three range values, such as x1, x2,
X3 average value is x4.Then, terminal can detect whether average value x4 reaches default Second Threshold.
If so, then terminal can determine that the amplitude of variation between the output valve of default sensor exceedes predetermined amplitude, i.e.,
It is considered that the posture that terminal is held by a user changes greatly, i.e., rocking when terminal is held by a user is larger.At this point it is possible to
Triggering terminal obtains the age value of active user.
If it is not, then can consider that the change for the posture that terminal is held by a user is smaller, i.e., rolling when terminal is held by a user
It is dynamic smaller.In this case, what user can be shot to obtain by terminal treats the photo sample in a reading photo and presetting database
This progress directly matches, without being adjusted the matching degree for whether being matched judging photo.
In one embodiment, the numerical value of the matching degree is reduced to first object by terminal in execution of step S206
After value, it can also comprise the following steps:
It is used for the photo that point is read if detecting and stopping shooting, terminal is recovered the numerical value of the matching degree by first object value
To performing, if detecting, age value is less than or equal to terminal if default first numerical value is obtained for judging what is whether matched between photo
Numerical value during the currency step of matching degree.
If for example, detecting that the age value is less than or equal to default first numerical value in S205 is performed, terminal, which obtains, to be used
When the step of the currency of the matching degree whether matched between judging photo, the currency for the matching degree that terminal is got is
80%.Afterwards, the numerical value of the matching degree is reduced to first object value 65% by terminal by 80%.After this, terminal can be examined
Survey whether user stops the photo that shooting is used for point reading.If so, then terminal can return to the numerical value of the matching degree by 65%
80%.
It is understood that perform reduction matching degree by the way that the numerical value of matching degree is returned into terminal by first object value
This mode of numerical value at nearest moment before numerical value, it can further improve the flexibility of photo matching.For example, terminal user by
After children switch to non-children, terminal can carry out photo based on the matching degree (such as 80%) for being suitable for non-child user
Match somebody with somebody.
In one embodiment, reduce the numerical value for the matching degree for being used for judging whether to match between photo the step of it
Afterwards, the present embodiment can also comprise the following steps:
What terminal acquisition shooting obtained treats a photo read;
According to the matching degree after reduction numerical value, treat what a photo read matched with this if being found in default memory space
Target picture sample, the then multimedia file that terminal acquisition associates with the target picture sample;
The terminal plays multimedia file.
Such as after the numerical value of the matching degree for judging whether to match between photo is reduced into 65% by 80%, eventually
End can obtain the photo for being used for point and reading that user shoots to obtain, that is, treat a photo read.For example, terminal get treat to read
Photo be photo P1.
Afterwards, terminal can search and treat a photograph read in default memory space according to the matching degree that numerical value is 65%
The target picture sample of piece P1 matchings.Wherein, preset in memory space and be stored with the substantial amounts of photo for being used as matched sample.
If not finding the photo sample matched with treating a photo P1 read in default memory space, it is considered that
User does not make the matched sample related to treating a reading photo P1 in advance.In this case, terminal can perform other operations.
If the target picture sample matched with treating a photo P1 read is found in default memory space, then terminal
The multimedia file associated with the target picture sample can be obtained, and plays the multimedia file.For example, terminal find with
Treat that a photo for the photo P1 read matchings is P2, and the multimedia file associated with photo P2 is audio Y.So getting sound
After frequency Y, terminal can plays audio Y.
Fig. 4 A to Fig. 4 C are referred to, Fig. 4 A to Fig. 4 C are the scene of the method for the adjustment matching degree that the embodiment of the present application provides
Schematic diagram.
For example, terminal user opens read-on-command function, shooting and wanting to carry out its content a book page read
Photo, as shown in Figure 4 A.
After user presses shooting push button, terminal can obtain treating a photo read, and by this treat a photo read and
Photo sample in presetting database is matched.
For example, due to user's shooting to treat to read a photo more fuzzy, cause terminal that this is being treated into a photo read and pre-
If the photo sample in database is matched, it fails to match twice in succession, the terminal ejection prompt message that it fails to match, such as
Shown in Fig. 4 B.Afterwards, user clicks "Yes" button, and a reading photo is treated to re-shoot.
In this case, terminal can trigger default sensor and enter working condition, and obtain the more of default sensor
Individual output valve, the output valve of the default sensor can be used to indicate that the posture residing for terminal.That is, by presetting sensor, eventually
End can analyze posture and the change that it is held by a user.
After multiple output valves of default sensor are got, terminal can according to the order of output time priority, according to
The secondary amplitude of variation calculated between the adjacent output valve of each two order, so as to obtain multiple range values.
For example, terminal gets four output valves of default sensor Sequential output, A, B, C, D are followed successively by.That is, exporting
On time, A is earlier than B, C, D, and B is earlier than C, D, and C is earlier than D.Afterwards, terminal can first calculate the amplitude of variation between A and B, such as
Obtain range value x1;The amplitude of variation between B and C is calculated again, such as obtains range value x2;The change width between C and D is calculated again
Degree, such as obtain range value x3.
After multiple range values are calculated, terminal can determine that numerical values recited exceedes preset first threshold value therefrom
Range value number, and detect whether the number exceedes default second value.
For example, terminal detects that the number exceedes default second value, then it is considered that the appearance that terminal is held by a user
State changes greatly, i.e., rocking when terminal is held by a user is larger.In this case, terminal can determine default sensing
Amplitude of variation between the output valve of device has exceeded predetermined amplitude.Now, terminal can obtain the age value of active user.
After the age value of active user is got, terminal can detect whether the age value is less than or equal to default the
One numerical value.For example, terminal detects that the age value is less than default first numerical value.At this point it is possible to think age of active user compared with
It is small, it is child user.In this case, terminal can be obtained for the current of the matching degree that judges whether to match between photo
Value, and first object value corresponding with the age value of active user.
Afterwards, terminal can compare the size between the currency of the matching degree and first object value.For example, the matching degree
Currency be 80%, and first object value corresponding with the age value of active user be 65%.So, terminal will can be used for
Judge that the matching degree whether two photos match is down to 65% by 80%.
Afterwards, terminal is getting that user re-shoots after photo is read, and this is treated to read photo and a preset data
Photo sample in storehouse is matched.For example, during this matching, although the photo for the treatment of to read that user re-shoots still is not special
It is not clear, but because the matching degree for judging whether to match between photo is reduced to 65%, thus this match is successful.At this
Kind in the case of, terminal can prompt user this match is successful, and prompt user is chosen in the photo specifically put reading field,
With multimedia file corresponding to broadcasting, as shown in Figure 4 C.
In addition, after it will be reduced to 65% by 80% for the matching degree for judging whether to match between photo, terminal may be used also
The age value of active user is obtained with each preset duration.When the age value for detecting active user is more than default first numerical value
When, terminal can also be lifted to the numerical value of matching degree, i.e., when the user for detecting terminal is changed into non-children from children, eventually
End can lift the numerical value of the matching degree.For example, by the numerical value of matching degree by 65% lifting to 80%.
Or terminal can be read behavioural habits with the point of child user and be recorded and be learnt, so as to calculate child user
The average duration of read-on-command function is used every time.So, reduce be used to judging the numerical value of matching degree that whether is matched between photo it
Afterwards, then by the duration that is averaged, terminal can return to the numerical value of matching degree one designated value, such as the designated value is 80%.
For example, terminal calculates child user every time using the flat of read-on-command function by being recorded to the behavioural habits of child user
A length of 2 hours when, then the numerical value of matching degree is being reduced into 2 hours after 65%, terminal can be by the matching degree
Numerical value returns to 80%.
Referring to Fig. 5, Fig. 5 is the structural representation of the device for the adjustment matching degree that the embodiment of the present application provides.Adjustment
Device 300 with degree can include:First acquisition module 301, computing module 302, the second acquisition module 303, and adjustment mould
Block 304.
First acquisition module 301, for when detecting that user shoots the photo for a reading, obtaining default sensor
Multiple output valves, the output valve of the default sensor are used to represent the posture residing for terminal.
For example when detecting that user shoots the photo for a reading, the first acquisition module 301 of terminal can be obtained first
Multiple output valves of default sensor.Wherein, the output valve of the default sensor can be used to indicate that the posture residing for terminal.
For example, default sensor can be mounted in gyro sensor (such as the three-axis gyroscope sensing in terminal
Device).Rotational angular velocity when gyro sensor in terminal can be used for measuring terminals deflection, tilt.Because gyroscope passes
Sensor can well measuring terminals rotate and deflection action, i.e., can measure and reconstruct by gyro sensor, terminal
Go out the complete 3D actions of terminal in space.Therefore, user can be gone out with Accurate Analysis by means of gyro sensor, terminal
Actual act.That is, by gyro sensor, terminal can analyze its posture being held by a user.
Certainly, in some embodiments, default sensor can also be the combination of the sensor of two and the above.Example
Such as, default sensor can be the combination of three-axis gyroscope sensor and acceleration transducer.By the way that three axis accelerometer is applied in combination
Instrument sensor and acceleration transducer, terminal preferably can track and be captured from the entire motion of body in three dimensions.
Computing module 302, for according to the multiple output valve, calculating the change between the output valve of the default sensor
Change amplitude.
For example after the first acquisition module 301 gets multiple output valves of default sensor, computing module 302 can
According to the plurality of output valve, to calculate the amplitude of variation between the output valve of the default sensor.
After the amplitude of variation being calculated between the output valve of the default sensor, terminal can detect output valve it
Between amplitude of variation whether exceed predetermined amplitude.It is understood that because the output valve for presetting sensor can be used to indicate that
The posture that terminal is held by a user, therefore the amplitude of variation between output valve can be used to indicate that the posture that terminal is held by a user
Change size.
If the amplitude of variation between detecting output valve is not less than predetermined amplitude, then it is considered that terminal is held by user
The change for the posture held is smaller, i.e., rocking when terminal is held by a user is smaller.In this case, terminal can clap user
That takes the photograph to obtain treats that a photo sample read in photo and presetting database is directly matched, without to for judging photo
Between the matching degree that whether matches be adjusted.
Second acquisition module 303, if for detecting that the amplitude of variation exceedes predetermined amplitude, obtain the age of user
Value.
For example terminal detects that the amplitude of variation between output valve has exceeded predetermined amplitude, then it is considered that terminal quilt
The posture that user grips changes greatly, i.e., rocking when terminal is held by a user is larger.In this case, second mould is obtained
Block 303 can obtain the age value of user.
Adjusting module 304, if for detecting that the age value is less than or equal to default first numerical value, reduce for sentencing
The numerical value of the matching degree whether matched between disconnected photo.
For example after the second acquisition module 303 gets the age value of user, whether terminal can detect the age value
Less than or equal to default first numerical value.
If detect that the age value is more than default first numerical value, then it is considered that current age of user is larger, be
Non- child user, then terminal can not be adjusted the numerical value of the matching degree for whether being matched judging photo.
If detect that the age value is less than or equal to default first numerical value, then it is considered that current age of user compared with
It is small, it is child user.In this case, adjusting module 304 can reduce the matching degree for judging whether to match between photo
Numerical value.
In one embodiment, the adjusting module 304 can be used for:
If detecting, the age value is less than or equal to default first numerical value, obtains for judging whether matched between photo
Matching degree currency, and first object value corresponding with the age value;
If detecting, the currency is more than the first object value, and the numerical value of the matching degree is reduced into described
One desired value.
For example terminal detects that the age value of active user is less than or equal to default first numerical value, now it is considered that working as
The age of preceding user is smaller, is child user.In this case, adjusting module 304 can be obtained for judging is between photo
The currency of the matching degree of no matching, and first object value corresponding with the age value of active user.
Afterwards, adjusting module 304 can compare the size between the currency of the matching degree and first object value.
If detect that the currency of the matching degree is less than or equal to first object value, then terminal can not be to the matching
The numerical value of degree is adjusted.
If detect that the currency of the matching degree is more than first object value, then adjusting module 304 will can be used to sentence
The numerical value of the matching degree whether matched between disconnected photo is reduced to the first object value.
For example, the currency of the matching degree is 80%, i.e., treated when user's shooting in a reading photo and presetting database
When similarity between certain photo reaches 80%, it is believed that this two photos match.And with the age value of active user
Corresponding first object value is 65%.So, terminal can be by for judging matching degree that whether two photos match by 80%
It is down to 65%.That is, it is originally that when the similarity of two photos reaches 80%, terminal just judges this two photo phases
Match somebody with somebody.And after the numerical value of matching degree is reduced into 65%, as long as the similarity of two photos reach 65% i.e. it is believed that this two
Photo is opened to match.
In one embodiment, the computing module 302 can be used for:
According to the order of output time priority, the amplitude of variation between the adjacent output valve of each two order is calculated, is obtained
Multiple range values.
So, second acquisition module 303 can be used for:In obtained range value, determine that numerical value exceedes default the
The number of the range value of one threshold value;If detecting, the number exceedes default second value, it is determined that the default sensor
Amplitude of variation between output valve exceedes predetermined amplitude, and obtains the age value of user.
For example after the first acquisition module 301 gets multiple output valves of default sensor, computing module 302 can
According to the order of output time priority, the amplitude of variation between the adjacent output valve of each two order is calculated successively, so as to obtain
To multiple range values.
For example, the first acquisition module 301 gets four output valves of default sensor Sequential output, be followed successively by A, B, C,
D.That is, on output time, A is earlier than B, C, D, and B is earlier than C, D, and C is earlier than D.Afterwards, computing module 302 can first calculate A and B it
Between amplitude of variation, such as obtain range value x1;The amplitude of variation between B and C is calculated again, such as obtains range value x2;Count again
The amplitude of variation between C and D is calculated, such as obtains range value x3.
After multiple range values are calculated, the second acquisition module 303 can determine that numerical values recited exceedes therefrom
The number of the range value of preset first threshold value.Afterwards, the second acquisition module 303 can detect whether the number exceedes default second
Numerical value.
If detecting, the number exceedes default second value, it is considered that the change for the posture that terminal is held by a user compared with
Greatly, i.e., rocking when terminal is held by a user is larger.In this case, the second acquisition module 303 can determine default biography
Amplitude of variation between the output valve of sensor exceedes predetermined amplitude, and obtains the age value of active user.
In one embodiment, the computing module 302, can be used for:
According to the order of output time priority, the amplitude of variation between the adjacent output valve of each two order is calculated, is obtained
Multiple range values.
So, second acquisition module 303 can be used for:
Calculate the average value of the multiple range value;
If detecting, the average value reaches default Second Threshold, it is determined that between the output valve of the default sensor
Amplitude of variation exceedes predetermined amplitude, and obtains the age value of user.
Such as first acquisition module 301 get four output valves of default sensor Sequential output, be followed successively by A, B, C,
D.That is, on output time, A is earlier than B, C, D, and B is earlier than C, D, and C is earlier than D.Afterwards, computing module 302 can first calculate A and B it
Between amplitude of variation, such as obtain range value x1;The amplitude of variation between B and C is calculated again, such as obtains range value x2;Count again
The amplitude of variation between C and D is calculated, such as obtains range value x3.
After range value x1, x2, x3 is obtained, the second acquisition module 303 can calculate the average value of these three range values,
Such as x1, x2, x3 average value are x4.Then, terminal can detect whether average value x4 reaches default Second Threshold.
If so, then the second acquisition module 303 can determine that the amplitude of variation between the output valve of default sensor exceedes
Predetermined amplitude, you can to think changing greatly for posture that terminal is held by a user, i.e., when terminal is held by a user rock compared with
Greatly.Now, the second acquisition module 303 can obtain the age value of active user.
Also referring to Fig. 6, Fig. 6 is another structural representation of the device for the adjustment matching degree that the embodiment of the present application provides
Figure.In one embodiment, adjusting the device 300 of matching degree can also include:Recovery module 305 and point read through model 306.
Recovery module 305, if for detect stop shooting be used for point read a photo, by the numerical value of the matching degree by
The first object value returns to and obtains use if detecting that the age value is less than or equal to default first numerical value described in execution
Numerical value when the currency step of the matching degree whether matched between judging photo.
For example detect that the age value is less than or equal to default first numerical value if being performed in adjusting module 304, obtain and use
When the step of the currency of the matching degree whether matched between judging photo, the matching degree that adjusting module 304 is got is worked as
Preceding value is 80%.Afterwards, the numerical value of the matching degree is reduced to first object value 65% by adjusting module 304 by 80%.This it
Afterwards, terminal can detect whether user stops the photo that shooting is used for point reading.If so, then adjusting module 304 can match this
The numerical value of degree returns to 80% by 65%.
Point read through model 306, a photo read is treated for what acquisition shooting obtained;According to the matching degree after reduction numerical value, if
Find in default memory space and shone with the target picture sample treated a photo read and matched, then acquisition with the target
The multimedia file of piece sample association;Play the multimedia file.
Such as after the numerical value of the matching degree for judging whether to match between photo is reduced into 65% by 80%, point
Read through model 306 can obtain the photo for being used for point and reading that user shoots to obtain, that is, treat a photo read.For example, point read through model 306
What is got treats that a photo read is photo P1.
Afterwards, read through model 306 is put to search and treat a little in default memory space according to the matching degree that numerical value is 65%
The target picture sample of the photo P1 matchings of reading.Wherein, preset in memory space and be stored with the substantial amounts of photograph for being used as matched sample
Piece.
If not finding the photo sample matched with treating a photo P1 read in default memory space, it is considered that
User does not make the matched sample related to treating a reading photo P1 in advance.In this case, terminal can perform other operations.
If the target picture sample matched with treating a photo P1 read is found in default memory space, then point is read
Module 306 can obtain the multimedia file associated with the target picture sample, and play the multimedia file.For example, point is read
Module 306 is found with treating that the photo that a photo P1 read is matched is P2, and the multimedia file associated with photo P2 is audio
Y.So after audio Y is got, terminal can plays audio Y.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program performs on computers so that the method that the computer performs the adjustment matching degree provided such as the present embodiment
In step.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling
The computer program stored in memory is stated, for the step in the method for the adjustment matching degree for performing the present embodiment offer.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet personal computer or smart mobile phone.Referring to Fig. 7,
Fig. 7 is the structural representation for the mobile terminal that the embodiment of the present application provides.
The mobile terminal 400 can include the parts such as sensor 401, memory 402, processor 403.People in the art
Member is appreciated that the mobile terminal structure shown in Fig. 7 does not form the restriction to mobile terminal, can include more more than illustrating
Or less part, either combine some parts or different parts arrangement.
Sensor 401 can include gyro sensor (such as three-axis gyroscope sensor), acceleration transducer etc. and pass
Sensor.
Memory 402 can be used for storage application program and data.Include and can hold in the application program that memory 402 stores
Line code.Application program can form various functions module.Processor 403 is stored in the application journey of memory 402 by operation
Sequence, so as to perform various function application and data processing.
Processor 403 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the application program being stored in memory 402, and call and be stored in memory 402
Data, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.
In the present embodiment, the processor 403 in mobile terminal can be according to following instruction, will be one or more
Executable code corresponding to the process of application program is loaded into memory 402, and is stored in storage by processor 403 to run
Application program in device 402, so as to realize step:
When detecting that user shoots the photo for a reading, multiple output valves of default sensor are obtained, it is described default
The output valve of sensor is used to represent the posture residing for terminal;
According to the multiple output valve, the amplitude of variation between the output valve of the default sensor is calculated;
If detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user;
If detecting, the age value is less than or equal to default first numerical value, reduces for judging whether matched between photo
Matching degree numerical value.
Referring to Fig. 8, mobile terminal 500 can include sensor 501, memory 502, processor 503, input block
504th, the part such as output unit 505, loudspeaker 506, microphone 507.
Sensor 501 can include gyro sensor (such as three-axis gyroscope sensor), acceleration transducer etc. and pass
Sensor.
Memory 502 can be used for storage application program and data.Include and can hold in the application program that memory 502 stores
Line code.Application program can form various functions module.Processor 503 is stored in the application journey of memory 502 by operation
Sequence, so as to perform various function application and data processing.
Processor 503 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the application program being stored in memory 502, and call and be stored in memory 502
Data, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.
Input block 504 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.
Output unit 505 can be used for display by the information of user's input or be supplied to the information and mobile terminal of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Output unit may include display panel.
In the present embodiment, the processor 503 in mobile terminal can be according to following instruction, will be one or more
Executable code corresponding to the process of application program is loaded into memory 502, and is stored in storage by processor 503 to run
Application program in device 502, so as to realize step:
When detecting that user shoots the photo for a reading, multiple output valves of default sensor are obtained, it is described default
The output valve of sensor is used to represent the posture residing for terminal;
According to the multiple output valve, the amplitude of variation between the output valve of the default sensor is calculated;
If detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user;
If detecting, the age value is less than or equal to default first numerical value, reduces for judging whether matched between photo
Matching degree numerical value.
In one embodiment, if processor 503 performs and described detects that the age value is less than or equal to default the
One numerical value, then when reducing the step of numerical value of the matching degree for judging whether to match between photo, it can perform:If detect institute
State age value and be less than or equal to default first numerical value, then obtain the currency of the matching degree for judging whether to match between photo,
And first object value corresponding with the age value;If detecting, the currency is more than the first object value, by institute
The numerical value for stating matching degree is reduced to the first object value.
In one embodiment, processor 503 performs the change between the output valve for calculating the default sensor
During the step of change amplitude, it can perform:According to the order of output time priority, between the adjacent output valve of calculating each two order
Amplitude of variation, obtain multiple range values.
So, if processor 503 performs and described detects that the amplitude of variation exceedes predetermined amplitude, the year of acquisition user
During the step of age value, it can perform:In obtained range value, determine that numerical value exceedes of the range value of preset first threshold value
Number;If detecting, the number exceedes default second value, it is determined that the change width between the output valve of the default sensor
Degree exceedes predetermined amplitude, and obtains the age value of user.
In one embodiment, the change width between the output valve of the default sensor is calculated described in processor 503
During the step of degree, it can perform:According to the order of output time priority, the change between the adjacent output valve of each two order is calculated
Change amplitude, obtain multiple range values.
So, if processor 503 performs and described detects that the amplitude of variation exceedes predetermined amplitude, the year of acquisition user
During the step of age value, it can perform:Calculate the average value of the multiple range value;If detecting, the average value reaches default
Two threshold values, it is determined that the amplitude of variation between the output valve of the default sensor exceedes predetermined amplitude, and obtains the year of user
Age is worth.
In one embodiment, processor 503 is reduced to described first in the execution numerical value by the matching degree
After the step of desired value, it can also carry out:It is used for the photo that point is read if detecting and stopping shooting, by the number of the matching degree
Value is returned to that execution is described to be obtained if detecting that the age value is less than or equal to default first numerical value by the first object value
Take the numerical value when currency step of the matching degree whether matched between judging photo.
In one embodiment, processor 503 is performing the matching reduced for judging whether to match between photo
After the step of numerical value of degree, it can also carry out:What acquisition shooting obtained treats a photo read;According to the matching after reduction numerical value
Degree, if found in default memory space with the target picture sample treated a photo read and match, acquisition with it is described
The multimedia file of target picture sample association;Play the multimedia file.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, the detailed description of the method above with respect to adjustment matching degree is may refer to, here is omitted.
The side of adjustment matching degree in the device and foregoing embodiments of the adjustment matching degree that the embodiment of the present application provides
It is owned by France in same design, can run in the embodiment of the method for the adjustment matching degree and carry on the device of the adjustment matching degree
The either method of confession, its specific implementation process refer to the embodiment of the method for the adjustment matching degree, and here is omitted.
It should be noted that for the method for matching degree is adjusted described in the embodiment of the present application, ordinary skill people
Member is appreciated that to realize all or part of flow for the method that matching degree is adjusted described in the embodiment of the present application, is that can pass through calculating
Machine program controls the hardware of correlation to complete, and the computer program can be stored in a computer read/write memory medium,
As stored in memory, and by least one computing device, may include in the process of implementation such as the adjustment matching degree
The flow of the embodiment of method.Wherein, described storage medium can be magnetic disc, CD, read-only storage (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory) etc..
For the device of the adjustment matching degree of the embodiment of the present application, its each functional module can be integrated at one
Reason chip in or modules be individually physically present, can also two or more modules be integrated in a module
In.Above-mentioned integrated module can both be realized in the form of hardware, can also be realized in the form of software function module.Institute
If state integrated module to realize in the form of software function module and as independent production marketing or in use, can also deposit
Storage is in a computer read/write memory medium, and the storage medium is for example read-only storage, disk or CD etc..
Method, apparatus, storage medium and the electronics of a kind of adjustment matching degree provided above the embodiment of the present application
Equipment is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, with
The explanation of upper embodiment is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the technology of this area
Personnel, according to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, this theory
Bright book content should not be construed as limiting the invention.
Claims (10)
- A kind of 1. method for adjusting matching degree, it is characterised in that including:When detecting that user shoots the photo for a reading, multiple output valves of default sensor, the default sensing are obtained The output valve of device is used to represent the posture residing for terminal;According to the multiple output valve, the amplitude of variation between the output valve of the default sensor is calculated;If detecting, the amplitude of variation exceedes predetermined amplitude, obtains the age value of user;If detecting, the age value is less than or equal to default first numerical value, reduces for judging whether to match between photo Numerical value with degree.
- 2. the method for adjustment matching degree according to claim 1, it is characterised in that if described detect that the age value is small In or equal to preset the first numerical value, then the numerical value of the matching degree for judging whether to match between photo is reduced, including:If detecting, the age value is less than or equal to default first numerical value, obtains for judging whether to match between photo Currency with degree, and first object value corresponding with the age value;If detecting, the currency is more than the first object value, and the numerical value of the matching degree is reduced into first mesh Scale value.
- 3. the method for adjustment matching degree according to claim 2, it is characterised in that the calculating default sensor Amplitude of variation between output valve, including:According to the order of output time priority, the amplitude of variation between the adjacent output valve of each two order is calculated, is obtained multiple Range value;If described detect that the amplitude of variation exceedes predetermined amplitude, the age value of user is obtained, including:In obtained range value, determine that numerical value exceedes the number of the range value of preset first threshold value;If detecting, the number exceedes default second value, it is determined that the change width between the output valve of the default sensor Degree exceedes predetermined amplitude, and obtains the age value of user.
- 4. the method for adjustment matching degree according to claim 2, it is characterised in that the calculating default sensor Amplitude of variation between output valve, including:According to the order of output time priority, the amplitude of variation between the adjacent output valve of each two order is calculated, is obtained multiple Range value;If described detect that the amplitude of variation exceedes predetermined amplitude, the age value of user is obtained, including:Calculate the average value of the multiple range value;If detecting, the average value reaches default Second Threshold, it is determined that the change between the output valve of the default sensor Amplitude exceedes predetermined amplitude, and obtains the age value of user.
- 5. the method for the adjustment matching degree according to claim 3 or 4, it is characterised in that described by the matching degree Numerical value is reduced to after the first object value, in addition to:It is used for the photo that point is read if detecting and stopping shooting, the numerical value of the matching degree is returned to by the first object value Described obtain if detecting that the age value is less than or equal to default first numerical value is performed to be used to judge whether match between photo Matching degree currency step when numerical value.
- 6. the method for adjustment matching degree according to claim 1, it is characterised in that reduced described for judging between photo After the step of numerical value of the matching degree whether matched, in addition to:What acquisition shooting obtained treats a photo read;According to reducing the matching degree after numerical value, if being found in default memory space and the mesh treated a photo read and matched Photo sample is marked, then obtains the multimedia file associated with the target picture sample;Play the multimedia file.
- A kind of 7. device for adjusting matching degree, it is characterised in that including:First acquisition module, for when detecting that user shoots the photo for a reading, obtaining the multiple defeated of default sensor Go out value, the output valve of the default sensor is used to represent the posture residing for terminal;Computing module, for according to the multiple output valve, calculating the amplitude of variation between the output valve of the default sensor;Second acquisition module, if for detecting that the amplitude of variation exceedes predetermined amplitude, obtain the age value of user;Adjusting module, if for detecting that the age value is less than or equal to default first numerical value, reduce for judging photo Between the numerical value of matching degree that whether matches.
- 8. the device of adjustment matching degree according to claim 7, it is characterised in that the adjusting module is used for:If detecting, the age value is less than or equal to default first numerical value, obtains for judging whether to match between photo Currency with degree, and first object value corresponding with the age value;If detecting, the currency is more than the first object value, and the numerical value of the matching degree is reduced into first mesh Scale value.
- 9. a kind of storage medium, is stored thereon with computer program, it is characterised in that when the computer program on computers During execution so that the method that the computer performs the adjustment matching degree as any one of claim 1 to 6.
- 10. a kind of electronic equipment, including memory, processor, it is characterised in that the processor is by calling the memory The computer program of middle storage, the method for performing the adjustment matching degree as any one of claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711087241.4A CN107767712B (en) | 2017-11-07 | 2017-11-07 | Method and device for adjusting matching degree, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711087241.4A CN107767712B (en) | 2017-11-07 | 2017-11-07 | Method and device for adjusting matching degree, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107767712A true CN107767712A (en) | 2018-03-06 |
CN107767712B CN107767712B (en) | 2019-12-31 |
Family
ID=61272837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711087241.4A Active CN107767712B (en) | 2017-11-07 | 2017-11-07 | Method and device for adjusting matching degree, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107767712B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079495A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | Point reading mode starting method and electronic equipment |
CN111311184A (en) * | 2020-02-14 | 2020-06-19 | 中国平安人寿保险股份有限公司 | Data judgment method and device based on matching degree value and computer equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929500A (en) * | 2012-09-27 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for closing application program |
CN103945107A (en) * | 2013-11-29 | 2014-07-23 | 深圳市中兴移动通信有限公司 | Photographing method and photographing device |
CN104253904A (en) * | 2014-09-04 | 2014-12-31 | 广东小天才科技有限公司 | Method for realizing point-reading learning and smart phone |
CN104298482A (en) * | 2014-09-29 | 2015-01-21 | 上海华勤通讯技术有限公司 | Method for automatically adjusting output of mobile terminal |
CN104427233A (en) * | 2013-09-02 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and information processing equipment |
TW201516786A (en) * | 2013-10-24 | 2015-05-01 | Acer Inc | Electrical device and controlling method |
CN104702964A (en) * | 2015-03-30 | 2015-06-10 | 北京三好互动教育科技有限公司 | Image processing method and device |
CN105118339A (en) * | 2015-09-30 | 2015-12-02 | 广东小天才科技有限公司 | Teaching method and device based on situation learning |
-
2017
- 2017-11-07 CN CN201711087241.4A patent/CN107767712B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929500A (en) * | 2012-09-27 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for closing application program |
CN104427233A (en) * | 2013-09-02 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and information processing equipment |
TW201516786A (en) * | 2013-10-24 | 2015-05-01 | Acer Inc | Electrical device and controlling method |
CN103945107A (en) * | 2013-11-29 | 2014-07-23 | 深圳市中兴移动通信有限公司 | Photographing method and photographing device |
CN104253904A (en) * | 2014-09-04 | 2014-12-31 | 广东小天才科技有限公司 | Method for realizing point-reading learning and smart phone |
CN104298482A (en) * | 2014-09-29 | 2015-01-21 | 上海华勤通讯技术有限公司 | Method for automatically adjusting output of mobile terminal |
CN104702964A (en) * | 2015-03-30 | 2015-06-10 | 北京三好互动教育科技有限公司 | Image processing method and device |
CN105118339A (en) * | 2015-09-30 | 2015-12-02 | 广东小天才科技有限公司 | Teaching method and device based on situation learning |
Non-Patent Citations (1)
Title |
---|
李卓等: "基于相关系数的快速图像匹配研究", 《北京理工大学学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079495A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | Point reading mode starting method and electronic equipment |
CN111079495B (en) * | 2019-06-09 | 2024-03-22 | 广东小天才科技有限公司 | Click-to-read mode starting method and electronic equipment |
CN111311184A (en) * | 2020-02-14 | 2020-06-19 | 中国平安人寿保险股份有限公司 | Data judgment method and device based on matching degree value and computer equipment |
CN111311184B (en) * | 2020-02-14 | 2024-06-21 | 中国平安人寿保险股份有限公司 | Data judging method and device based on matching degree value and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107767712B (en) | 2019-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tian et al. | KinWrite: Handwriting-Based Authentication Using Kinect. | |
KR101481225B1 (en) | Face feature vector construction | |
US20170192500A1 (en) | Method and electronic device for controlling terminal according to eye action | |
CN106934376B (en) | A kind of image-recognizing method, device and mobile terminal | |
CN109635772A (en) | Dictation content correcting method and electronic equipment | |
US8269842B2 (en) | Camera gestures for user interface control | |
CN107493495A (en) | Interaction locations determine method, system, storage medium and intelligent terminal | |
CN106293074B (en) | Emotion recognition method and mobile terminal | |
CN107862292A (en) | Personage's mood analysis method, device and storage medium | |
CN107526443A (en) | Augmented reality method, device, system, electronic equipment and storage medium | |
US20110190060A1 (en) | Around device interaction for controlling an electronic device, for controlling a computer game and for user verification | |
CN113811898A (en) | System and method for content and style prediction in sports | |
CN107992841A (en) | The method and device of identification objects in images, electronic equipment, readable storage medium storing program for executing | |
Li et al. | CNN-based continuous authentication on smartphones with conditional Wasserstein generative adversarial network | |
CN106326853A (en) | Human face tracking method and device | |
US11216648B2 (en) | Method and device for facial image recognition | |
Ketabdar et al. | Towards using embedded magnetic field sensor for around mobile device 3D interaction | |
CN112995757B (en) | Video clipping method and device | |
Cui et al. | Hard sample mining and learning for skeleton-based human action recognition and identification | |
CN107767712A (en) | Adjust method, apparatus, storage medium and the electronic equipment of matching degree | |
Taskiran et al. | Hybrid face recognition under adverse conditions using appearance‐based and dynamic features of smile expression | |
CN105468249B (en) | Intelligent interaction system and its control method | |
CN111506183A (en) | Intelligent terminal and user interaction method | |
Stylios et al. | BioPrivacy: a behavioral biometrics continuous authentication system based on keystroke dynamics and touch gestures | |
Brockly et al. | Dynamic signature verification and the human biometric sensor interaction model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |