CN106791407A - A kind of self-timer control method and system - Google Patents
A kind of self-timer control method and system Download PDFInfo
- Publication number
- CN106791407A CN106791407A CN201611229045.1A CN201611229045A CN106791407A CN 106791407 A CN106791407 A CN 106791407A CN 201611229045 A CN201611229045 A CN 201611229045A CN 106791407 A CN106791407 A CN 106791407A
- Authority
- CN
- China
- Prior art keywords
- auto heterodyne
- time period
- heterodyne
- preset time
- current
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention discloses a kind of self-timer control method and system, the method includes:Obtain auto heterodyne enabling signal;Recognize and track the auto heterodyne object in the range of autodyning;Judge whether the operating state of auto heterodyne object meets default auto heterodyne condition;If so, then auto heterodyne object is captured in the instruction of generation auto heterodyne.During whole auto heterodyne, the mobile terminals such as the mobile phone with Self-timer need to only monitor the operating state of user, user need to only face the operating state that auto heterodyne camera keeps meeting above-mentioned default auto heterodyne condition when autodyning, it is manually operated without user, realize while efficiently autodyne, due to the mobile terminals such as mobile phone need not be touched, mobile terminal when taking pictures is prevented to rock, ensure that the quality taken pictures, in addition, without one-handed performance, the appearance of the situation that the mobile terminal such as mobile phone falls from hand when taking pictures is reduced.
Description
Technical field
The present invention relates to camera technology field, more particularly to a kind of self-timer control method and system.
Background technology
With the improvement of people ' s living standards, people gradually start to enjoy and record fine in living.In daily life
In, many people like taking pictures and autodyne, particularly with female user for, the row autodyned using mobile terminals such as mobile phones
For more and more.
Pressed to ensure that user can complete the shooting operations such as the mobile terminal designs such as auto heterodyne, current mobile phone button
Key, user can be autodyned by pressing camera button on volume key, fingerprint key or screen etc..But when user is autodyned
When need to remove depresses button by finger or go Touch screen etc. to complete to shoot, the mobile terminal such as such mobile phone will due to
The shake-up at family and occur it is slight rock, the mobile phone of the quality taken pictures, particularly screen more than 5 inches can be directly affected, by
It is inconvenient in one-handed performance, when user's one-handed performance is autodyned, it is very inconvenient to press take pictures key mapping or screen etc., not only easily
Generation is rocked, and directly affects the quality taken pictures, and there is the danger that mobile phone falls from hand.
Thus, the quality taken pictures how is ensured when realizing easily autodyning, it is that those skilled in the art need solution at present
Technical problem certainly.
The content of the invention
It is an object of the invention to provide a kind of self-timer control method and system, can ensure to clap when realizing easily autodyning
According to quality.
In order to solve the above technical problems, the invention provides following technical scheme:
A kind of self-timer control method, including:
Obtain auto heterodyne enabling signal;
Recognize and track the auto heterodyne object in the range of autodyning;
Judge whether the operating state of the auto heterodyne object meets default auto heterodyne condition;
If so, then generation auto heterodyne instruction, captures the auto heterodyne object.
Preferably, whether the operating state for judging the auto heterodyne object meets default auto heterodyne condition, including:
Judge the auto heterodyne object in the preset time period in current auto heterodyne scope whether remains stationary state.
Preferably, in the preset time period for judging the auto heterodyne object in current auto heterodyne scope whether remains stationary
State, including:
Judge the auto heterodyne object in the preset time period whether relative to the static state in the range of the current auto heterodyne
The position of object of reference keeps constant.
Preferably, in the preset time period for judging the auto heterodyne object in current auto heterodyne scope whether remains stationary
State, including:
The auto heterodyne object is judged in the preset time period, and whether is the position coordinates in the current auto heterodyne scope
Keep constant.
Preferably, it is described to judge the auto heterodyne object in the preset time period, in the current auto heterodyne scope
Whether position coordinates keeps constant, including:
Extract different characteristic point of the auto heterodyne object in the current auto heterodyne scope;
Obtain position coordinates of each characteristic point in the current auto heterodyne scope;
Obtain the variable quantity of each characteristic point position coordinates of itself in the preset time period;
Judge whether the variable quantity of the position coordinates of each characteristic point is respectively less than default change threshold.
Preferably, in the preset time period for judging the auto heterodyne object in current auto heterodyne scope whether remains stationary
State, including:
The first image information of the auto heterodyne object is obtained at the first moment by dual camera;
Image overlap processing is carried out to the image information of correspondence first acquired in two cameras;
According to the result of the image procossing, judge whether the auto heterodyne object currently remains static;
If so, then according to each described first image information calculate the first of the auto heterodyne object and the dual camera away from
From;
By the second moment after the preset time period, the of the auto heterodyne object is obtained by the dual camera
Two image informations;
Image overlap processing is carried out to the image information of correspondence second acquired in two cameras;
According to the result of the image procossing, judge whether the auto heterodyne object currently remains static;
If so, then according to each second image information calculate the second of the auto heterodyne object and the dual camera away from
From;
Judge whether first distance and the second distance are identical;
If so, then judging auto heterodyne object remains stationary state in the preset time period in current auto heterodyne scope.
A kind of auto heterodyne control system, including:
Start acquisition module, for obtaining auto heterodyne enabling signal;
Recognition and tracking module, for recognizing and track autodyne in the range of auto heterodyne object;
Whether judge module, the operating state for judging the auto heterodyne object meets default auto heterodyne condition;
Auto heterodyne performing module, the operating state for judging the auto heterodyne object in the judge module meet it is default from
During bat condition, generation is autodyned to instruct and captures the auto heterodyne object.
Preferably, the judge module includes:
First judging unit, for judging whether the auto heterodyne object is protected in the preset time period in current auto heterodyne scope
Hold inactive state;
Timing unit, for carrying out focusing timing to the auto heterodyne object.
Preferably, first judging unit includes:
Static object of reference extracts subelement, for extracting the static scenes in the range of the current auto heterodyne as static reference
Thing;
First judgment sub-unit, for judging whether the auto heterodyne object works as in the preset time period relative to described
The position of the described static object of reference in the range of preceding auto heterodyne keeps constant.
Preferably, first judging unit includes:
Coordinate computation subunit, for calculating position coordinates of the auto heterodyne object in the current auto heterodyne scope;
Second judgment sub-unit, for judging the auto heterodyne object in the preset time period, in the current auto heterodyne
Whether the position coordinates in scope keeps constant.
Preferably, second judgment sub-unit includes:
Feature point extraction portion, for extracting different characteristic point of the auto heterodyne object in the current auto heterodyne scope;
Position coordinates acquisition unit, for obtaining position coordinates of each characteristic point in the current auto heterodyne scope;
Position coordinates variable quantity calculating part, for obtaining each characteristic point position of itself in the preset time period
The variable quantity of coordinate;
First judging part, for judging whether the variable quantity of position coordinates of each characteristic point is respectively less than default change
Threshold value.
Preferably, the system includes dual camera, wherein, first judging unit includes:
Image obtains subelement, and the first image for obtaining the auto heterodyne object at the first moment by dual camera is believed
Breath, and the second of the auto heterodyne object is being obtained by the dual camera by the second moment after the preset time period
Image information;
Image overlap processing subelement, for carrying out image weight to the image information of correspondence first acquired in two cameras
Folded treatment, and image overlap processing is carried out to the image information of correspondence second acquired in two cameras;
3rd judgment sub-unit, for the result according to current time corresponding image overlap processing, judges the auto heterodyne
Whether object currently remains static;
First apart from computation subunit, for described in the result judgement according to the first moment corresponding image overlap processing
When auto heterodyne object is currently at inactive state, the auto heterodyne object and double shootings are calculated according to each described first image information
First distance of head;
Second distance computation subunit, for described in the result judgement according to the second moment corresponding image overlap processing
When auto heterodyne object is currently at inactive state, the auto heterodyne object and double shootings are calculated according to each second image information
The second distance of head;
4th judgment sub-unit, it is whether identical for judging first distance and the second distance, and described
One distance judges that the auto heterodyne object keeps in the preset time period in current auto heterodyne scope when identical with the second distance
Inactive state.
Compared with prior art, above-mentioned technical proposal has advantages below:
A kind of self-timer control method that the embodiment of the present invention is provided, including:Obtain auto heterodyne enabling signal;Recognize and track
Auto heterodyne object in the range of auto heterodyne;Judge whether the operating state of auto heterodyne object meets default auto heterodyne condition;If so, then generating
Auto heterodyne object is captured in instruction of autodyning.After auto heterodyne enabling signal is obtained, start to recognize and track auto heterodyne object, identification and with
During track, judge whether the operating state of auto heterodyne object meets default auto heterodyne condition, when the action shape for judging auto heterodyne object
It is automatic to capture when state meets default auto heterodyne condition, realize that user autodynes.During whole auto heterodyne, with Self-timer
The mobile terminals such as mobile phone need to only monitor the operating state of user, need to only keep meeting in face of auto heterodyne camera when user autodynes
The operating state of above-mentioned default auto heterodyne condition, it is manually operated without user, realize while efficiently autodyne, due to
The mobile terminals such as mobile phone need not be touched, it is therefore prevented that mobile terminal is rocked when taking pictures, it is ensured that the quality taken pictures, additionally, without single
Hand is operated, and reduction is known clearly the appearance of the situation that the mobile terminal such as mobile phone falls from hand when taking pictures.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
The self-timer control method flow chart that Fig. 1 is provided by a kind of specific embodiment of the invention;
The auto heterodyne control system architecture schematic diagram that Fig. 2 is provided by a kind of specific embodiment of the invention.
Specific embodiment
Core of the invention is to provide a kind of self-timer control method and system, can ensure to clap when realizing easily autodyning
According to quality.
In order that the above objects, features and advantages of the present invention can become apparent it is understandable, below in conjunction with the accompanying drawings to this hair
Bright specific embodiment is described in detail.
Elaborate detail in order to fully understand the present invention in the following description.But the present invention can with it is various not
It is same as other manner described here to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention
Like popularization.Therefore the present invention is not limited by following public specific embodiment.
Refer to Fig. 1, the self-timer control method flow chart that Fig. 1 is provided by a kind of specific embodiment of the invention.
A kind of specific embodiment of the invention provides a kind of self-timer control method, including:
S11:Obtain auto heterodyne enabling signal.
When user is autodyned, need to open the front camera of the mobile terminals such as mobile phone under normal circumstances.In this reality
Apply in mode, respond the operation of user, obtain auto heterodyne enabling signal, trigger the beginning of auto heterodyne flow.
S12:Recognize and track the auto heterodyne object in the range of autodyning.
Portrait in the range of identification auto heterodyne, carries out recognition of face, to determine auto heterodyne object, and tracks auto heterodyne object, to certainly
Clapping object to angle tracking etc., be displayed on the display interface of mobile terminal with the picture rich in detail for ensureing auto heterodyne object.
S13:Judge whether the operating state of auto heterodyne object meets default auto heterodyne condition.
Auto heterodyne condition is set in the mobile terminals such as mobile phone in advance, and whether the operating state of real-time judge auto heterodyne object accords with
Close the auto heterodyne condition.
S14:If so, then generation auto heterodyne instruction, captures auto heterodyne object.
When the operating state for judging auto heterodyne object meets default auto heterodyne condition, auto heterodyne instruction is automatically generated, it is right to complete
The candid photograph of auto heterodyne object.
During the whole auto heterodyne of present embodiment, the mobile terminal such as mobile phone with Self-timer need to only monitor user
Operating state, auto heterodyne camera need to be only faced when user autodynes and keeps meeting the action shape of above-mentioned default auto heterodyne condition
State, mobile terminal is touched without user and is operated manually, is realized while efficiently autodyne, due to that need not touch hand
The mobile terminals such as machine, it is therefore prevented that mobile terminal is rocked when taking pictures, it is ensured that the quality taken pictures, additionally, without one-handed performance, reducing
The appearance of the situation that the mobile terminal such as mobile phone falls from hand when taking pictures of knowing clearly.
It should be noted that when the operating state for judging auto heterodyne object does not meet default auto heterodyne condition, can maintain
Execution is recognized and tracks the action of the auto heterodyne object in the range of autodyning.
In one embodiment of the invention, judge whether the operating state of auto heterodyne object meets default auto heterodyne bar
Part, including:Judge auto heterodyne object in the preset time period in current auto heterodyne scope whether remains stationary state.
Realize autodyning to realize not touching mobile terminal, the trigger condition of auto heterodyne is preferably arranged to auto heterodyne object pre-
If remains stationary state in the time period.Such as when auto heterodyne object keep 3 seconds it is static when judge the operating state of now auto heterodyne object
Default auto heterodyne condition is met, triggering candid photograph action completes to autodyne.
Further, judge auto heterodyne object in the preset time period in current auto heterodyne scope whether remains stationary state,
Including:Judge whether auto heterodyne object keeps in preset time period relative to the position of the static object of reference in the range of current auto heterodyne
It is constant.
In the present embodiment, it is illustrated for how to judge whether auto heterodyne object maintains inactive state.Certainly
When bat user is autodyned, the scenery in the range of auto heterodyne is identified, chooses one or more static scenes as static state
Object of reference, judge auto heterodyne object within the default time period whether with choose static object of reference position keep it is constant, if
It is then to judge that auto heterodyne object keeps not within the default time period relative to the position of the static object of reference in the range of current auto heterodyne
Become.
It should be noted that when user is autodyned, the body of user is it may happen that fine motion, can now be considered as certainly
Clap object constant relative to static reference position.Specifically, the position of auto heterodyne object and the static object of reference chosen can be calculated
The variable quantity put, judges that now auto heterodyne object is relative to static reference when the variable quantity is less than a default change threshold
Thing is remained stationary as.
In yet another embodiment of the present invention, judge auto heterodyne object in the preset time period in current auto heterodyne scope
Whether remains stationary state, including:Auto heterodyne object is judged in preset time period, and the position coordinates in current auto heterodyne scope is
It is no to keep constant.
In actual applications, user needs to be autodyned when being kept in motion sometimes, is at this moment difficult to choose quiet
State object of reference is autodyned to realize triggering.In the present embodiment, only need to judge auto heterodyne object in preset time period, it is current from
It is to judge that the operating state of the auto heterodyne object meets default auto heterodyne condition to clap the position coordinates in scope and keep constant.I.e. when certainly
Judge that the operating state of auto heterodyne object meets default auto heterodyne condition when clapping object and mobile terminal holding geo-stationary.
Further, auto heterodyne object is judged in preset time period, and whether the position coordinates in current auto heterodyne scope is protected
Hold constant, including:Extract different characteristic point of the auto heterodyne object in current auto heterodyne scope;Each characteristic point is obtained in current auto heterodyne model
Position coordinates in enclosing;Obtain the variable quantity of each characteristic point position coordinates of itself in preset time period;Judge each characteristic point
Position coordinates variable quantity whether be respectively less than default change threshold.
In the present embodiment, in order to ensure realizability and the applicability autodyned, auto heterodyne object can be extracted not
Same characteristic point, wherein, so-called characteristic point can be the point that some in the human body image of auto heterodyne user have special characteristic, such as
Eyes, nose, the ear of human body are even by choosing a certain or certain several point in the human body contour outline in the range of auto heterodyne.Obtain each spy
Levy the position coordinates a little in auto heterodyne scope, such as the nose of auto heterodyne object is in the central point of current auto heterodyne scope, then can be
Coordinate of the nose of auto heterodyne object in the coordinate system that viewfinder range is constituted is determined in the viewfinder range of mobile terminal.Especially when
User be kept in motion autodyned when, inevitably there is certain change with the relative position of mobile terminal,
Therefore, the variable quantity of position coordinates of each characteristic point in preset time period by itself is obtained, when each variable quantity is respectively less than corresponding
During default change threshold, judge that now auto heterodyne object and the mobile terminal for autodyning are to keep relative in the preset time period
Static, now, judging that the operating state of the auto heterodyne object meets default auto heterodyne condition, triggering auto heterodyne action is realized autodyning.
In one embodiment of the invention, the self-timer control method to application dual camera is illustrated.
In the present embodiment, judge auto heterodyne object in the preset time period in current auto heterodyne scope whether remains stationary
State, including:
The first image information of auto heterodyne object is obtained at the first moment by dual camera, i.e., when user opens mobile terminal
Self-timer when, the first image information of auto heterodyne object is obtained by the auto heterodyne dual camera of mobile terminal.
Image overlap processing is carried out to the image information of correspondence first acquired in two cameras, dual camera is employed and is entered
Row image is obtained, then at the first moment, each camera can obtain an image, i.e., each camera obtains first image
Information, then carries out overlap processing by the first image information that two cameras are obtained respectively, will two the first image informations
Image overlapped, detect whether each picture point can overlap, it is important that detection two images in auto heterodyne object wheel
Whether exterior feature can overlap.
According to the result of the image procossing, judge whether auto heterodyne object currently remains static.According to the coincidence of image
Result judges whether auto heterodyne object currently remains static.When two images of the first image information carry out overlap processing
When, Duplication then judges that overlap reaches requirement more than default anti-eclipse threshold, that is, the object that judges now to autodyne is currently at static
State.
If so, then calculating the first distance of auto heterodyne object and dual camera according to each first image information.Two cameras
The distance of the mobile terminal where can determining auto heterodyne object to two cameras with 3 points of auto heterodyne object, define the distance be from
Clap the first distance of object and dual camera.
By the second moment after preset time period, the second image information of auto heterodyne object is obtained by dual camera.
It is in order to determine that user is all set autodyned therefore static judging that user is according to first image information at the first moment
During state, at the second moment that have passed through preset time period, the second image information of auto heterodyne object is obtained by dual camera.
Image overlap processing is carried out to the image information of correspondence second acquired in two cameras.With above-mentioned for the first figure
As the image overlap processing of information is identical, the second image information is processed accordingly.
According to the result of the image procossing, judge whether auto heterodyne object currently remains static.According to now gained
The image overlap processing result of the second image information, judges now whether auto heterodyne object remains static.
If so, then calculating the second distance of auto heterodyne object and dual camera according to each second image information.When judge now
Auto heterodyne object remains static, then the distance of the mobile terminal where obtaining now auto heterodyne object and dual camera, is defined as
The second distance of auto heterodyne object and dual camera.
Judge whether the first distance and second distance are identical;If so, then judging auto heterodyne object in current auto heterodyne scope
Remains stationary state in preset time period.
For the judgement of image overlap processing result, simply concluded be to maintain in two moment auto heterodyne objects it is static,
Cannot conclude whether auto heterodyne object remains static in this course.Therefore, by judging the first distance and second distance
Relation judge it is static whether auto heterodyne object maintains within the default time period, when the first distance and second distance are equal
When, judge that auto heterodyne user remains static in the preset time period.Then now, the operating state of the auto heterodyne object is judged
Meet default auto heterodyne condition, auto heterodyne action can be triggered, realize autodyning.
Refer to Fig. 2, the auto heterodyne control system architecture schematic diagram that Fig. 2 is provided by a kind of specific embodiment of the invention.
Correspondingly, one embodiment of the present invention additionally provides a kind of auto heterodyne control system, including:Start acquisition module
1, for obtaining auto heterodyne enabling signal;Recognition and tracking module 2, for recognizing and track autodyne in the range of auto heterodyne object;Judge
Whether module 3, the operating state for judging auto heterodyne object meets default auto heterodyne condition;Auto heterodyne performing module 4, for sentencing
When disconnected module judges that the operating state of auto heterodyne object meets default auto heterodyne condition, generation is autodyned to instruct and captures auto heterodyne object.
In the present embodiment, when user opens the camera of the mobile terminals such as mobile phone, opens automatic Self-timer, open
Dynamic acquisition module is to obtain auto heterodyne enabling signal, and now the automatic Self-timer of mobile terminal starts.Recognition and tracking module is obtained
Shooting picture is taken, and auto heterodyne object is recognized by face recognition technology etc., and track auto heterodyne object so that mobile terminal is taken the photograph
As head is in in the accurate focusing of auto heterodyne object.Judge module judges whether the operating state of the auto heterodyne object in tracking meets
Default auto heterodyne condition, and when the operating state of auto heterodyne object meets default auto heterodyne condition, result of determination is sent to certainly
Performing module is clapped, the generation of auto heterodyne performing module is autodyned and instructed, shot to obtain the auto heterodyne image of auto heterodyne object.
During the whole auto heterodyne of present embodiment, the mobile terminal such as mobile phone with Self-timer need to only monitor user
Operating state, auto heterodyne camera need to be only faced when user autodynes and keeps meeting the action shape of above-mentioned default auto heterodyne condition
State, mobile terminal is touched without user and is operated manually, is realized while efficiently autodyne, due to that need not touch hand
The mobile terminals such as machine, it is therefore prevented that mobile terminal is rocked when taking pictures, it is ensured that the quality taken pictures, additionally, without one-handed performance, reducing
The appearance of the situation that the mobile terminal such as mobile phone falls from hand when taking pictures of knowing clearly.
In one embodiment of the invention, judge module includes:First judging unit, for judging that auto heterodyne object exists
In preset time period in current auto heterodyne scope whether remains stationary state;Timing unit, for being focused to auto heterodyne object
Timing.
Timing unit carries out focusing timing to auto heterodyne object in real time, and the first judge module judges that auto heterodyne object is autodyned currently
In preset time period in scope whether remains stationary state.First judge module may determine that the auto heterodyne object within a period of time
Whether inactive state is always maintained at, and judges whether this time of remains stationary state has reached the Preset Time that triggering is autodyned
Section.
In one embodiment of the invention, the first judging unit includes:Static object of reference extracts subelement, for carrying
The static scenes in the range of current auto heterodyne are taken as static object of reference;First judgment sub-unit, for judging auto heterodyne object pre-
If whether keeping constant relative to the position of the static object of reference in the range of current auto heterodyne in the time period.
In the present embodiment, when auto heterodyne user is autodyned, the scenery in the range of auto heterodyne is identified, chooses one
Individual or multiple static scenes judge whether auto heterodyne object is quiet with selection within the default time period as static object of reference
The position of state object of reference keeps constant, if so, then judging auto heterodyne object within the default time period relative to current auto heterodyne scope
The position of interior static object of reference keeps constant.
It should be noted that when user is autodyned, the body of user is it may happen that fine motion, can now be considered as certainly
Clap object constant relative to static reference position.Specifically, the position of auto heterodyne object and the static object of reference chosen can be calculated
The variable quantity put, judges that now auto heterodyne object is relative to static reference when the variable quantity is less than a default change threshold
Thing is remained stationary as.
In another embodiment of the present invention, the first judging unit includes:Coordinate computation subunit, autodynes for calculating
Position coordinates of the object in current auto heterodyne scope;Second judgment sub-unit, for judging auto heterodyne object in preset time period,
Whether the position coordinates in current auto heterodyne scope keeps constant.
In actual applications, user needs to be autodyned when being kept in motion sometimes, is at this moment difficult to choose quiet
State object of reference is autodyned to realize triggering.In the present embodiment, only need to judge auto heterodyne object in preset time period, it is current from
It is to judge that the operating state of the auto heterodyne object meets default auto heterodyne condition to clap the position coordinates in scope and keep constant.I.e. when certainly
Judge that the operating state of auto heterodyne object meets default auto heterodyne condition when clapping object and mobile terminal holding geo-stationary.
Further, the second judgment sub-unit includes:Feature point extraction portion, for extracting auto heterodyne object in current auto heterodyne model
Different characteristic point in enclosing;Position coordinates acquisition unit, for obtaining position coordinates of each characteristic point in current auto heterodyne scope;Position
Changes in coordinates amount calculating part is put, the variable quantity for obtaining each characteristic point position coordinates of itself in preset time period;First
Judging part, for judging whether the variable quantity of position coordinates of each characteristic point is respectively less than default change threshold.
In the present embodiment, in order to ensure realizability and the applicability autodyned, auto heterodyne object can be extracted not
Same characteristic point, wherein, so-called characteristic point can be the point that some in the human body image of auto heterodyne user have special characteristic, such as
Eyes, nose, the ear of human body even by choosing a certain or certain several point in the human body contour outline in the range of auto heterodyne, obtain each spy
Levy the position coordinates a little in auto heterodyne scope.Especially when user be kept in motion autodyned when, inevitably
There is certain change with the relative position of mobile terminal, therefore, each characteristic point is obtained in preset time period by the position of itself
The variable quantity of coordinate, when each variable quantity is respectively less than corresponding default change threshold, judges now auto heterodyne object and for autodyning
Mobile terminal be in the preset time period holding geo-stationary, now, judge that the operating state of the auto heterodyne object meets
Default auto heterodyne condition, triggering auto heterodyne action, realizes autodyning.
In one embodiment of the invention, the auto heterodyne control system to application dual camera is illustrated.
First judging unit includes:Image obtains subelement, right for obtaining auto heterodyne at the first moment by dual camera
First image information of elephant, and the of auto heterodyne object is being obtained by dual camera by the second moment after preset time period
Two image informations;
Image overlap processing subelement, for carrying out image weight to the image information of correspondence first acquired in two cameras
Folded treatment, and image overlap processing is carried out to the image information of correspondence second acquired in two cameras;
3rd judgment sub-unit, for the result according to current time corresponding image overlap processing, judges auto heterodyne object
Currently whether remain static;
First apart from computation subunit, for being autodyned according to the result judgement of the first moment corresponding image overlap processing
When object is currently at inactive state, the first distance of auto heterodyne object and dual camera is calculated according to each first image information;
Second distance computation subunit, for being autodyned according to the result judgement of the second moment corresponding image overlap processing
When object is currently at inactive state, the second distance of auto heterodyne object and dual camera is calculated according to each second image information;
4th judgment sub-unit, it is whether identical for judging the first distance and second distance, and in the first distance and second
Apart from it is identical when judge auto heterodyne object remains stationary state in preset time period in current auto heterodyne scope.
In the present embodiment, the first image information of auto heterodyne object is obtained at the first moment by dual camera, that is, is worked as
When user opens the Self-timer of mobile terminal, the first figure of auto heterodyne object is obtained by the auto heterodyne dual camera of mobile terminal
As information.
Employing dual camera carries out image acquisition, then at the first moment, each camera can obtain an image, i.e.,
Each camera obtains first image information, and the first image information that two cameras are obtained respectively then is carried out into overlapping
Reason, will the image of two the first image informations overlapped, detect whether each picture point can overlap, it is important that detection two
Whether the profile for opening the auto heterodyne object in image can overlap.
Coincidence result according to image judges whether auto heterodyne object currently remains static.When two the first image letters
When the image of breath carries out overlap processing, Duplication then judges that overlap reaches requirement more than default anti-eclipse threshold, that is, judge now
Auto heterodyne object is currently at inactive state.
3 points of two cameras and auto heterodyne object can determine auto heterodyne object to two cameras where mobile terminal
Distance, it is auto heterodyne object and the first distance of dual camera to define the distance.
In order to determine that user is all set autodyned, therefore user is being judged according to first image information at the first moment
When remaining static, at the second moment that have passed through preset time period, the second figure of auto heterodyne object is obtained by dual camera
As information.
It is identical with the above-mentioned image overlap processing for the first image information, the second image information is located accordingly
Reason.
According to the image overlap processing result of now the second image information of gained, judge now whether auto heterodyne object is in
Inactive state.
When judgement, now auto heterodyne object remains static, then the movement where obtaining now auto heterodyne object and dual camera
The distance of terminal, is defined as the second distance of auto heterodyne object and dual camera.
For the judgement of image overlap processing result, simply concluded be to maintain in two moment auto heterodyne objects it is static,
Cannot conclude whether auto heterodyne object remains static in this course.Therefore, by judging the first distance and second distance
Relation judge it is static whether auto heterodyne object maintains within the default time period, when the first distance and second distance are equal
When, judge that auto heterodyne user remains static in the preset time period.Then now, the operating state of the auto heterodyne object is judged
Meet default auto heterodyne condition, auto heterodyne action can be triggered, realize autodyning.
In sum, self-timer control method provided by the present invention and system, the mobile phone with Self-timer etc. are mobile eventually
End need to only monitor the operating state of user, when user autodynes only need in face of auto heterodyne camera keep meeting it is above-mentioned it is default certainly
The operating state of bat condition, such as auto heterodyne user set pose, keep static relative to mobile terminal in several seconds time,
Touch mobile terminal manually without user to be operated, realize while efficiently autodyne, moved due to mobile phone etc. need not be touched
Dynamic terminal, it is therefore prevented that mobile terminal is rocked when taking pictures, it is ensured that the quality taken pictures, additionally, without one-handed performance, reducing bat of knowing clearly
According to when the appearance of situation fallen from hand of the mobile terminal such as mobile phone.
A kind of self-timer control method provided by the present invention and system are described in detail above.It is used herein
Specific case is set forth to principle of the invention and implementation method, and the explanation of above example is only intended to help and understands this
Invention and its core concept.It should be pointed out that for those skilled in the art, not departing from the principle of the invention
On the premise of, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into the claims in the present invention
Protection domain in.
Claims (12)
1. a kind of self-timer control method, it is characterised in that including:
Obtain auto heterodyne enabling signal;
Recognize and track the auto heterodyne object in the range of autodyning;
Judge whether the operating state of the auto heterodyne object meets default auto heterodyne condition;
If so, then generation auto heterodyne instruction, captures the auto heterodyne object.
2. method according to claim 1, it is characterised in that whether the operating state for judging the auto heterodyne object accords with
Default auto heterodyne condition is closed, including:
Judge the auto heterodyne object in the preset time period in current auto heterodyne scope whether remains stationary state.
3. method according to claim 2, it is characterised in that the judgement auto heterodyne object is in current auto heterodyne scope
Preset time period in whether remains stationary state, including:
Judge the auto heterodyne object in the preset time period whether relative to the static reference in the range of the current auto heterodyne
The position of thing keeps constant.
4. method according to claim 2, it is characterised in that the judgement auto heterodyne object is in current auto heterodyne scope
Preset time period in whether remains stationary state, including:
The auto heterodyne object is judged in the preset time period, and whether the position coordinates in the current auto heterodyne scope keeps
It is constant.
5. method according to claim 4, it is characterised in that the judgement auto heterodyne object is in the preset time period
Interior, whether the position coordinates in the current auto heterodyne scope keeps constant, including:
Extract different characteristic point of the auto heterodyne object in the current auto heterodyne scope;
Obtain position coordinates of each characteristic point in the current auto heterodyne scope;
Obtain the variable quantity of each characteristic point position coordinates of itself in the preset time period;
Judge whether the variable quantity of the position coordinates of each characteristic point is respectively less than default change threshold.
6. method according to claim 2, it is characterised in that the judgement auto heterodyne object is in current auto heterodyne scope
Preset time period in whether remains stationary state, including:
The first image information of the auto heterodyne object is obtained at the first moment by dual camera;
Image overlap processing is carried out to the image information of correspondence first acquired in two cameras;
According to the result of the image procossing, judge whether the auto heterodyne object currently remains static;
If so, then calculating the first distance of the auto heterodyne object and the dual camera according to each described first image information;
By the second moment after the preset time period, the second figure of the auto heterodyne object is obtained by the dual camera
As information;
Image overlap processing is carried out to the image information of correspondence second acquired in two cameras;
According to the result of the image procossing, judge whether the auto heterodyne object currently remains static;
If so, then calculating the second distance of the auto heterodyne object and the dual camera according to each second image information;
Judge whether first distance and the second distance are identical;
If so, then judging auto heterodyne object remains stationary state in the preset time period in current auto heterodyne scope.
7. a kind of auto heterodyne control system, it is characterised in that including:
Start acquisition module, for obtaining auto heterodyne enabling signal;
Recognition and tracking module, for recognizing and track autodyne in the range of auto heterodyne object;
Whether judge module, the operating state for judging the auto heterodyne object meets default auto heterodyne condition;
Auto heterodyne performing module, the operating state for judging the auto heterodyne object in the judge module meets default auto heterodyne bar
During part, generation is autodyned to instruct and captures the auto heterodyne object.
8. system according to claim 7, it is characterised in that the judge module includes:
First judging unit, for judging whether the auto heterodyne object keeps quiet in the preset time period in current auto heterodyne scope
Only state;
Timing unit, for carrying out focusing timing to the auto heterodyne object.
9. system according to claim 8, it is characterised in that first judging unit includes:
Static object of reference extracts subelement, for extracting the static scenes in the range of the current auto heterodyne as static object of reference;
First judgment sub-unit, for judge the auto heterodyne object in the preset time period whether relative to it is described it is current from
The position of the described static object of reference in the range of bat keeps constant.
10. system according to claim 8, it is characterised in that first judging unit includes:
Coordinate computation subunit, for calculating position coordinates of the auto heterodyne object in the current auto heterodyne scope;
Second judgment sub-unit, for judging the auto heterodyne object in the preset time period, in the current auto heterodyne scope
In position coordinates whether keep constant.
11. systems according to claim 9, it is characterised in that second judgment sub-unit includes:
Feature point extraction portion, for extracting different characteristic point of the auto heterodyne object in the current auto heterodyne scope;
Position coordinates acquisition unit, for obtaining position coordinates of each characteristic point in the current auto heterodyne scope;
Position coordinates variable quantity calculating part, for obtaining each characteristic point position coordinates of itself in the preset time period
Variable quantity;
First judging part, for judging whether the variable quantity of position coordinates of each characteristic point is respectively less than default change threshold
Value.
12. systems according to claim 8, it is characterised in that the system includes dual camera, wherein, described first sentences
Disconnected unit includes:
Image obtains subelement, the first image information for obtaining the auto heterodyne object at the first moment by dual camera,
And the second figure of the auto heterodyne object is being obtained by the dual camera by the second moment after the preset time period
As information;
Image overlap processing subelement, for carrying out image overlapping to the image information of correspondence first acquired in two cameras
Reason, and image overlap processing is carried out to the image information of correspondence second acquired in two cameras;
3rd judgment sub-unit, for the result according to current time corresponding image overlap processing, judges the auto heterodyne object
Currently whether remain static;
First apart from computation subunit, for being autodyned described in the result judgement according to the first moment corresponding image overlap processing
When object is currently at inactive state, the auto heterodyne object and the dual camera are calculated according to each described first image information
First distance;
Second distance computation subunit, for being autodyned described in the result judgement according to the second moment corresponding image overlap processing
When object is currently at inactive state, the auto heterodyne object and the dual camera are calculated according to each second image information
Second distance;
4th judgment sub-unit, it is whether identical for judging first distance and the second distance, and described first away from
From it is identical with the second distance when judge auto heterodyne object remains stationary in the preset time period in current auto heterodyne scope
State.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611229045.1A CN106791407B (en) | 2016-12-27 | 2016-12-27 | Self-timer control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611229045.1A CN106791407B (en) | 2016-12-27 | 2016-12-27 | Self-timer control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106791407A true CN106791407A (en) | 2017-05-31 |
CN106791407B CN106791407B (en) | 2021-02-23 |
Family
ID=58922798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611229045.1A Active CN106791407B (en) | 2016-12-27 | 2016-12-27 | Self-timer control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106791407B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108024063A (en) * | 2017-12-15 | 2018-05-11 | 苏州燕云网络技术有限公司 | The image pickup method and device of mobile terminal |
CN112422823A (en) * | 2020-11-09 | 2021-02-26 | 广汽本田汽车有限公司 | Automatic visual shooting triggering method and device |
CN112887770A (en) * | 2021-01-26 | 2021-06-01 | Oppo广东移动通信有限公司 | Photo transmission method and device, television and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631195A (en) * | 2008-07-17 | 2010-01-20 | 佳能株式会社 | Image pickup device and control method thereof |
CN103475816A (en) * | 2013-08-30 | 2013-12-25 | 广东欧珀移动通信有限公司 | Self-timer control method and device |
CN103900477A (en) * | 2012-12-28 | 2014-07-02 | 北京三星通信技术研究有限公司 | Method for judging relative displacement of handheld device, and handheld device |
CN103985230A (en) * | 2014-05-14 | 2014-08-13 | 深圳市大疆创新科技有限公司 | Notification method, device and system based on image |
CN104159037A (en) * | 2014-08-26 | 2014-11-19 | 厦门美图之家科技有限公司 | Self-timer method for automatically photographing |
CN104318206A (en) * | 2014-09-30 | 2015-01-28 | 东软集团股份有限公司 | Barrier detection method and apparatus |
CN104780308A (en) * | 2014-01-09 | 2015-07-15 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105430262A (en) * | 2015-11-17 | 2016-03-23 | 小米科技有限责任公司 | Photographing control method and photographing control device |
CN105723417A (en) * | 2013-11-19 | 2016-06-29 | 高通股份有限公司 | Detection of an object varying features with a non-stationary device |
-
2016
- 2016-12-27 CN CN201611229045.1A patent/CN106791407B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631195A (en) * | 2008-07-17 | 2010-01-20 | 佳能株式会社 | Image pickup device and control method thereof |
CN103900477A (en) * | 2012-12-28 | 2014-07-02 | 北京三星通信技术研究有限公司 | Method for judging relative displacement of handheld device, and handheld device |
CN103475816A (en) * | 2013-08-30 | 2013-12-25 | 广东欧珀移动通信有限公司 | Self-timer control method and device |
CN105723417A (en) * | 2013-11-19 | 2016-06-29 | 高通股份有限公司 | Detection of an object varying features with a non-stationary device |
CN104780308A (en) * | 2014-01-09 | 2015-07-15 | 联想(北京)有限公司 | Information processing method and electronic device |
CN103985230A (en) * | 2014-05-14 | 2014-08-13 | 深圳市大疆创新科技有限公司 | Notification method, device and system based on image |
CN104159037A (en) * | 2014-08-26 | 2014-11-19 | 厦门美图之家科技有限公司 | Self-timer method for automatically photographing |
CN104318206A (en) * | 2014-09-30 | 2015-01-28 | 东软集团股份有限公司 | Barrier detection method and apparatus |
CN105430262A (en) * | 2015-11-17 | 2016-03-23 | 小米科技有限责任公司 | Photographing control method and photographing control device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108024063A (en) * | 2017-12-15 | 2018-05-11 | 苏州燕云网络技术有限公司 | The image pickup method and device of mobile terminal |
CN112422823A (en) * | 2020-11-09 | 2021-02-26 | 广汽本田汽车有限公司 | Automatic visual shooting triggering method and device |
CN112422823B (en) * | 2020-11-09 | 2022-08-09 | 广汽本田汽车有限公司 | Automatic visual shooting triggering method and device |
CN112887770A (en) * | 2021-01-26 | 2021-06-01 | Oppo广东移动通信有限公司 | Photo transmission method and device, television and storage medium |
CN112887770B (en) * | 2021-01-26 | 2023-08-08 | Oppo广东移动通信有限公司 | Photo transmission method, device, television and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106791407B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI751161B (en) | Terminal equipment, smart phone, authentication method and system based on face recognition | |
CN112911182B (en) | Game interaction method, device, terminal and storage medium | |
WO2021027537A1 (en) | Method and apparatus for taking identification photo, device and storage medium | |
WO2020103526A1 (en) | Photographing method and device, storage medium and terminal device | |
CN108712603B (en) | Image processing method and mobile terminal | |
CN108241434A (en) | Man-machine interaction method, device, medium and mobile terminal based on depth of view information | |
CN110472487B (en) | Living user detection method, living user detection device, computer device, and storage medium | |
CN112118380B (en) | Camera control method, device, equipment and storage medium | |
KR20140104753A (en) | Image preview using detection of body parts | |
JP2010067062A (en) | Input system and method | |
CN107835359A (en) | Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal | |
JP7167244B2 (en) | Occluded Image Detection Method, Apparatus, and Medium | |
CN108668080A (en) | Prompt method and device, the electronic equipment of camera lens degree of fouling | |
CN113630545A (en) | Shooting method and equipment | |
WO2008004331A1 (en) | Voice outputting method and device linked to images | |
CN106791407A (en) | A kind of self-timer control method and system | |
CN108647633B (en) | Identification tracking method, identification tracking device and robot | |
CN113138669A (en) | Image acquisition method, device and system of electronic equipment and electronic equipment | |
WO2023273372A1 (en) | Gesture recognition object determination method and apparatus | |
CN105138956A (en) | Face detection method and device | |
CN111988522B (en) | Shooting control method and device, electronic equipment and storage medium | |
CN109145878A (en) | image extraction method and device | |
CN106598425A (en) | Photographing method of smart mobile terminal | |
CN106060383A (en) | Image obtaining method and system | |
CN108933891B (en) | Photographing method, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |