CN110035231A - A kind of image pickup method, device, equipment and medium - Google Patents
A kind of image pickup method, device, equipment and medium Download PDFInfo
- Publication number
- CN110035231A CN110035231A CN201910425935.7A CN201910425935A CN110035231A CN 110035231 A CN110035231 A CN 110035231A CN 201910425935 A CN201910425935 A CN 201910425935A CN 110035231 A CN110035231 A CN 110035231A
- Authority
- CN
- China
- Prior art keywords
- machine
- shooting
- self
- adapted sensor
- shakes
- 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/62—Control of parameters via user interfaces
-
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present disclosure discloses a kind of image pickup method, device, equipment and medium.Wherein, this method comprises: in the default page, whether detection the machine shakes;If the machine is shaken, shooting interface is popped up, and execute corresponding shooting operation.The technical solution that the embodiment of the present disclosure provides, when the machine jumps to the default page, if detecting that the machine is shaken, then directly pop-up shoots interface, and execute corresponding shooting operation, shooting directly is triggered by detecting shake in the default page in this programme, corresponding shooting entrance is clicked in the default page without user to open shooting interface, corresponding shooting button is again tapped in shooting interface without user simultaneously, corresponding shooting operation can directly be executed, to simplify shooting operation, the automaticity of shooting is improved.
Description
Technical field
The embodiment of the present disclosure is related to photography technology more particularly to a kind of image pickup method, device, equipment and medium.
Background technique
With the fast development of Internet technology, the application program of various functions is widely applied to daily life
In;If need to open camera shooting in a certain application program at this time, it usually needs current page of the user in the application program
Corresponding camera shooting entrance is clicked in face, only camera is opened in corresponding triggering to the clicking operation at this time, is also needed in specific shooting
User clicks the shooting button in the shooting page, cumbersome, and it is lower to shoot the degree of automation.
Summary of the invention
In view of this, the embodiment of the present disclosure provides a kind of image pickup method, device, equipment and medium, simplify shooting operation,
Improve shooting automaticity.
In a first aspect, the embodiment of the present disclosure provides a kind of image pickup method, this method comprises:
In the default page, whether detection the machine shakes;
If the machine is shaken, shooting interface is popped up, and execute corresponding shooting operation.
It is further, described to execute corresponding shooting operation, comprising:
Determine current dither grade;
Matched shooting instruction is generated according to the current dither grade;
Execute the matched shooting instruction.
Further, the shooting instruction is camera shooting or takes pictures.
Further, whether described detection the machine shakes, comprising:
Determine whether the machine shakes according to the output parameter of self-adapted sensor.
Further, the output parameter according to self-adapted sensor determines whether the machine shakes, comprising:
Determine whether the machine shakes according to the spatial position change amplitude that the self-adapted sensor exports.
Further, the self-adapted sensor is gravity accelerometer, is exported according to the self-adapted sensor
Spatial position change amplitude determine whether the machine shakes, comprising:
If the component of acceleration on two spaces locality is greater than or equal to predetermined upper threshold value, and third space
Component of acceleration on locality is less than predetermined lower threshold value, it is determined that the machine shake.
Further, the output parameter according to self-adapted sensor determines whether the machine shakes, comprising:
Determine whether the machine shakes according to the angular speed amplitude of variation that the self-adapted sensor exports.
Further, the self-adapted sensor is gyro sensor, the angle exported according to the self-adapted sensor
Velocity variations amplitude determines whether the machine shakes, comprising:
If the angular speed amplitude of variation on any spatial position direction is greater than or equal to predetermined amplitude threshold value, it is determined that this
Machine shake.
Second aspect, the embodiment of the present disclosure provide a kind of filming apparatus, which includes:
Shaking detection module, in the default page, whether detection the machine to shake;
Shooting module pops up shooting interface, and execute corresponding shooting operation if shaken for the machine.
Further, the shooting module, is specifically used for:
Determine current dither grade;
Matched shooting instruction is generated according to the current dither grade;
Execute the matched shooting instruction.
Further, the shooting instruction is camera shooting or takes pictures.
Further, the shaking detection module, is specifically used for:
Determine whether the machine shakes according to the output parameter of self-adapted sensor.
Further, the shaking detection module, comprising:
First shaking detection unit, the spatial position change amplitude for being exported according to the self-adapted sensor determine this
Whether machine is shaken.
Further, the self-adapted sensor be gravity accelerometer, the first shaking detection unit, specifically
For:
If the component of acceleration on two spaces locality is greater than or equal to predetermined upper threshold value, and third space
Component of acceleration on locality is less than predetermined lower threshold value, it is determined that the machine shake.
Further, the shaking detection module, comprising:
Second shaking detection unit, the angular speed amplitude of variation for being exported according to the self-adapted sensor determine the machine
Whether shake.
Further, the self-adapted sensor is gyro sensor, and the second shaking detection unit is specific to use
In:
If the angular speed amplitude of variation on any spatial position direction is greater than or equal to predetermined amplitude threshold value, it is determined that this
Machine shake.
The third aspect, the embodiment of the present disclosure additionally provide a kind of equipment, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the image pickup method as described in disclosure any embodiment.
Further, the equipment, further includes:
Self-adapted sensor is connected with the processor, for exporting parameter sensing to the processor;
Camera is connected with the processor, executes shooting operation for processor control.
Fourth aspect, the embodiment of the present disclosure provide a kind of readable medium, are stored thereon with computer program, the program quilt
The image pickup method as described in disclosure any embodiment is realized when processor executes.
A kind of image pickup method, device, equipment and the medium that the embodiment of the present disclosure provides, jump to the default page in the machine
When, if detecting that the machine is shaken, directly pop-up shoots interface, and executes corresponding shooting operation, directly logical in this programme
It crosses the detection shake in the default page to shoot to trigger, clicks corresponding shooting entrance in the default page without user to open
Interface is shot, while again tapping on corresponding shooting button in shooting interface without user, can directly be executed corresponding
Shooting operation improves the automaticity of shooting to simplify shooting operation.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this public affairs
The some embodiments opened for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of flow chart of image pickup method of embodiment of the present disclosure offer;
Fig. 2 shows the schematic illustrations for the shooting process that the embodiment of the present disclosure provides;
Fig. 3 shows the flow chart of another image pickup method of embodiment of the present disclosure offer;
Fig. 4 shows in the method for embodiment of the present disclosure offer and detects whether the machine shakes by gravity accelerometer
Schematic illustration;
Fig. 5 shows the flow chart of another image pickup method of embodiment of the present disclosure offer;
Fig. 6 shows in the method for embodiment of the present disclosure offer and detects the original whether the machine shakes by gyro sensor
Manage schematic diagram;
Fig. 7 shows a kind of structural schematic diagram of filming apparatus of embodiment of the present disclosure offer;
Fig. 8 shows a kind of structural schematic diagram of equipment of embodiment of the present disclosure offer.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, hereinafter with reference to attached in the embodiment of the present disclosure
Figure, the technical solution of the disclosure is clearly and completely described by embodiment, it is clear that described embodiment is the disclosure one
Section Example, instead of all the embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not being done
Every other embodiment obtained under the premise of creative work out belongs to the range of disclosure protection.
Fig. 1 shows a kind of flow chart of image pickup method of embodiment of the present disclosure offer, and the embodiment of the present disclosure is applicable to
In the case where executing shooting operation in a certain application program.A kind of image pickup method provided in this embodiment can be by disclosure reality
The filming apparatus of example offer is applied to execute, which can realize by way of software and/or hardware, and be integrated in execution
In the equipment of this method, the equipment for executing this method in the present embodiment can be mobile phone, plate or palm PC
Intelligent terminals such as (Personal Digital Assistant, PDA).
Specifically, as shown in Figure 1, the image pickup method provided in the embodiment of the present disclosure may include steps of:
S110, in the default page, whether detection the machine shakes.
It is shot specifically, existing in the process of running mainly for user terminal for a certain application program in the present embodiment
The problem of demand, existing scheme need user to click specified shooting entrance in current page, so that shooting interface is jumped to,
And corresponding shooting button is again tapped in the shooting interface, and then execute corresponding shooting operation, need user more at this time
It is secondary to click relevant shooting button, so that shooting operation is cumbersome, therefore presets unified dither operation in the present embodiment, come
Whole shooting operations is triggered, guarantees disposably to realize and opens all operationss such as shooting interface and execution shooting;While in order to drop
The false triggering of low shooting, selects that there are the pages of shooting demand in the implementation procedure of application program, as in the present embodiment
The default page;Meanwhile shake can refer to the present position of user terminal or angle occurs in preset duration indicate rotate or
Person overturns the physical vibration of variation, such as user rotates left and right and rocks user terminal.
Optionally, user terminal real-time detection the machine when application program currently jumps to the default page, where triggering
Whether shake, if user when this is preset the page and needs to shoot, user can shake where user terminal, the user at this time
Terminal can detect that the machine is shaken.Shaking detection only is triggered in the default page at this time, without the implementation procedure in application program
Whether middle real-time detection the machine shakes, and reduces the frequency that operation is all understood in detection.
S120 pops up shooting interface, and execute corresponding shooting operation if the machine is shaken.
Optionally, the present embodiment executes the trigger condition of shooting using shaking detection as the machine, in the default page, if
It detects that the machine is shaken, then directly pops up corresponding shooting interface, and execute corresponding shooting operation automatically, clicked without user
The shooting entrance on the page is preset to jump to the shooting page, the shooting button in the shooting page is again tapped on without user and comes
Shooting operation is executed, to simplify shooting operation, improves the automaticity of shooting.
The technical solution that the embodiment of the present disclosure provides, when the machine jumps to the default page, if detecting that the machine is shaken,
Then directly pop-up shoots interface, and executes corresponding shooting operation, directly passes through to detect in the default page in this programme and shake
It is shot to trigger, clicks corresponding shooting entrance in the default page to open shooting interface without user, while being not necessarily to user
Corresponding shooting button is again tapped in shooting interface, can directly execute corresponding shooting operation, to simplify shooting
Operation, improves the automaticity of shooting.
On the basis of technical solution provided by the above embodiment, the image pickup method provided for the embodiment of the present disclosure is deposited
Other situations be further described.Corresponding shooting operation is executed in above-mentioned image pickup method, can specifically include: being determined
Current dither grade;Matched shooting instruction is generated according to current dither grade;Execute matched shooting instruction.
Optionally, the present embodiment is using shaking detection as the trigger condition for executing shooting, at this time in order to realize the more of shooting
Sample can judge current degree of jitter, that is, determine current dither grade, this implementation when detecting the machine shake
Example matches different shooting operations in advance for different jitter levels, therefore after determining current dither grade, can be according to matching
Shooting grade automatically generate corresponding shooting instruction, and matched shooting instruction is executed, thereby executing corresponding shooting operation;
Shooting instruction in the present embodiment can be camera shooting or take pictures.Illustratively, first order shake matching camera shooting is preset to refer to
It enables, second level shake matching photographing instruction, at this time as shown in Fig. 2, can be held when determining that current dither grade is that the first order is shaken
The matched camera shooting instruction of row, thus the video under recording current scene;It, can be with when determining that current dither grade is second level shake
Matched photographing instruction is executed, to acquire current image.
In addition, can detect whether the machine shakes by obtaining corresponding jitter parameter in the present embodiment, and according to shake
Parameter and the matched grade threshold being set separately in advance for different jitter levels, determine the current dither grade of the machine.
On the other hand, it detects whether the machine shakes in above-mentioned image pickup method, can specifically include: according to self-adapted sensor
Output parameter determine whether the machine shakes.
Specifically, the self-adapted sensor whether shaken for detecting the machine can be installed on user terminal in advance, applying
Programming jump obtains parameter sensing of the machine in the default page to the self-adapted sensor when presetting the page, is controlled in real time,
It is exactly the output parameter of self-adapted sensor in the present embodiment, so that the machine indicated according to the output parameter is in preset duration
Position or angle variable condition, determine whether the machine shakes.
Optionally, the output parameter in the present embodiment according to self-adapted sensor determines whether the machine shakes, specifically can be with
It include: to determine whether the machine shakes according to the spatial position change amplitude of self-adapted sensor output.
In the present embodiment, the spatial position change amplitude of self-adapted sensor output can be indicated in the default page,
The change in location state of the machine in different directions obtains the sensing of the machine in different directions by self-adapted sensor and joins
Number, determines spatial position change amplitude of the machine in preset duration, to judge whether the machine shakes.
Optionally, the output parameter in the present embodiment according to self-adapted sensor determines whether the machine shakes, and specifically may be used also
To include: to determine whether the machine shakes according to the angular speed amplitude of variation of self-adapted sensor output.
In the present embodiment, the angular speed amplitude of variation of self-adapted sensor output can be indicated in the default page, this
The angle change state of machine in different directions obtains the angle correlation of the machine in different directions by self-adapted sensor and passes
Feel parameter, angular speed amplitude of variation of the machine in preset duration is determined, to judge whether the machine shakes.
Illustratively, the self-adapted sensor in the present embodiment is gravity accelerometer or gyro sensor, weight
Power acceleration transducer is for detecting the change in location state of the machine in different directions, and gyro sensor is for detecting the machine
Angular speed variable condition.Further, the present embodiment can be when the machine opens the application program where presetting the page, first
Installed sensor in the machine is judged, if being only equipped with gravity accelerometer, by gravity accelerometer
As the self-adapted sensor in the present embodiment;If being equipped with gravity accelerometer and gyro sensor simultaneously,
Preferentially using gyro sensor as the self-adapted sensor in the present embodiment.It is following for by gravity accelerometer or
Person's gyro sensor detects the process whether the machine shakes to describe in detail respectively.
Fig. 3 shows the flow chart of another image pickup method of embodiment of the present disclosure offer, and the present embodiment is in above-mentioned implementation
It is optimized on the basis of each optinal plan that example provides.Specifically, the self-adapted sensor in this implementation is gravity acceleration
Sensor is spent, carries out detailed Jie at this point for the detailed process whether the machine shakes is detected by gravity accelerometer
It continues.
Optionally, as shown in figure 3, the method in the present embodiment may include steps of:
S310 determines the acceleration on different spatial direction by gravity accelerometer in the default page
Spend component.
Specifically, using gravity accelerometer as when self-adapted sensor, if application program in user terminal
Currently in the default page, user shakes user terminal, as shown in figure 4, passing through preset sensor coordinates axis x-axis, y-axis
The spatial position direction of the machine is respectively indicated with z-axis, and the machine can be collected default by gravity accelerometer at this time
The component of acceleration being located in different spatial direction (x-axis, y-axis and z-axis) when the page, judges whether the machine trembles so as to subsequent
It is dynamic.
S320, if the component of acceleration on two spaces locality is greater than or equal to predetermined upper threshold value, and third
Component of acceleration on a spatial position direction is less than predetermined lower threshold value, it is determined that the machine shake.
Optionally, the machine is being determined after the component of acceleration on different spatial direction, if any two space
Component of acceleration on locality is greater than or equal to predetermined upper threshold value, illustrates that the machine is formed in two spaces locality
Graphic memory in larger vibration, while if component of acceleration on the direction of third spatial position is less than pre-determined lower limit threshold
Value, it is determined that the machine shake further avoids false triggering.In addition, according to different spatial direction (x-axis, y-axis and z is located at
Axis) on component of acceleration can also determine the current jitter direction of the machine, further reduced the false triggering of shooting.
S330 pops up shooting interface, and execute corresponding shooting operation if the machine is shaken.
The technical solution that the embodiment of the present disclosure provides is sensed when the machine jumps to the default page by acceleration of gravity
The component of acceleration being located on different spatial direction that device determines detects whether the machine shakes, and directly pops up if shake
Interface is shot, and executes corresponding shooting operation, is directly examined according to component of acceleration on different spatial direction in this programme
Shake is surveyed, clicks corresponding shooting entrance in the default page to jump to shooting interface, again without user without user
The shooting button on shooting interface is clicked, the false triggering of shooting is reduced, simplifies shooting operation, while according to different spatial side
Upward component of acceleration may further determine that jitter direction, guarantees the accuracy of shake triggering, improves the automaticity of shooting.
Fig. 5 shows the flow chart of another image pickup method of embodiment of the present disclosure offer, and the present embodiment is in above-mentioned implementation
It is optimized on the basis of each optinal plan that example provides.Specifically, the self-adapted sensor in this implementation is gyroscope biography
Sensor is described in detail at this point for the detailed process whether the machine shakes is detected by gyro sensor.
Optionally, as shown in figure 5, the method in the present embodiment may include steps of:
S510 determines that the angular speed on different spatial direction becomes by gyro sensor in the default page
Change amplitude.
Specifically, using gyro sensor as when self-adapted sensor, if application program is current in user terminal
In the default page, user shakes user terminal, as shown in fig. 6, passing through preset sensor coordinates axis x-axis, y-axis and z
Axis respectively indicates the spatial position direction of the machine, can collect the machine in real time in the default page by gyro sensor at this time
When be located at different spatial direction (x-axis, y-axis and z-axis) on angular velocity component, so that it is determined that the machine in preset duration
Angular speed amplitude of variation on different spatial direction (x-axis, y-axis and z-axis), so as to subsequent according to different spatial direction
On angular speed amplitude of variation judge whether the machine shakes.
S520, if the angular speed amplitude of variation on any spatial position direction is greater than or equal to predetermined amplitude threshold value,
Determine that the machine is shaken.
Optionally, the machine is being determined after the angular speed amplitude of variation on different spatial direction, if any space
Angular speed amplitude of variation on locality is more than or equal to predetermined amplitude threshold value, illustrates the machine on the spatial position direction
There are larger whirling vibrations, it is determined that the machine shake further avoids false triggering.In addition, according to different spatial side is located at
Angular speed amplitude of variation in (x-axis, y-axis and z-axis) can also determine the current jitter direction of the machine, further reduced
The false triggering of shooting.
S530 pops up shooting interface, and execute corresponding shooting operation if the machine is shaken.
The technical solution that the embodiment of the present disclosure provides, it is true by gyro sensor when the machine jumps to the default page
Determine angular speed amplitude of variation of the machine on different spatial direction, thus detect whether the machine shakes, it is straight if shake
Pop-up shooting interface is connect, and executes corresponding shooting operation, directly according to angular speed on different spatial direction in this programme
Amplitude of variation detection shake, clicks corresponding shooting entrance in the default page without user to jump to and shoot interface, also without
It needs user to again tap on the shooting button on shooting interface, reduces the false triggering of shooting, simplify shooting operation, while according to difference
Angular speed amplitude of variation on the direction of spatial position may further determine that jitter direction, guarantees the accuracy of shake triggering, mentions
The automaticity of height shooting.
Fig. 7 shows a kind of structural schematic diagram of filming apparatus of embodiment of the present disclosure offer, and the embodiment of the present disclosure can fit
In the case where for executing shooting operation in a certain application program, which can be realized by software and/or hardware, and
It is integrated in the equipment for executing this method.As shown in fig. 7, the filming apparatus in the embodiment of the present disclosure, may include:
Shaking detection module 710, in the default page, whether detection the machine to shake;
Shooting module 720 pops up shooting interface, and execute corresponding shooting operation if shaken for the machine.
The technical solution that the embodiment of the present disclosure provides, when the machine jumps to the default page, if detecting that the machine is shaken,
Then directly pop-up shoots interface, and executes corresponding shooting operation, directly passes through to detect in the default page in this programme and shake
It is shot to trigger, clicks corresponding shooting entrance in the default page to open shooting interface without user, while being not necessarily to user
Corresponding shooting button is again tapped in shooting interface, can directly execute corresponding shooting operation, to simplify shooting
Operation, improves the automaticity of shooting.
Further, above-mentioned shooting module 720, can be specifically used for:
Determine current dither grade;
Matched shooting instruction is generated according to current dither grade;
Execute matched shooting instruction.
Further, above-mentioned shooting instruction can be camera shooting or take pictures.
Further, above-mentioned shaking detection module 710, can be specifically used for:
Determine whether the machine shakes according to the output parameter of self-adapted sensor.
Further, above-mentioned shaking detection module 710 may include:
First shaking detection unit, the spatial position change amplitude for being exported according to self-adapted sensor determine that the machine is
No shake.
Further, above-mentioned self-adapted sensor is gravity accelerometer, and above-mentioned first shaking detection unit can be with
It is specifically used for:
If the component of acceleration on two spaces locality is greater than or equal to predetermined upper threshold value, and third space
Component of acceleration on locality is less than predetermined lower threshold value, it is determined that the machine shake.
Further, above-mentioned shaking detection module may include:
Whether second shaking detection unit, the angular speed amplitude of variation for being exported according to self-adapted sensor determine the machine
Shake.
Further, above-mentioned self-adapted sensor is gyro sensor, and above-mentioned second shaking detection unit can be specific
For:
If the angular speed amplitude of variation on any spatial position direction is greater than or equal to predetermined amplitude threshold value, it is determined that this
Machine shake.
The filming apparatus that the embodiment of the present disclosure provides, belongs to same invention structure with image pickup method provided by the above embodiment
Think, the technical detail of detailed description not can be found in above-described embodiment in the embodiments of the present disclosure, and the embodiment of the present disclosure with it is upper
State embodiment beneficial effect having the same.
Below with reference to Fig. 8, it illustrates the structural schematic diagrams for the equipment 800 for being suitable for being used to realize the embodiment of the present disclosure.This
Equipment in open embodiment can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA
(such as vehicle mounted guidance is whole for (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal
End) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Equipment shown in Fig. 8 is only
One example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 8, equipment 800 may include processing unit (such as central processing unit, graphics processor etc.) 801,
Random access storage device can be loaded into according to the program being stored in read-only memory (ROM) 802 or from storage device 808
(RAM) program in 803 and execute various movements appropriate and processing.In RAM 803, also it is stored with equipment 800 and operates institute
The various programs and data needed.Processing unit 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/defeated
(I/O) interface 805 is also connected to bus 804 out.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device
809, which can permit equipment 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 8, which is shown, to be had respectively
The equipment 800 of kind device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively real
Apply or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808
It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above equipment;It is also possible to individualism, and it is unassembled
Enter in the equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are set by this
When standby execution, so that the equipment: in the default page, whether detection the machine shakes;If the machine is shaken, shooting circle is popped up
Face, and execute corresponding shooting operation.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of image pickup method characterized by comprising
In the default page, whether detection the machine shakes;
If the machine is shaken, shooting interface is popped up, and execute corresponding shooting operation.
2. the method according to claim 1, wherein described execute corresponding shooting operation, comprising:
Determine current dither grade;
Matched shooting instruction is generated according to the current dither grade;
Execute the matched shooting instruction.
3. according to the method described in claim 2, it is characterized in that, the shooting instruction is camera shooting or takes pictures.
4. the method according to claim 1, wherein whether described detection the machine shakes, comprising:
Determine whether the machine shakes according to the output parameter of self-adapted sensor.
5. according to the method described in claim 4, it is characterized in that, described determine this according to the output parameter of self-adapted sensor
Whether machine is shaken, comprising:
Determine whether the machine shakes according to the spatial position change amplitude that the self-adapted sensor exports.
6. according to the method described in claim 5, it is characterized in that, the self-adapted sensor be gravity accelerometer,
Determine whether the machine shakes according to the spatial position change amplitude that the self-adapted sensor exports, comprising:
If the component of acceleration on two spaces locality is greater than or equal to predetermined upper threshold value, and third spatial position
Component of acceleration on direction is less than predetermined lower threshold value, it is determined that the machine shake.
7. according to the method described in claim 4, it is characterized in that, described determine this according to the output parameter of self-adapted sensor
Whether machine is shaken, comprising:
Determine whether the machine shakes according to the angular speed amplitude of variation that the self-adapted sensor exports.
8. the method according to the description of claim 7 is characterized in that the self-adapted sensor be gyro sensor, according to
The angular speed amplitude of variation of the self-adapted sensor output determines whether the machine shakes, comprising:
If the angular speed amplitude of variation on any spatial position direction is greater than or equal to predetermined amplitude threshold value, it is determined that the machine is trembled
It is dynamic.
9. a kind of filming apparatus characterized by comprising
Shaking detection module, in the default page, whether detection the machine to shake;
Shooting module pops up shooting interface, and execute corresponding shooting operation if shaken for the machine.
10. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as image pickup method described in any one of claims 1-8.
11. equipment according to claim 10, which is characterized in that further include:
Self-adapted sensor is connected with the processor, for exporting parameter sensing to the processor;
Camera is connected with the processor, executes shooting operation for processor control.
12. a kind of readable medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor
Such as image pickup method described in any one of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910425935.7A CN110035231B (en) | 2019-05-21 | 2019-05-21 | Shooting method, device, equipment and medium |
PCT/CN2020/073744 WO2020233167A1 (en) | 2019-05-21 | 2020-01-22 | Method, apparatus and device for image capture, and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910425935.7A CN110035231B (en) | 2019-05-21 | 2019-05-21 | Shooting method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110035231A true CN110035231A (en) | 2019-07-19 |
CN110035231B CN110035231B (en) | 2021-01-05 |
Family
ID=67242888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910425935.7A Active CN110035231B (en) | 2019-05-21 | 2019-05-21 | Shooting method, device, equipment and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110035231B (en) |
WO (1) | WO2020233167A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020233167A1 (en) * | 2019-05-21 | 2020-11-26 | 北京字节跳动网络技术有限公司 | Method, apparatus and device for image capture, and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140232633A1 (en) * | 2013-02-15 | 2014-08-21 | Apple Inc. | Apparatus and method for automatically activating a camera application based on detecting an intent to capture a photograph or a video |
CN105227844A (en) * | 2015-10-22 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | image acquiring method and device, mobile terminal |
CN106534658A (en) * | 2015-09-10 | 2017-03-22 | 小米科技有限责任公司 | Method and apparatus for controlling shooting of camera and mobile terminal |
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN107391246A (en) * | 2017-07-19 | 2017-11-24 | 维沃移动通信有限公司 | One kind applies startup method, mobile terminal and computer-readable recording medium |
CN107506109A (en) * | 2017-08-16 | 2017-12-22 | 维沃移动通信有限公司 | A kind of method and mobile terminal for starting application program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800968B (en) * | 2017-11-06 | 2019-10-15 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN108076294B (en) * | 2018-01-26 | 2019-11-19 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN110035231B (en) * | 2019-05-21 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Shooting method, device, equipment and medium |
-
2019
- 2019-05-21 CN CN201910425935.7A patent/CN110035231B/en active Active
-
2020
- 2020-01-22 WO PCT/CN2020/073744 patent/WO2020233167A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140232633A1 (en) * | 2013-02-15 | 2014-08-21 | Apple Inc. | Apparatus and method for automatically activating a camera application based on detecting an intent to capture a photograph or a video |
CN106534658A (en) * | 2015-09-10 | 2017-03-22 | 小米科技有限责任公司 | Method and apparatus for controlling shooting of camera and mobile terminal |
CN105227844A (en) * | 2015-10-22 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | image acquiring method and device, mobile terminal |
CN107391246A (en) * | 2017-07-19 | 2017-11-24 | 维沃移动通信有限公司 | One kind applies startup method, mobile terminal and computer-readable recording medium |
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN107506109A (en) * | 2017-08-16 | 2017-12-22 | 维沃移动通信有限公司 | A kind of method and mobile terminal for starting application program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020233167A1 (en) * | 2019-05-21 | 2020-11-26 | 北京字节跳动网络技术有限公司 | Method, apparatus and device for image capture, and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020233167A1 (en) | 2020-11-26 |
CN110035231B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110674022B (en) | Behavior data acquisition method and device and storage medium | |
CN111552470B (en) | Data analysis task creation method, device and storage medium in Internet of Things | |
CN109327608B (en) | Song sharing method, terminal, server and system | |
CN110225048B (en) | Data transmission method and device, first terminal and storage medium | |
CN110933468A (en) | Playing method, playing device, electronic equipment and medium | |
CN111836069A (en) | Virtual gift presenting method, device, terminal, server and storage medium | |
CN110851510A (en) | Data processing method and device of transaction system based on block chain | |
CN111818050A (en) | Target access behavior detection method, system, device, equipment and storage medium | |
CN112230914A (en) | Method and device for producing small program, terminal and storage medium | |
CN110839128A (en) | Photographing behavior detection method and device and storage medium | |
CN111416996B (en) | Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium | |
CN112749590B (en) | Object detection method, device, computer equipment and computer readable storage medium | |
CN109302563B (en) | Anti-shake processing method and device, storage medium and mobile terminal | |
CN110673944A (en) | Method and device for executing task | |
CN111796990A (en) | Resource display method, device, terminal and storage medium | |
CN110147193A (en) | A kind of information displaying method, device, equipment and medium | |
CN113886611A (en) | Resource display method and device, computer equipment and medium | |
CN110035231A (en) | A kind of image pickup method, device, equipment and medium | |
CN113518261A (en) | Method and device for guiding video playing, computer equipment and storage medium | |
CN111782950A (en) | Sample data set acquisition method, device, equipment and storage medium | |
CN110990728A (en) | Method, device and equipment for managing point of interest information and storage medium | |
CN111949341A (en) | Method, device and equipment for displaying information and storage medium | |
CN110519319B (en) | Method and device for splitting partitions | |
CN114816600A (en) | Session message display method, device, terminal and storage medium | |
CN111752831A (en) | Robustness detection method and device, computer equipment and storage medium |
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 |