CN106385540A - Focal length control method, device and system and mobile equipment - Google Patents
Focal length control method, device and system and mobile equipment Download PDFInfo
- Publication number
- CN106385540A CN106385540A CN201610855333.1A CN201610855333A CN106385540A CN 106385540 A CN106385540 A CN 106385540A CN 201610855333 A CN201610855333 A CN 201610855333A CN 106385540 A CN106385540 A CN 106385540A
- Authority
- CN
- China
- Prior art keywords
- distance
- mobile device
- destination object
- difference
- volume
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000002789 length control Methods 0.000 title abstract 4
- 238000001514 detection method Methods 0.000 claims description 43
- 238000003384 imaging method Methods 0.000 claims description 41
- 238000012545 processing Methods 0.000 claims description 7
- 238000010168 coupling process Methods 0.000 claims description 6
- 238000005859 coupling reaction Methods 0.000 claims description 6
- 230000008878 coupling Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 24
- 238000003860 storage Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000427649 Melongena Species 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
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/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/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a focal length control method, a focal length control device, a focal length control system and mobile equipment. Wherein, the method comprises the following steps: the method comprises the steps that the mobile equipment collects volume information of voice sent by a target object; the mobile equipment determines the distance between the target object and the mobile equipment according to the collected volume information; and the mobile equipment adjusts the focal length of the shooting device according to the distance between the target object and the mobile equipment. The invention solves the technical problem of poor shooting effect caused by the fact that the focal length needs to be manually adjusted when the existing mobile equipment shoots.
Description
Technical field
The present invention relates to field of mobile equipment, in particular to a kind of focus controlling method, device and system and movement
Equipment.
Background technology
Popularization with mobile device (for example, smart mobile phone) and the continuous improvement of mobile device photographic effect, Yi Jiyi
It is convenient that dynamic equipment is taken pictures, and increasing people likes being autodyned in various occasions using mobile device, especially with certainly
Dabber carries out auto heterodyne to be become to become more and more popular, and when mobile device is taken pictures from face different distance, the portrait in self-timing image forming is big
Little also differ, and when people takes pictures, custom cries out word that " Fructus Solani melongenae " etc. be similar to photograph more satisfied smile.In this case,
If mobile device focal length is improper, the size of portrait in self-timing image forming can be led to improper, affect auto heterodyne effect, and pass through people
Work focuses manually, complex operation and be difficult to be adjusted to proper focal length, still can affect auto heterodyne effect.
When being shot for existing mobile device, need, by manually focusing, to lead to shooting effect poor
Problem, effective solution is not yet proposed at present.
Content of the invention
Embodiments provide a kind of focus controlling method, device and system and mobile device, existing at least to solve
When some mobile devices are shot, need, by manually focusing, to lead to the technical problem of shooting effect difference.
A kind of one side according to embodiments of the present invention, there is provided focus controlling method, including:Mobile device gathers mesh
The information volume of the voice that mark object sends;Mobile device, according to the information volume collecting, determines that destination object distance is mobile
The distance of equipment;Mobile device adjusts the focal length of filming apparatus according to destination object apart from the distance of mobile device.
Another aspect according to embodiments of the present invention, additionally provides a kind of focus controlling device, including:Acquisition module, uses
The information volume of the voice sending in collection destination object;Determining module, for according to the described information volume collecting, determining
The distance of described destination object;Adjusting module, for the distance according to described destination object, adjusts the focal length of filming apparatus.
Another aspect according to embodiments of the present invention, additionally provides a kind of focus controlling system, including:Speech detection fills
Put, for gathering the information volume of the voice that destination object sends;Processor, is connected with described speech detection device, for root
According to the described information volume collecting, determine the distance apart from mobile device for the described destination object;Controller, with described processor
Connect, adjust the focal length of filming apparatus for according to described destination object apart from the distance of mobile device.
Another aspect according to embodiments of the present invention, additionally provides a kind of mobile device, including:Jiao of above-mentioned any one
Away from control system.
In embodiments of the present invention, mobile device gathers the information volume of voice that destination object sends, according to collecting
Information volume, determine the distance apart from mobile device for the destination object, according to destination object apart from mobile device distance, adjustment
The focal length of filming apparatus, thus realizing the distance by voice size automatic decision mobile device distance users and real further
Now the automatic focusing to filming apparatus, so that auto heterodyne person assumes the image of suitable size, solves existing mobile device and carries out
During shooting, need, by manually focusing, to lead to the technical problem of shooting effect difference.Therefore, above-mentioned by the present invention
The scheme that embodiment provides, can reach raising auto heterodyne effect and intelligentized effect.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of focus controlling method according to embodiments of the present invention;
Fig. 2 is the flow chart of a kind of optional focus controlling method according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of focus controlling device according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of focus controlling system according to embodiments of the present invention;And
Fig. 5 is the schematic diagram of a kind of optional mobile device according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is only
The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of not making creative work, all should belong to the model of present invention protection
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that such use
Data can exchange in the appropriate case so that embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover
Cover non-exclusive comprising, for example, contain series of steps or process, method, system, product or the equipment of unit are not necessarily limited to
Those steps clearly listed or unit, but may include clearly not listing or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method for focus controlling method, it should be noted that attached
The step that the flow process of figure illustrates can execute in the computer system of such as one group of computer executable instructions, though and,
So show logical order in flow charts, but in some cases, can be with shown different from order execution herein
Or the step of description.
Fig. 1 is a kind of flow chart of focus controlling method according to embodiments of the present invention, as shown in figure 1, the method includes
Following steps:
Step S102, mobile device gathers the information volume of the voice that destination object sends.
Specifically, above-mentioned mobile device can be smart mobile phone (including Android phone and iOS mobile phone), flat board electricity
The mobile terminals such as brain, IPAD, destination object can be the user being autodyned using mobile device, and above-mentioned information volume is permissible
It is the sound size collecting.
In a kind of optional scheme, when user is autodyned using mobile device, similar " Fructus Solani melongenae " etc. can be sent
The voice of word, mobile device can gather, by mike, the voice that user sends, and collects the sound that user sends voice
Size.
Step S104, mobile device, according to the information volume collecting, determines the distance apart from mobile device for the destination object.
In a kind of optional scheme, mobile device is collecting, by mike, the sound size sending when user autodynes
Afterwards, can be judged according to the sound size collecting, be judged the distance apart from mobile device for user's face.
Step S106, mobile device adjusts the focal length of filming apparatus according to destination object apart from the distance of mobile device.
Specifically, above-mentioned filming apparatus can be mobile device carry front-facing camera, post-positioned pick-up head it is also possible to
It is the first-class device for being taken pictures to user of shooting of mobile device peripheral hardware.
In a kind of optional scheme, mobile device is judging user's face after the distance of mobile device, can
Apart from the distance of mobile device, automatically adjust the focal length of photographic head with according to user's face so that photographic head is being carried out to user
During auto heterodyne, face can be obtained and be imaged certainly taking a picture of suitable size.
By the above embodiment of the present invention, mobile device gathers the information volume of the voice that destination object sends, according to adopting
The information volume collecting, determines the distance apart from mobile device for the destination object, according to destination object apart from mobile device distance,
The focal length of adjustment filming apparatus, thus realizing by the distance of voice size automatic decision mobile device distance users, goes forward side by side one
Step realizes the automatic focusing to filming apparatus so that auto heterodyne person assumes the image of suitable size, solves existing mobile device
When being shot, need, by manually focusing, to lead to the technical problem of shooting effect difference.Therefore, by the present invention
The scheme that above-described embodiment provides, can reach raising auto heterodyne effect and intelligentized effect.
Alternatively, in the above embodiment of the present invention, step S104, mobile device according to the information volume collecting, really
The distance of the object distance that sets the goal mobile device, including:
Step S1042, according to information volume, by preset algorithm be calculated destination object apart from mobile device away from
From.
Specifically, above-mentioned preset algorithm can be predetermined software algorithm.For the diverse location apart from mobile device
User, the sound using same sound size is spoken, and the sound that mobile device collects is less, and that is, information volume is less, explanation
Face from mobile phone more away from.It is further contemplated that user is of different sizes in the same position one's voice in speech apart from mobile device, soft
Part algorithm can be pre-selected an intermediate value V0, and wherein, V0 is in same position and gathers the minimum and maximum intermediate value of sound,
The sound size collecting each position every time is made the difference with preset value, judges user's face distance with the absolute value of difference △ V
The position of mobile device, by the available diverse location of many experiments, uniquely corresponding difference and preset value are placed on one
In depositor, acoustic information that each mobile device collects by with depositor in preset value and difference be compared,
So that it is determined that user's face is apart from the distance of mobile device.
Alternatively, in the above embodiment of the present invention, step S1042, according to information volume, calculated by preset algorithm
To destination object apart from mobile device distance, including:
Step S10422, calculates the difference of information volume and default information volume, obtains volume difference.
Specifically, above-mentioned default information volume can be the preset value of storage in depositor, that is, be pre-selected in one
Between value V0.
Step S10424, volume difference is mated with multiple default volume differences, obtains being matched with volume difference
The first default volume difference.
Specifically, above-mentioned multiple default volume difference can be the diverse location uniquely corresponding difference of storage in depositor
Value.
Step S10426, obtains and the first default corresponding predeterminable range of volume difference, obtains destination object distance mobile
The distance of equipment.
In a kind of optional scheme, mobile device, can be by after collecting user and send the sound size of voice
The sound size collecting is compared with the preset value of storage in depositor, is calculated the volume that sound is less than greatly preset value
Difference.Can be after the preset value of the sound collecting size and storage in depositor be compared, will be calculated
Volume difference is compared with multiple differences of storage in depositor, obtains the difference matching with volume difference.And from depositing
In device obtain position corresponding with the difference that this matches, as user's face apart from mobile device distance.
Alternatively, in the above embodiment of the present invention, step S106, mobile device is according to destination object apart from mobile device
Distance, adjustment filming apparatus focal length, including:
Step S1062, whether the difference of the distance of judging distance and imaging size is within preset range.
Specifically, above-mentioned imaging size can be the size that filming apparatus shoot face imaging in imaging, user's face
Distance apart from mobile device is also one-to-one with imaging size.Above-mentioned preset range can be due to measurement error,
The differences such as individual subscriber, the range of error that cannot eliminate existing.
In a kind of optional scheme, currently can clap by calculated user's face apart from the distance of mobile device
Take the photograph the device imaging corresponding distance of size to be compared, calculate user's face apart from the distance of mobile device and imaging size pair
The difference of the distance answered, if difference is within preset range, can determine the distance apart from mobile device for user's face
Match with the imaging corresponding distance of size, Focussing need not be carried out;If difference is within preset range, can be true
The distance distance corresponding with imaging size determining user's face apart from mobile device mismatches, and needs to carry out Focussing.
Step S1064, if the difference of the distance of distance and imaging size is not within preset range, adjustment shoots
The focal length of device is so that the difference of the distance of distance and imaging size is within preset range.
In a kind of optional scheme, if difference is within preset range, can determine that user's face distance is moved
The distance of dynamic equipment distance corresponding with imaging size mismatches, then can adjust the focal length of filming apparatus so that user's face
Apart from the distance of mobile device distance coupling corresponding with imaging size, that is, ensure that in the photo photographing, face imaging size is closed
Suitable, reach optimal shooting effect.
Alternatively, in the above embodiment of the present invention, in step S1064, after adjusting the focal length of filming apparatus, above-mentioned side
Method also includes:
Step S1066, controls the filming apparatus after adjustment that destination object is shot.
In a kind of optional scheme, after filming apparatus are focused, now assume sizeable image, can
Automatically to autodyne to user, generate from taking a picture, or video etc., taken pictures manually confirmation without user.
Alternatively, in the above embodiment of the present invention, if the difference of the distance of distance and imaging size is in default model
Within enclosing, then directly control filming apparatus that destination object is shot.
In a kind of optional scheme, if difference is within preset range, can determine that user's face distance is moved
The distance of dynamic equipment is matched with the imaging corresponding distance of size, need not carry out Focussing, now assume sizeable figure
Picture, can autodyne to user automatically, generate and certainly take a picture, or video etc., taken pictures manually really without user
Recognize.
Alternatively, in the above embodiment of the present invention, step S102, mobile device gathers the voice that destination object sends
Information volume includes:
Step S1022, the acoustical signal of the voice that collection destination object sends.
Step S1024, acoustical signal is converted to voltage signal, obtains information volume.
In a kind of optional scheme, can collect, in the mike of mobile device, the acoustical signal that user sends voice
Afterwards, acoustical signal is converted into voltage signal, when user distance mobile device is more remote, the acoustical signal collecting is less,
Corresponding voltage replicates less.
Alternatively, in the above embodiment of the present invention, in step S102, mobile device gathers the voice that destination object sends
Information volume before, said method also includes:
Step S108, whether mobile device detection filming apparatus are opened.
Step S110, if filming apparatus is detected opened, whether mobile device detection speech detection switch is opened.
Specifically, above-mentioned speech detection switch can be that mike gathers opening of the acoustical signal of voice that user sends
Close, the acoustical signal of the voice that user sends when the switch is opened, can be gathered by mike;When the switch is closed it is impossible to
Gather the acoustical signal of the voice that user sends by mike.
Step S112, if speech detection switch is detected opened, mobile device gathers the voice that destination object sends
Information volume.
In a kind of optional scheme, whether mobile device before being autodyned, open by detection front-facing camera first,
If front-facing camera is opened, whether detection speech detection switch is opened further, if had already turned on, can just normal open
Cross the acoustical signal that mike gathers the voice that user sends, acoustical signal is converted to voltage signal, according to voltage signal
Size judges the distance apart from mobile device for user's face, then automatically adjusts photographic head focal length, and after adjustment user is entered
Row is autodyned.If front-facing camera is detected to be not switched on, cannot be carried out taking pictures, needing to wait front-facing camera to open.If
Speech detection switch is detected to be not switched on, then cannot gather the acoustical signal of the voice that user sends by mike, according to just
Often auto heterodyne mode, by the focal length of artificial manual adjustment photographic head.
Fig. 2 is the flow chart of a kind of preferred focus controlling method according to embodiments of the present invention, with reference to Fig. 2, with
Mobile device is mobile phone, filming apparatus are for, as a example mobile phone front-facing camera, to the present invention, a kind of preferred embodiment is carried out in detail
Illustrate, as shown in Fig. 2 the method includes:
Step S21, starts.
Step S22, judges whether front-facing camera is opened.
Alternatively, when user needs to be autodyned, mobile phone detects whether front-facing camera is opened first, if preposition take the photograph
As head is not switched on, then return to step S22, waits front-facing camera to be opened;If front-facing camera has already turned on, enter step
S23.
Step S23, judges whether sound size detection switch is opened.
Alternatively, after user opens front-facing camera, mobile phone detects that sound size detection switchs further, that is, above-mentioned
Speech detection switch whether open, if be not switched on it is determined that the acoustical signal of user cannot be acquired, enter step
S24;If opened it is determined that can be acquired to the acoustical signal of user, enter step S25.
Step S24, normal auto heterodyne.
Alternatively, if sound size detection switch is not switched on it is determined that cannot be acquired to the acoustical signal of user,
According to normal auto heterodyne mode, by the focal length of artificial manual adjustment photographic head.
Step S25, calculates face with a distance from camera lens by software algorithm.
Alternatively, if sound size detection switch is opened, Mike's speech detection passage is opened, immediately before taking pictures
By detecting auto heterodyne person's sound of speaking size, carry out judging mobile phone from photographer according to the size of collection sound by software algorithm
Distance.
Step S26, checks whether distance is consistent as the distance of size with being preset to.
Alternatively, after with a distance from determining mobile phone from photographer, can check distance whether be preset to as size
Distance is consistent, and that is, whether distance and the difference of the distance being preset to as size are in preset range, if distance with default
The distance of imaging size does not meet, then enter step S27;If distance is consistent as the distance of size with being preset to, enter
Step S28.
Step S27, adjustment camera lens is with a distance from sensor.
Alternatively, if distance be preset to as the distance of size do not meet it is determined that need adjust cam lens from
The distance of sensor, that is, adjust the focal length of photographic head so as to the face assuming suitable size when autodyning is taken a picture certainly, and adjusting
Step S28 is entered after whole.
Step S28, automatic camera.
Alternatively, if distance is consistent as the distance of size with being preset to, or photographic head focal length is adjusted, then take the photograph
As head can be taken pictures to user automatically, obtain sizeable face and certainly take a picture.
Step S29, terminates.
By above-mentioned steps S21 to step S29, it is possible to use when mobile microphone collection people autodynes, sound is calculated by software
Method carries out judging the distance apart from mobile phone for the face according to the size of collection sound, and then automatically adjusting photographic head focal length makes it certainly
The face assuming suitable size during bat is taken a picture, certainly thus improving auto heterodyne effect and intellectuality.
Embodiment 2
According to embodiments of the present invention, there is provided a kind of device embodiment of focus controlling device.
Fig. 3 is a kind of schematic diagram of focus controlling device according to embodiments of the present invention, as shown in figure 3, this device includes:
Acquisition module 31, for gathering the information volume of the voice that destination object sends.
Specifically, above-mentioned mobile device can be smart mobile phone (including Android phone and iOS mobile phone), flat board electricity
The mobile terminals such as brain, IPAD, destination object can be the user being autodyned using mobile device, and above-mentioned information volume is permissible
It is the sound size collecting.
In a kind of optional scheme, when user is autodyned using mobile device, similar " Fructus Solani melongenae " etc. can be sent
The voice of word, mobile device can gather, by mike, the voice that user sends, and collects the sound that user sends voice
Size.
Determining module 33, for mobile device according to the information volume collecting, determines destination object apart from mobile device
Distance.
In a kind of optional scheme, mobile device is collecting, by mike, the sound size sending when user autodynes
Afterwards, can be judged according to the sound size collecting, be judged the distance apart from mobile device for user's face.
Adjusting module 35, for mobile device according to destination object apart from the distance of mobile device, adjusts filming apparatus
Focal length.
Specifically, above-mentioned filming apparatus can be mobile device carry front-facing camera, post-positioned pick-up head it is also possible to
It is the first-class device for being taken pictures to user of shooting of mobile device peripheral hardware.
In a kind of optional scheme, mobile device is judging user's face after the distance of mobile device, can
Apart from the distance of mobile device, automatically adjust the focal length of photographic head with according to user's face so that photographic head is being carried out to user
During auto heterodyne, face can be obtained and be imaged certainly taking a picture of suitable size.
By the above embodiment of the present invention, mobile device gathers the information volume of the voice that destination object sends, according to adopting
The information volume collecting, determines the distance apart from mobile device for the destination object, according to destination object apart from mobile device distance,
The focal length of adjustment filming apparatus, thus realizing by the distance of voice size automatic decision mobile device distance users, goes forward side by side one
Step realizes the automatic focusing to filming apparatus so that auto heterodyne person assumes the image of suitable size, solves existing mobile device
When being shot, need, by manually focusing, to lead to the technical problem of shooting effect difference.Therefore, by the present invention
The scheme that above-described embodiment provides, can reach raising auto heterodyne effect and intelligentized effect.
Embodiment 3
According to embodiments of the present invention, there is provided a kind of system embodiment of focus controlling system.
Fig. 4 is a kind of schematic diagram of focus controlling system according to embodiments of the present invention, as shown in figure 4, this system includes:
Speech detection device 41, for gathering the information volume of the voice that destination object sends.
Specifically, above-mentioned speech detection device can be the mike in mobile device, and above-mentioned mobile device is permissible
It is the mobile terminals such as smart mobile phone (including Android phone and iOS mobile phone), panel computer, IPAD, destination object can be made
The user being autodyned with mobile device, above-mentioned information volume can be the sound size collecting.
In a kind of optional scheme, when user is autodyned using mobile device, similar " Fructus Solani melongenae " etc. can be sent
The voice of word, mobile device can gather, by mike, the voice that user sends, and collects the sound that user sends voice
Size.
Processor 43, is connected with speech detection device, for according to the information volume collecting, determining destination object distance
The distance of mobile device.
In a kind of optional scheme, mobile device is collecting, by mike, the sound size sending when user autodynes
Afterwards, can be judged according to the sound size collecting, be judged the distance apart from mobile device for user's face.
Controller 45, is connected with processor, adjusts filming apparatus for according to destination object apart from the distance of mobile device
Focal length.
Specifically, above-mentioned filming apparatus can be mobile device carry front-facing camera, post-positioned pick-up head it is also possible to
It is the first-class device for being taken pictures to user of shooting of mobile device peripheral hardware.
In a kind of optional scheme, mobile device is judging user's face after the distance of mobile device, can
Apart from the distance of mobile device, automatically adjust the focal length of photographic head with according to user's face so that photographic head is being carried out to user
During auto heterodyne, face can be obtained and be imaged certainly taking a picture of suitable size.
By the above embodiment of the present invention, mobile device gathers the information volume of the voice that destination object sends, according to adopting
The information volume collecting, determines the distance apart from mobile device for the destination object, according to destination object apart from mobile device distance,
The focal length of adjustment filming apparatus, thus realizing by the distance of voice size automatic decision mobile device distance users, goes forward side by side one
Step realizes the automatic focusing to filming apparatus so that auto heterodyne person assumes the image of suitable size, solves existing mobile device
When being shot, need, by manually focusing, to lead to the technical problem of shooting effect difference.Therefore, by the present invention
The scheme that above-described embodiment provides, can reach raising auto heterodyne effect and intelligentized effect.
Alternatively, in the above embodiment of the present invention, processor includes:
Computing unit, for according to information volume, being calculated destination object apart from mobile device by preset algorithm
Distance.
Specifically, above-mentioned preset algorithm can be predetermined software algorithm.For the diverse location apart from mobile device
User, the sound using same sound size is spoken, and the sound that mobile device collects is less, and that is, information volume is less, explanation
Face from mobile phone more away from.It is further contemplated that user is of different sizes in the same position one's voice in speech apart from mobile device, soft
Part algorithm can be pre-selected an intermediate value V0, and wherein, V0 is in same position and gathers the minimum and maximum intermediate value of sound,
The sound size collecting each position every time is made the difference with preset value, judges user's face distance with the absolute value of difference △ V
The position of mobile device, by the available diverse location of many experiments, uniquely corresponding difference and preset value are placed on one
In depositor, acoustic information that each mobile device collects by with depositor in preset value and difference be compared,
So that it is determined that user's face is apart from the distance of mobile device.
Alternatively, in the above embodiment of the present invention, computing unit is additionally operable to calculate information volume and default information volume
Difference, obtain volume difference;Volume difference is mated with multiple default volume differences, obtains matching with volume difference
The first default volume difference;Obtain and the first default corresponding predeterminable range of volume difference, obtain destination object distance mobile
The distance of equipment.
Specifically, above-mentioned default information volume can be the preset value of storage in depositor, that is, be pre-selected in one
Between value V0, above-mentioned multiple default volume difference can be in depositor storage diverse location uniquely corresponding difference.
In a kind of optional scheme, mobile device, can be by after collecting user and send the sound size of voice
The sound size collecting is compared with the preset value of storage in depositor, is calculated the volume that sound is less than greatly preset value
Difference.Can be after the preset value of the sound collecting size and storage in depositor be compared, will be calculated
Volume difference is compared with multiple differences of storage in depositor, obtains the difference matching with volume difference.And from depositing
In device obtain position corresponding with the difference that this matches, as user's face apart from mobile device distance.
Alternatively, in the above embodiment of the present invention, controller includes:
First processing units, whether the difference for judging distance and the distance of imaging size is within preset range.
Specifically, above-mentioned imaging size can be the size that filming apparatus shoot face imaging in imaging, user's face
Distance apart from mobile device is also one-to-one with imaging size.Above-mentioned preset range can be due to measurement error,
The differences such as individual subscriber, the range of error that cannot eliminate existing.
In a kind of optional scheme, currently can clap by calculated user's face apart from the distance of mobile device
Take the photograph the device imaging corresponding distance of size to be compared, calculate user's face apart from the distance of mobile device and imaging size pair
The difference of the distance answered, if difference is within preset range, can determine the distance apart from mobile device for user's face
Match with the imaging corresponding distance of size, Focussing need not be carried out;If difference is not within preset range, permissible
Determine that user's face mismatches apart from the distance distance corresponding with imaging size of mobile device, need to carry out Focussing.
Control unit, if the difference for distance and the distance of imaging size is not in, within preset range, adjusting
The focal length of filming apparatus is so that the difference of the distance of distance and imaging size is within preset range.
In a kind of optional scheme, if difference is not within preset range, can determine user's face distance
The distance of mobile device distance corresponding with imaging size mismatches, then can adjust the focal length of filming apparatus so that user people
Face apart from the distance distance coupling corresponding with imaging size of mobile device, that is, ensures face imaging size in the photo photographing
Properly, reach optimal shooting effect.
Alternatively, in the above embodiment of the present invention, controller is additionally operable to control the filming apparatus after adjusting to target pair
As being shot.
In a kind of optional scheme, after filming apparatus are focused, now assume sizeable image, can
Automatically to autodyne to user, generate from taking a picture, or video etc., taken pictures manually confirmation without user.
Alternatively, in the above embodiment of the present invention, if controller is additionally operable to the difference of the distance of distance and imaging size
Value is within preset range, then directly control filming apparatus that destination object is shot.
In a kind of optional scheme, if difference is within preset range, can determine that user's face distance is moved
The distance of dynamic equipment is matched with the imaging corresponding distance of size, need not carry out Focussing, now assume sizeable figure
Picture, can autodyne to user automatically, generate and certainly take a picture, or video etc., taken pictures manually really without user
Recognize.
Alternatively, in the above embodiment of the present invention, speech detection device includes:
Collecting unit, for gathering the acoustical signal of the voice that destination object sends.
Second processing unit, for acoustical signal is converted to voltage signal, obtains information volume.
In a kind of optional scheme, can collect, in the mike of mobile device, the acoustical signal that user sends voice
Afterwards, acoustical signal is converted into voltage signal, when user distance mobile device is more remote, the acoustical signal collecting is less,
Corresponding voltage replicates less.
Alternatively, in the above embodiment of the present invention, said system also includes:
Speech detection switchs.
Specifically, above-mentioned speech detection switch can be that mike gathers opening of the acoustical signal of voice that user sends
Close, the acoustical signal of the voice that user sends when the switch is opened, can be gathered by mike;When the switch is closed it is impossible to
Gather the acoustical signal of the voice that user sends by mike.
Processor, is connected with speech detection switch, for detecting whether filming apparatus are opened, filming apparatus is detected and open
Open, then whether detection speech detection switch is opened.
If speech detection device is additionally operable to detect speech detection, switch is opened, the voice that collection destination object sends
Information volume.
In a kind of optional scheme, whether mobile device before being autodyned, open by detection front-facing camera first,
If front-facing camera is opened, whether detection speech detection switch is opened further, if had already turned on, can just normal open
Cross the acoustical signal that mike gathers the voice that user sends, acoustical signal is converted to voltage signal, according to voltage signal
Size judges the distance apart from mobile device for user's face, then automatically adjusts photographic head focal length, and after adjustment user is entered
Row is autodyned.If front-facing camera is detected to be not switched on, cannot be carried out taking pictures, needing to wait front-facing camera to open.If
Speech detection switch is detected to be not switched on, then cannot gather the acoustical signal of the voice that user sends by mike, according to just
Often auto heterodyne mode, by the focal length of artificial manual adjustment photographic head.
Embodiment 4
According to embodiments of the present invention, there is provided a kind of product embodiments of mobile device, including:Any one in embodiment 3
The focus controlling system of item.
Fig. 5 is the schematic diagram of a kind of optional mobile device according to embodiments of the present invention, as shown in figure 5, can in one kind
In the scheme of choosing, the voice of words such as similar " Fructus Solani melongenaes " when user is autodyned, can be sent using mobile device, movement sets
The standby voice that can be sent by radio frequency reception to user, and the voice that user sends is gathered by mike, collect user
Send the sound size of voice, the sound collecting size is transferred to cpu central processing unit, cpu central processing unit by mike
Can be judged according to the sound size collecting, be judged the distance apart from mobile device for user's face, can according to
Family face, apart from the distance of mobile device, generates the photographic head to the photographic head carrying or peripheral hardware for the focus adjustment signal transmission,
Automatically adjust the focal length of photographic head so that photographic head is when autodyning to user, face can be obtained and be imaged suitable size
From taking a picture, user can check, by display screen, the photo that photographic head shoots.
By the above embodiment of the present invention, mobile device gathers the information volume of the voice that destination object sends, according to adopting
The information volume collecting, determines the distance apart from mobile device for the destination object, according to destination object apart from mobile device distance,
The focal length of adjustment filming apparatus, thus realizing by the distance of voice size automatic decision mobile device distance users, goes forward side by side one
Step realizes the automatic focusing to filming apparatus so that auto heterodyne person assumes the image of suitable size, solves existing mobile device
When being shot, need, by manually focusing, to lead to the technical problem of shooting effect difference.Therefore, by the present invention
The scheme that above-described embodiment provides, can reach raising auto heterodyne effect and intelligentized effect.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part describing in detail, may refer to the associated description of other embodiment.
It should be understood that disclosed technology contents in several embodiments provided herein, can pass through other
Mode is realized.Wherein, device embodiment described above is only the schematically division of for example described unit, Ke Yiwei
A kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of unit or module or communication link
Connect, can be electrical or other form.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On unit.The purpose to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products
Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server or network equipment etc.) execution each embodiment methods described of the present invention whole or
Part steps.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited
Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (18)
1. a kind of focus controlling method is it is characterised in that include:
Mobile device gathers the information volume of the voice that destination object sends;
Described mobile device according to the described information volume collecting, determine described destination object apart from described mobile device away from
From;
Described mobile device adjusts the focal length of filming apparatus according to described destination object apart from the distance of described mobile device.
2. focus controlling method according to claim 1 is it is characterised in that described mobile device is according to collect
Information volume, determines the distance apart from described mobile device for the described destination object, including:
According to described information volume, the distance apart from described mobile device for the described destination object is calculated by preset algorithm.
3. focus controlling method according to claim 2 is it is characterised in that according to described information volume, imputed by pre-
Method is calculated the distance apart from described mobile device for the described destination object, including:
Calculate the difference of described information volume and default information volume, obtain volume difference;
Described volume difference is mated with multiple default volume differences, obtain matching with described volume difference first is pre-
If volume difference;
Obtain and the described first default corresponding predeterminable range of volume difference, obtain described destination object apart from described mobile device
Distance.
4. focus controlling method according to claim 1 is it is characterised in that described mobile device is according to described destination object
Apart from the distance of described mobile device, adjust the focal length of filming apparatus, including:
Judge whether the difference of the distance of described distance and imaging size is within preset range;
If the difference of the distance of described distance and described imaging size is not within preset range, adjusts described shooting and fill
The focal length put is so that the difference of the distance of described distance and described imaging size is within described preset range.
5. focus controlling method according to claim 4 it is characterised in that adjust described filming apparatus focal length it
Afterwards, methods described also includes:
Control the described filming apparatus after adjustment that described destination object is shot.
If 6. focus controlling method according to claim 4 is it is characterised in that described distance and described imaging size
The difference of distance is within described preset range, then directly control described filming apparatus that described destination object is shot.
7. focus controlling method according to claim 1 is it is characterised in that mobile device gathers the language that destination object sends
The information volume of sound includes:
Gather the acoustical signal of the voice that described destination object sends;
Described acoustical signal is converted to voltage signal, obtains described information volume.
8. focus controlling method as claimed in any of claims 1 to 7 is it is characterised in that gather in mobile device
Before the information volume of the voice that destination object sends, methods described also includes:
Described mobile device detects whether described filming apparatus are opened;
If described filming apparatus is detected to open, whether described mobile device detection speech detection switch is opened;
If described speech detection switch is detected to open, described mobile device gathers the volume of the voice that destination object sends
Information.
9. a kind of focus controlling device is it is characterised in that include:
Acquisition module, for gathering the information volume of the voice that destination object sends;
Determining module, for according to the described information volume collecting, determining the distance of described destination object;
Adjusting module, for the distance according to described destination object, adjusts the focal length of filming apparatus.
10. a kind of focus controlling system is it is characterised in that include:
Speech detection device, for gathering the information volume of the voice that destination object sends;
Processor, is connected with described speech detection device, for according to the described information volume collecting, determining described target pair
Image distance is with a distance from mobile device;
Controller, is connected with described processor, apart from the distance of mobile device, adjusts and shoots dress for according to described destination object
The focal length put.
11. focus controlling systems according to claim 10 are it is characterised in that described processor includes:
Computing unit, for according to described information volume, calculating described destination object apart from mobile device by preset algorithm
Distance.
12. focus controlling systems according to claim 11 are it is characterised in that described computing unit is additionally operable to described in calculating
Information volume and the difference of default information volume, obtain volume difference;Described volume difference is entered with multiple default volume differences
Row coupling, obtains the first default volume difference matching with described volume difference;Obtain and the described first default volume difference
Corresponding predeterminable range, obtains the distance apart from mobile device for the described destination object.
13. focus controlling systems according to claim 10 are it is characterised in that described controller includes:
First processing units, whether the difference for judging distance and the distance of imaging size is within preset range;
Control unit, if the difference for described distance and the distance of described imaging size is not within preset range,
Adjust the focal length of described filming apparatus so that the difference of the distance of the distance of described destination object and described imaging size is in institute
State within preset range.
14. focus controlling systems according to claim 13 are it is characterised in that described controller is additionally operable to control after adjusting
Described filming apparatus described destination object is shot.
If 15. focus controlling systems according to claim 13 it is characterised in that described controller be additionally operable to described and
The difference of the distance of described imaging size is within described preset range, then directly control described filming apparatus to described target
Object is shot.
16. focus controlling systems according to claim 10 are it is characterised in that described speech detection device includes:
Collecting unit, for gathering the acoustical signal of the voice that described destination object sends;
Second processing unit, for described acoustical signal is converted to voltage signal, obtains described information volume.
The 17. focus controlling systems according to any one in claim 10 to 16 are it is characterised in that described system is also wrapped
Include:
Speech detection switchs;
Described processor, is connected with described speech detection switch, for detecting whether described filming apparatus are opened, detects described
Filming apparatus are opened, then detect whether described speech detection switch is opened;
If described speech detection device is additionally operable to detect described speech detection switch and opens, collection destination object sends
The information volume of voice.
A kind of 18. mobile devices are it is characterised in that include:Focus controlling system described in any one in claim 10 to 17
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855333.1A CN106385540A (en) | 2016-09-26 | 2016-09-26 | Focal length control method, device and system and mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855333.1A CN106385540A (en) | 2016-09-26 | 2016-09-26 | Focal length control method, device and system and mobile equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106385540A true CN106385540A (en) | 2017-02-08 |
Family
ID=57935966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610855333.1A Pending CN106385540A (en) | 2016-09-26 | 2016-09-26 | Focal length control method, device and system and mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106385540A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107087109A (en) * | 2017-05-23 | 2017-08-22 | 努比亚技术有限公司 | One kind, which is taken pictures, adjusts terminal and method |
CN108924020A (en) * | 2018-07-24 | 2018-11-30 | 珠海格力电器股份有限公司 | Device control method and apparatus, storage medium, and electronic apparatus |
CN110970057A (en) * | 2018-09-29 | 2020-04-07 | 华为技术有限公司 | Sound processing method, device and equipment |
CN113573158A (en) * | 2021-07-28 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Video processing method and device, electronic equipment and storage medium |
CN114125659A (en) * | 2021-10-29 | 2022-03-01 | 歌尔科技有限公司 | Volume real-time compensation method, electronic device and readable storage medium |
WO2023082846A1 (en) * | 2021-11-11 | 2023-05-19 | 惠州Tcl移动通信有限公司 | Voice recognition-based automatic focusing method, system and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100166406A1 (en) * | 2008-12-29 | 2010-07-01 | Hon Hai Precision Industry Co., Ltd. | Sound-based focus system and focus method thereof |
CN104092936A (en) * | 2014-06-12 | 2014-10-08 | 小米科技有限责任公司 | Automatic focusing method and apparatus |
CN104378635A (en) * | 2014-10-28 | 2015-02-25 | 西交利物浦大学 | Video region-of-interest (ROI) encoding method based on microphone array assistance |
CN105208283A (en) * | 2015-10-13 | 2015-12-30 | 广东欧珀移动通信有限公司 | Soundsnap method and device |
CN105227849A (en) * | 2015-10-29 | 2016-01-06 | 维沃移动通信有限公司 | A kind of method of front-facing camera auto-focusing and electronic equipment |
CN105657253A (en) * | 2015-12-28 | 2016-06-08 | 联想(北京)有限公司 | Focusing method and electronic device |
-
2016
- 2016-09-26 CN CN201610855333.1A patent/CN106385540A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100166406A1 (en) * | 2008-12-29 | 2010-07-01 | Hon Hai Precision Industry Co., Ltd. | Sound-based focus system and focus method thereof |
CN104092936A (en) * | 2014-06-12 | 2014-10-08 | 小米科技有限责任公司 | Automatic focusing method and apparatus |
CN104378635A (en) * | 2014-10-28 | 2015-02-25 | 西交利物浦大学 | Video region-of-interest (ROI) encoding method based on microphone array assistance |
CN105208283A (en) * | 2015-10-13 | 2015-12-30 | 广东欧珀移动通信有限公司 | Soundsnap method and device |
CN105227849A (en) * | 2015-10-29 | 2016-01-06 | 维沃移动通信有限公司 | A kind of method of front-facing camera auto-focusing and electronic equipment |
CN105657253A (en) * | 2015-12-28 | 2016-06-08 | 联想(北京)有限公司 | Focusing method and electronic device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107087109A (en) * | 2017-05-23 | 2017-08-22 | 努比亚技术有限公司 | One kind, which is taken pictures, adjusts terminal and method |
CN108924020A (en) * | 2018-07-24 | 2018-11-30 | 珠海格力电器股份有限公司 | Device control method and apparatus, storage medium, and electronic apparatus |
CN108924020B (en) * | 2018-07-24 | 2020-08-11 | 珠海格力电器股份有限公司 | Device control method and apparatus, storage medium, and electronic apparatus |
CN110970057A (en) * | 2018-09-29 | 2020-04-07 | 华为技术有限公司 | Sound processing method, device and equipment |
CN110970057B (en) * | 2018-09-29 | 2022-10-28 | 华为技术有限公司 | Sound processing method, device and equipment |
CN113573158A (en) * | 2021-07-28 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Video processing method and device, electronic equipment and storage medium |
CN114125659A (en) * | 2021-10-29 | 2022-03-01 | 歌尔科技有限公司 | Volume real-time compensation method, electronic device and readable storage medium |
WO2023082846A1 (en) * | 2021-11-11 | 2023-05-19 | 惠州Tcl移动通信有限公司 | Voice recognition-based automatic focusing method, system and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106385540A (en) | Focal length control method, device and system and mobile equipment | |
CN103945121B (en) | A kind of information processing method and electronic equipment | |
CN102984454B (en) | A kind of system of automatic adjustment camera focus, method and mobile phone | |
CN109671106B (en) | Image processing method, device and equipment | |
CN109005366A (en) | Camera module night scene image pickup processing method, device, electronic equipment and storage medium | |
CN104079812B (en) | A kind of image information acquisition method and device | |
CN105872363A (en) | Adjustingmethod and adjusting device of human face focusing definition | |
CN104935698B (en) | A kind of image pickup method of intelligent terminal, filming apparatus and smart phone | |
CN107911616A (en) | A kind of camera automatic focusing method, storage device and mobile terminal | |
CN103795933B (en) | A kind of image processing method and electronic equipment | |
CN105761120A (en) | Virtual fitting system automatically matching fitting scene and application method | |
CN109413326A (en) | Camera control method and Related product | |
CN103312972B (en) | Electronic installation and its its focalization method | |
CN103347117B (en) | The image pickup method of communication terminal and communication terminal | |
CN108848294A (en) | A kind of shooting parameter adjustment method, terminal and computer readable storage medium | |
CN107040723B (en) | Imaging method based on double cameras, mobile terminal and storage medium | |
CN105959554A (en) | Video shooting apparatus and method | |
WO2020124577A1 (en) | Method and device for determining photographing parameter for camera | |
WO2011016322A1 (en) | Imaging device, editing device, and imaging system | |
WO2022007518A1 (en) | Image photographing method and apparatus, terminal, and storage medium | |
CN106303192A (en) | Terminal control method and terminal | |
CN107135348A (en) | Recognition methods, device, mobile terminal and the camera of reference object | |
CN105007415B (en) | A kind of image preview method and apparatus | |
CN111447365B (en) | Shooting method and electronic equipment | |
CN103747171A (en) | Camera system control method and camera system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170208 |