CN110035231B - Shooting method, device, equipment and medium - Google Patents

Shooting method, device, equipment and medium Download PDF

Info

Publication number
CN110035231B
CN110035231B CN201910425935.7A CN201910425935A CN110035231B CN 110035231 B CN110035231 B CN 110035231B CN 201910425935 A CN201910425935 A CN 201910425935A CN 110035231 B CN110035231 B CN 110035231B
Authority
CN
China
Prior art keywords
shooting
machine
preset
adaptive sensor
spatial position
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.)
Active
Application number
CN201910425935.7A
Other languages
Chinese (zh)
Other versions
CN110035231A (en
Inventor
王坤
禹慧军
乔海柱
张勃
侯潇沐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910425935.7A priority Critical patent/CN110035231B/en
Publication of CN110035231A publication Critical patent/CN110035231A/en
Priority to PCT/CN2020/073744 priority patent/WO2020233167A1/en
Application granted granted Critical
Publication of CN110035231B publication Critical patent/CN110035231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion 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 disclosure discloses a shooting method, a shooting device, shooting equipment and shooting media. Wherein, the method comprises the following steps: when a page is preset, detecting whether the machine shakes; and if the machine shakes, popping up a shooting interface, and executing corresponding shooting operation. According to the technical scheme, when the local machine jumps to the preset page, if the local machine shake is detected, the shooting interface is directly popped up, and corresponding shooting operation is executed, shooting is directly triggered by detecting the shake in the preset page in the scheme, a user does not need to click the corresponding shooting inlet in the preset page to open the shooting interface, meanwhile, the user does not need to click the corresponding shooting button again in the shooting interface, and the corresponding shooting operation can be directly executed, so that the shooting operation is simplified, and the shooting automation is improved.

Description

Shooting method, device, equipment and medium
Technical Field
The present disclosure relates to imaging technologies, and in particular, to a shooting method, an apparatus, a device, and a medium.
Background
With the rapid development of internet technology, application programs with various functions are widely applied to daily life of people; at this time, if a camera needs to be started in a certain application program for shooting, a user is generally required to click a corresponding shooting inlet in a current page of the application program, at this time, the click operation only correspondingly triggers the start of the camera, and the user is also required to click a shooting button in a shooting page during specific shooting, so that the operation is complicated, and the shooting automation degree is low.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a shooting method, apparatus, device, and medium, which simplify shooting operations and improve shooting automation.
In a first aspect, an embodiment of the present disclosure provides a shooting method, including:
when a page is preset, detecting whether the machine shakes;
and if the machine shakes, popping up a shooting interface, and executing corresponding shooting operation.
Further, the executing the corresponding shooting operation includes:
determining a current jitter level;
generating a matched shooting instruction according to the current jitter level;
and executing the matched shooting instruction.
Further, the shooting instruction is shooting or photographing.
Further, the detecting whether the local computer is jittered includes:
and determining whether the machine shakes according to the output parameters of the adaptive sensor.
Further, the determining whether the local computer is jittered according to the output parameter of the adaptive sensor includes:
and determining whether the self-machine shakes according to the change amplitude of the spatial position output by the self-adaptive sensor.
Further, the adaptive sensor is a gravitational acceleration sensor, and determining whether the self-machine shakes according to the spatial position variation amplitude output by the adaptive sensor includes:
and if the acceleration components in the two spatial position directions are greater than or equal to a preset upper limit threshold value, and the acceleration component in the third spatial position direction is less than a preset lower limit threshold value, determining the local shaking.
Further, the determining whether the local computer is jittered according to the output parameter of the adaptive sensor includes:
and determining whether the machine shakes according to the change amplitude of the angular speed output by the self-adaptive sensor.
Further, the adaptive sensor is a gyroscope sensor, and determining whether the self-machine shakes according to the change amplitude of the angular velocity output by the adaptive sensor includes:
and if the change amplitude of the angular speed in any spatial position direction is larger than or equal to a preset amplitude threshold value, determining the local shake.
In a second aspect, an embodiment of the present disclosure provides a shooting apparatus, including:
the jitter detection module is used for detecting whether the local computer jitters when a page is preset;
and the shooting module is used for popping up a shooting interface and executing corresponding shooting operation if the local camera shakes.
Further, the shooting module is specifically configured to:
determining a current jitter level;
generating a matched shooting instruction according to the current jitter level;
and executing the matched shooting instruction.
Further, the shooting instruction is shooting or photographing.
Further, the jitter detection module is specifically configured to:
and determining whether the machine shakes according to the output parameters of the adaptive sensor.
Further, the jitter detection module includes:
and the first shake detection unit is used for determining whether the self-machine shakes according to the change amplitude of the spatial position output by the self-adaptive sensor.
Further, the adaptive sensor is a gravitational acceleration sensor, and the first shake detection unit is specifically configured to:
and if the acceleration components in the two spatial position directions are greater than or equal to a preset upper limit threshold value, and the acceleration component in the third spatial position direction is less than a preset lower limit threshold value, determining the local shaking.
Further, the jitter detection module includes:
and the second shake detection unit is used for determining whether the self-adaptive sensor shakes or not according to the change amplitude of the angular speed output by the self-adaptive sensor.
Further, the adaptive sensor is a gyroscope sensor, and the second shake detection unit is specifically configured to:
and if the change amplitude of the angular speed in any spatial position direction is larger than or equal to a preset amplitude threshold value, determining the local shake.
In a third aspect, an embodiment of the present disclosure further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a photographing method as described in any embodiment of the present disclosure.
Further, the device further comprises:
the adaptive sensor is connected with the processor and used for outputting sensing parameters to the processor;
and the camera is connected with the processor and used for controlling the processor to execute shooting operation.
In a fourth aspect, embodiments of the present disclosure provide a readable medium, on which a computer program is stored, which when executed by a processor, implements a shooting method as described in any of the embodiments of the present disclosure.
According to the shooting method, the shooting device, the shooting equipment and the shooting medium, when the local machine jumps to the preset page, if the local machine shakes, the shooting interface is directly popped up, and corresponding shooting operation is executed.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief description will be given below to the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 shows a flowchart of a shooting method provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a shooting process provided by the embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another shooting method provided by the embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a principle of detecting whether the local machine shakes by a gravitational acceleration sensor in the method provided by the embodiment of the disclosure;
fig. 5 is a flowchart illustrating another photographing method provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a method for detecting whether the local machine shakes through a gyro sensor according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a shooting device provided by an embodiment of the present disclosure;
fig. 8 shows a schematic structural diagram of an apparatus provided by an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 1 is a flowchart illustrating a shooting method provided by an embodiment of the present disclosure, which is applicable to a case where a shooting operation is performed in a certain application. The shooting method provided in this embodiment may be executed by the shooting apparatus provided in this embodiment of the present disclosure, and the shooting apparatus may be implemented in a software and/or hardware manner, and is integrated in a device for executing the method, where the device for executing the method in this embodiment may be an intelligent terminal such as a mobile phone, a tablet, or a Personal Digital Assistant (PDA).
Specifically, as shown in fig. 1, the shooting method provided in the embodiment of the present disclosure may include the following steps:
s110, when a page is preset, whether the machine shakes is detected.
Specifically, in this embodiment, mainly for the problem that a user terminal has a shooting requirement in the running process of an application program, in the existing scheme, a user needs to click an appointed shooting entry in a current page, so as to jump to a shooting interface, and click a corresponding shooting button again in the shooting interface, so as to execute a corresponding shooting operation, and at this time, the user needs to click a relevant shooting button multiple times, so that the shooting operation is complicated, so that a uniform shaking operation is preset in this embodiment to trigger all shooting operations, and it is ensured that all operations such as starting the shooting interface and executing shooting are realized at one time; meanwhile, in order to reduce false triggering of shooting, a page with shooting requirements is selected in the execution process of the application program and is used as a preset page in the embodiment; meanwhile, the shaking may refer to a physical vibration indicating a change in rotation or turning of the user terminal occurring at a position or an angle of the user terminal within a preset time period, for example, a user shakes the user terminal by rotating left and right.
Optionally, when the application program jumps to a preset page, the user terminal where the application program is located may be triggered to detect whether the local machine shakes in real time, and if the user needs to shoot on the preset page, the user terminal where the application program is located may shake, and at this time, the user terminal may detect that the local machine shakes. At the moment, the jitter detection is triggered only when the page is preset, whether the machine jitters or not does not need to be detected in real time in the execution process of the application program, and the frequency of operations understood by detection is reduced.
And S120, if the camera shakes, popping up a shooting interface, and executing corresponding shooting operation.
Optionally, in this embodiment, shake detection is used as a trigger condition for the local camera to perform shooting, and when a page is preset, if shake of the local camera is detected, the corresponding shooting interface is directly popped up, and corresponding shooting operation is automatically performed, and it is not necessary for a user to click a shooting entry on the preset page to jump to the shooting page, and it is also not necessary for the user to click a shooting button in the shooting page again to perform shooting operation, so that shooting operation is simplified, and shooting automation is improved.
According to the technical scheme, when the local machine jumps to the preset page, if the local machine shake is detected, the shooting interface is directly popped up, and corresponding shooting operation is executed, shooting is directly triggered by detecting the shake in the preset page in the scheme, a user does not need to click the corresponding shooting inlet in the preset page to open the shooting interface, meanwhile, the user does not need to click the corresponding shooting button again in the shooting interface, and the corresponding shooting operation can be directly executed, so that the shooting operation is simplified, and the shooting automation is improved.
On the basis of the technical solutions provided by the above embodiments, other situations existing in the shooting method provided by the embodiments of the present disclosure are further described. The shooting method for executing the corresponding shooting operation may specifically include: determining a current jitter level; generating a matched shooting instruction according to the current jitter level; and executing the matched shooting instruction.
Optionally, in this embodiment, shake detection is used as a trigger condition for executing shooting, and at this time, in order to implement shooting diversity, when a shake of the local camera is detected, a current shake degree may be determined, that is, a current shake level is determined, and different shooting operations are matched for different shake levels in advance in this embodiment, so after the current shake level is determined, a corresponding shooting instruction may be automatically generated according to the matched shooting level, and the matched shooting instruction is executed, so that the corresponding shooting operation is executed; the shooting instruction in this embodiment may be shooting or photographing. For example, a first-stage shake matching camera instruction and a second-stage shake matching camera instruction are preset, and at this time, as shown in fig. 2, when the current shake level is determined to be the first-stage shake, the matched camera instruction can be executed, so that a video in the current scene is recorded; when the current shaking level is determined to be the second-level shaking, the matched photographing instruction can be executed, so that the current image is acquired.
In addition, in this embodiment, whether the local computer shakes may be detected by obtaining the corresponding shaking parameter, and the current shaking level of the local computer is determined according to the shaking parameter and the matching level threshold values respectively set in advance for different shaking levels.
On the other hand, the detecting whether the camera is shaken or not in the shooting method may specifically include: and determining whether the machine shakes according to the output parameters of the adaptive sensor.
Specifically, the user terminal is pre-installed with an adaptive sensor for detecting whether the local machine shakes, and when the application program jumps to a preset page, the adaptive sensor is controlled to acquire sensing parameters of the local machine in the preset page in real time, that is, output parameters of the adaptive sensor in the embodiment, so that whether the local machine shakes is determined according to a change state of a position or an angle of the local machine within a preset time length, which is represented by the output parameters.
Optionally, in this embodiment, determining whether the self-adaptive sensor is jittered according to the output parameter of the self-adaptive sensor may specifically include: and determining whether the machine shakes according to the change amplitude of the spatial position output by the self-adaptive sensor.
In this embodiment, the spatial position variation amplitude output by the adaptive sensor can indicate the position variation state of the local machine in different directions when a page is preset, and the adaptive sensor acquires the sensing parameters of the local machine in different directions to determine the spatial position variation amplitude of the local machine in a preset time length, so as to determine whether the local machine shakes.
Optionally, in this embodiment, determining whether the local computer is jittered according to the output parameter of the adaptive sensor may specifically include: and determining whether the machine shakes according to the change amplitude of the angular speed output by the self-adaptive sensor.
In this embodiment, the angular velocity variation amplitude output by the adaptive sensor can indicate the angular variation state of the local machine in different directions when a page is preset, the adaptive sensor obtains the angle-related sensing parameters of the local machine in different directions, and the angular velocity variation amplitude of the local machine in a preset time duration is determined, so as to determine whether the local machine shakes.
Illustratively, the adaptive sensor in this embodiment is a gravitational acceleration sensor or a gyroscope sensor, the gravitational acceleration sensor is used for detecting the position change state of the local machine in different directions, and the gyroscope sensor is used for detecting the angular velocity change state of the local machine. Further, in this embodiment, when the application program where the preset page is located is started, it may be determined that the sensor is already installed on the local computer, and if only the gravitational acceleration sensor is installed, the gravitational acceleration sensor is used as the adaptive sensor in this embodiment; if the gravity acceleration sensor and the gyro sensor are installed at the same time, the gyro sensor is preferentially used as the adaptive sensor in the present embodiment. The following describes in detail the process of detecting whether the machine is shaken or not by the gravitational acceleration sensor or the gyro sensor, respectively.
Fig. 3 shows a flowchart of another shooting method provided in the embodiment of the present disclosure, and the embodiment performs optimization based on various alternatives provided in the above embodiments. Specifically, the adaptive sensor in this embodiment is a gravity acceleration sensor, and a specific process of detecting whether the self-machine shakes by the gravity acceleration sensor will be described in detail.
Optionally, as shown in fig. 3, the method in this embodiment may include the following steps:
and S310, when the page is preset, determining acceleration components in different spatial position directions through a gravity acceleration sensor.
Specifically, when the gravity acceleration sensor is used as the adaptive sensor, if an application program in the user terminal is currently on a preset page, the user shakes the user terminal, as shown in fig. 4, the x axis, the y axis and the z axis of the preset sensor coordinate axis respectively represent the spatial position direction of the local machine, and at this time, acceleration components of the local machine located in different spatial position directions (the x axis, the y axis and the z axis) when the local machine is on the preset page can be collected by the gravity acceleration sensor, so that whether the local machine shakes or not can be judged in the following process.
And S320, if the acceleration components in the two spatial position directions are greater than or equal to a preset upper limit threshold value, and the acceleration component in the third spatial position direction is less than a preset lower limit threshold value, determining the local shaking.
Optionally, after determining the acceleration components of the local machine in different spatial position directions, if the acceleration components in any two spatial position directions are greater than or equal to a preset upper threshold, it is indicated that there is a large vibration in a plane formed by the local machine in the two spatial position directions, and meanwhile, if the acceleration component in a third spatial position direction is less than a preset lower threshold, the local machine is determined to shake, so as to further avoid false triggering. In addition, the current shake direction of the camera can be determined according to the acceleration components in different spatial position directions (x axis, y axis and z axis), and the false triggering of shooting is further reduced.
And S330, if the camera shakes, popping up a shooting interface, and executing corresponding shooting operation.
According to the technical scheme, when the local machine jumps to the preset page, whether the local machine shakes is detected through the acceleration components which are determined by the gravity acceleration sensor and located in different spatial position directions, if the local machine shakes, the shooting interface is directly popped up, and corresponding shooting operation is executed.
Fig. 5 shows a flowchart of another shooting method provided in the embodiment of the present disclosure, and the embodiment performs optimization based on various alternatives provided in the above embodiments. Specifically, the adaptive sensor in this embodiment is a gyro sensor, and a specific process of detecting whether the self-machine shakes by the gyro sensor will be described in detail.
Optionally, as shown in fig. 5, the method in this embodiment may include the following steps:
and S510, when a page is preset, determining the change range of the angular speed in different spatial position directions through a gyroscope sensor.
Specifically, when the gyro sensor is used as the adaptive sensor, if an application program in the user terminal is currently on a preset page, the user shakes the user terminal, as shown in fig. 6, the x axis, the y axis and the z axis of the preset sensor coordinate axis respectively represent the spatial position direction of the local machine, and at this time, the gyro sensor can acquire the angular velocity components of the local machine in different spatial position directions (x axis, y axis and z axis) in the preset page in real time, so as to determine the angular velocity variation range of the local machine in different spatial position directions (x axis, y axis and z axis) within a preset time period, and subsequently judge whether the local machine shakes according to the angular velocity variation range in different spatial position directions.
S520, if the change amplitude of the angular speed in any spatial position direction is larger than or equal to a preset amplitude threshold value, determining the local shaking.
Optionally, after determining the angular velocity variation amplitude of the local machine in different spatial position directions, if the angular velocity variation amplitude in any spatial position direction is greater than or equal to a preset amplitude threshold, which indicates that the local machine has large rotational vibration in the spatial position direction, determining the local machine shaking, and further avoiding false triggering. In addition, the current shake direction of the camera can be determined according to the change range of the angular velocity in different spatial position directions (x axis, y axis and z axis), and the false triggering of shooting is further reduced.
S530, if the local camera shakes, a shooting interface pops up, and corresponding shooting operation is executed.
According to the technical scheme, when the local machine jumps to the preset page, the angular speed change amplitude of the local machine in different spatial position directions is determined through the gyroscope sensor, whether the local machine shakes is detected, if the local machine shakes, the shooting interface is directly popped up, and corresponding shooting operation is executed.
Fig. 7 is a schematic structural diagram of a shooting apparatus provided by an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case where a shooting operation is performed in a certain application, and the apparatus may be implemented by software and/or hardware and integrated in a device for performing the method. As shown in fig. 7, the photographing apparatus in the embodiment of the present disclosure may include:
a jitter detection module 710, configured to detect whether the local computer is jittered when a page is preset;
and the shooting module 720 is used for popping up a shooting interface if the local camera shakes, and executing corresponding shooting operation.
According to the technical scheme, when the local machine jumps to the preset page, if the local machine shake is detected, the shooting interface is directly popped up, and corresponding shooting operation is executed, shooting is directly triggered by detecting the shake in the preset page in the scheme, a user does not need to click the corresponding shooting inlet in the preset page to open the shooting interface, meanwhile, the user does not need to click the corresponding shooting button again in the shooting interface, and the corresponding shooting operation can be directly executed, so that the shooting operation is simplified, and the shooting automation is improved.
Further, the shooting module 720 may be specifically configured to:
determining a current jitter level;
generating a matched shooting instruction according to the current jitter level;
and executing the matched shooting instruction.
Further, the shooting instruction may be shooting or photographing.
Further, the jitter detecting module 710 may be specifically configured to:
and determining whether the machine shakes according to the output parameters of the adaptive sensor.
Further, the jitter detecting module 710 may include:
and the first shake detection unit is used for determining whether the self-machine shakes according to the change amplitude of the spatial position output by the self-adaptive sensor.
Further, the adaptive sensor is a gravitational acceleration sensor, and the first shake detection unit may be specifically configured to:
and if the acceleration components in the two spatial position directions are greater than or equal to a preset upper limit threshold value, and the acceleration component in the third spatial position direction is less than a preset lower limit threshold value, determining the local shaking.
Further, the jitter detection module may include:
and the second shake detection unit is used for determining whether the self-machine shakes according to the change amplitude of the angular velocity output by the self-adaptive sensor.
Further, the adaptive sensor is a gyroscope sensor, and the second shake detection unit may be specifically configured to:
and if the change amplitude of the angular speed in any spatial position direction is larger than or equal to a preset amplitude threshold value, determining the local shake.
The shooting device provided by the embodiment of the disclosure belongs to the same inventive concept as the shooting method provided by the embodiment, and technical details which are not described in detail in the embodiment of the disclosure can be referred to the embodiment, and the embodiment of the disclosure has the same beneficial effects as the embodiment.
Referring now to FIG. 8, a block diagram of an apparatus 800 suitable for use in implementing embodiments of the present disclosure is shown. The devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The device shown in fig. 8 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, device 800 may include a processing device (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage device 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. Communications means 809 can allow device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates an apparatus 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the apparatus; or may be separate and not incorporated into the device.
The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: when a page is preset, detecting whether the machine shakes; and if the machine shakes, popping up a shooting interface, and executing corresponding shooting operation.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (11)

1. A photographing method, characterized by comprising:
when the application program skips to a preset page in the running process, triggering and detecting whether the local computer shakes;
if the machine shakes, popping up a shooting interface, and executing corresponding shooting operation;
wherein the executing the corresponding shooting operation includes:
determining a current jitter level;
generating a matched shooting instruction according to the current jitter level;
and executing the matched shooting instruction.
2. The method of claim 1, wherein the photographing instruction is to take a picture or take a picture.
3. The method of claim 1, wherein detecting whether a native machine is jittered comprises:
and determining whether the machine shakes according to the output parameters of the adaptive sensor.
4. The method of claim 3, wherein determining whether the machine is jittered based on output parameters of an adaptive sensor comprises:
and determining whether the self-machine shakes according to the change amplitude of the spatial position output by the self-adaptive sensor.
5. The method of claim 4, wherein the adaptive sensor is a gravitational acceleration sensor, and determining whether the machine is jittered according to the variation amplitude of the spatial position of the output of the adaptive sensor comprises:
and if the acceleration components in the two spatial position directions are greater than or equal to a preset upper limit threshold value, and the acceleration component in the third spatial position direction is less than a preset lower limit threshold value, determining the local shaking.
6. The method of claim 3, wherein determining whether the machine is jittered based on output parameters of an adaptive sensor comprises:
and determining whether the machine shakes according to the change amplitude of the angular speed output by the self-adaptive sensor.
7. The method of claim 6, wherein the adaptive sensor is a gyroscope sensor, and determining whether the machine is jittered according to the variation amplitude of the angular velocity output by the adaptive sensor comprises:
and if the change amplitude of the angular speed in any spatial position direction is larger than or equal to a preset amplitude threshold value, determining the local shake.
8. A camera, comprising:
the jitter detection module is used for triggering and detecting whether the local computer jitters or not when the application program skips to a preset page in the running process;
the shooting module is used for popping up a shooting interface and executing corresponding shooting operation if the local machine shakes;
the shooting module is specifically used for:
determining a current jitter level;
generating a matched shooting instruction according to the current jitter level;
and executing the matched shooting instruction.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the photographing method of any of claims 1-7.
10. The apparatus of claim 9, further comprising:
the adaptive sensor is connected with the processor and used for outputting sensing parameters to the processor;
and the camera is connected with the processor and used for controlling the processor to execute shooting operation.
11. A readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, carries out the photographing method according to any one of claims 1-7.
CN201910425935.7A 2019-05-21 2019-05-21 Shooting method, device, equipment and medium Active CN110035231B (en)

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 CN110035231A (en) 2019-07-19
CN110035231B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035231B (en) * 2019-05-21 2021-01-05 北京字节跳动网络技术有限公司 Shooting method, device, equipment and medium
CN114090867B (en) * 2021-08-02 2024-08-23 浙江绍兴苏泊尔生活电器有限公司 Menu pushing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9292045B2 (en) * 2013-02-15 2016-03-22 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
CN105227844B (en) * 2015-10-22 2018-10-12 上海斐讯数据通信技术有限公司 Image acquiring method and device, mobile terminal
CN107395926A (en) * 2017-07-25 2017-11-24 维沃移动通信有限公司 A kind of photographic method, mobile terminal and computer-readable recording medium
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110035231A (en) 2019-07-19
WO2020233167A1 (en) 2020-11-26

Similar Documents

Publication Publication Date Title
US8918543B2 (en) Changing device functionality using environment conditions
CN110287810B (en) Vehicle door motion detection method, device and computer readable storage medium
CN110839128B (en) Photographing behavior detection method and device and storage medium
CN112396676B (en) Image processing method, apparatus, electronic device, and computer-readable storage medium
US20240137581A1 (en) Methods, apparatuses, readable media and electronic devices for live stream interaction
CN105549878A (en) Electronic book page turning control method and device
CN109618216B (en) Method, device and equipment for displaying video loading state identification and storage medium
KR102176662B1 (en) An electronic device and operating metod thereof
CN114489336B (en) Multimedia display method and device, readable medium and electronic equipment
CN113253885B (en) Method, device, equipment, readable storage medium and product for displaying target content
CN110035231B (en) Shooting method, device, equipment and medium
CN111818050A (en) Target access behavior detection method, system, device, equipment and storage medium
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN111416996B (en) Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
WO2020233170A1 (en) Information display method, apparatus and device, and medium
CN112843677B (en) System delay determining method, device, equipment and storage medium
CN111833459B (en) Image processing method and device, electronic equipment and storage medium
CN110971943A (en) Video code rate adjusting method, device, terminal and storage medium
EP4113446A1 (en) Sticker processing method and apparatus
EP4142297A1 (en) Method, apparatus and device for configuring video special effect, and storage medium
US20140292998A1 (en) Managing Use of Resources in Mobile Devices
CN115082368A (en) Image processing method, device, equipment and storage medium
WO2021073204A1 (en) Object display method and apparatus, electronic device, and computer readable storage medium
CN112347301B (en) Image special effect processing method, device, electronic equipment and computer readable storage medium
CN111263084B (en) Video-based gesture jitter detection method, device, terminal and 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