CN110868537A - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN110868537A
CN110868537A CN201911091835.1A CN201911091835A CN110868537A CN 110868537 A CN110868537 A CN 110868537A CN 201911091835 A CN201911091835 A CN 201911091835A CN 110868537 A CN110868537 A CN 110868537A
Authority
CN
China
Prior art keywords
image
user
target object
shooting
electronic device
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
Application number
CN201911091835.1A
Other languages
Chinese (zh)
Other versions
CN110868537B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911091835.1A priority Critical patent/CN110868537B/en
Publication of CN110868537A publication Critical patent/CN110868537A/en
Application granted granted Critical
Publication of CN110868537B publication Critical patent/CN110868537B/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

Abstract

The invention discloses a shooting method and electronic equipment, wherein the method comprises the following steps: receiving a first input of a user; responding to the first input, and judging whether the target object is changed; and if the target object changes, shooting the target object according to preset shooting parameters. Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.

Description

Shooting method and electronic equipment
Technical Field
The invention relates to the field of terminals, in particular to a shooting method and electronic equipment.
Background
In existing electronic devices, various applications for photographing may be installed, and a user may photograph a certain target object using the applications. Specifically, after the user opens the application, the camera of the electronic device can be aligned to the target object, at the moment, the electronic device can adjust the focal length of the camera according to the distance between the target object and the camera, and after focusing, the user can click a shooting button in a screen to shoot the target object.
However, in practical applications, users may frequently use these applications to shoot a target object, and thus, based on the method described above, the users need to click a shooting button in a screen many times to shoot, and in the process of frequent shooting, if the electronic device is turned off, the users are required to unlock the electronic device, which results in higher operation complexity of the users in the whole shooting process and affects the user experience.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and aims to solve the problems that when a user frequently shoots a certain target object, the shooting method in the prior art is complex and affects the use experience of the user.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a shooting method is provided, including:
receiving a first input of a user;
responding to the first input, and judging whether the target object is changed;
and if the target object changes, shooting the target object according to preset shooting parameters.
In a second aspect, an electronic device is provided, comprising:
the receiving module receives a first input of a user;
the judging module is used for responding to the first input and judging whether the target object changes or not;
and the shooting module is used for shooting the target object according to preset shooting parameters if the target object changes.
In a third aspect, an electronic device is provided, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to the first aspect.
In the embodiment of the invention, after receiving the first input of the user, the electronic device may respond to the first input to determine whether the target object changes, and if the target object changes, the electronic device may shoot the target object according to preset shooting parameters. Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow diagram of a photographing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a photographing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a photographing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
Currently, when a user shoots with an application installed in an electronic device for shooting, the user can frequently shoot a certain target object according to actual needs.
For example, during work or learning of the user, when a speaker or a teacher uses a projector to project slides on a projection screen, if the user wants to record several slides containing important content by means of pictures, the user may open an application for shooting in the electronic device, and when the speaker or the teacher switches to a slide containing important content, the slides may be shot using the application for shooting installed in the electronic device.
Generally, when a user uses an application for shooting to shoot a target object, a camera of an electronic device may be aligned to the target object, at this time, the electronic device may adjust a focal length of the camera according to a distance between the target object and the camera, and after waiting for focusing of the electronic device, the user may click a shooting button in a screen to shoot the target object.
However, in practical applications, in the process that a user frequently photographs a certain target object, the electronic device needs to adjust the focal length of the camera each time the user photographs the target object, and the user can only photograph the target object after waiting for focusing, and if the target object changes during waiting for focusing, the target object before the change cannot be photographed, which affects the user experience. In addition, in the process of frequent shooting by a user, the user needs to click a shooting button in the screen for shooting for many times, the dependence on the user is high, if the user forgets to shoot a target object, the target object which the user wants cannot be shot, and in the shooting process, if the electronic device is turned off, the user needs to manually unlock the electronic device, so that in the whole shooting process, the operation complexity of the user is high, and the use experience of the user is influenced.
For example: still taking the above scenario of switching slides as an example, when a speaker or a teacher uses a projector to project a slide on a projection screen, a user may shoot a slide with important content, and when the user shoots the slide each time, the electronic device needs to adjust the focal length of the camera, and after waiting for focusing, the user may shoot the slide. In addition, in the process of frequently shooting the slides, the user needs to click the shooting button in the screen for shooting for many times, but in the process of working or learning, the user generally needs to carefully listen to the content spoken by the speaker or teacher, so that the user forgets to shoot the slides when carefully listening to the content spoken by the speaker or teacher, the user cannot shoot the desired slides, and in the process of shooting the slides, if the electronic device is on the screen, the user needs to manually unlock the electronic device, the operation complexity of the user is high in the whole shooting process, and the use experience of the user is seriously affected.
In order to solve the above technical problem, an embodiment of the present invention provides a shooting method and an electronic device, where the method includes: receiving a first input of a user; responding to the first input, and judging whether the target object is changed; and if the target object changes, shooting the target object according to preset shooting parameters.
Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the technical solution provided in the embodiments of the present invention may be applied to an electronic device having a shooting function in a shooting scene, a monitoring device having an image acquisition function in a monitoring scene, an AR device (e.g., AR glasses) in an AR (Augmented Reality) scene, and the like.
For ease of understanding, the following description may be made by taking an example of an electronic device having a shooting function applied to a shooting scene.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a photographing method according to an embodiment of the present invention. The method is as follows.
S102: a first input is received from a user.
In S102, when the user uses the electronic device to photograph the target object, the user may start an application for photographing (hereinafter referred to as a target application) installed in the electronic device, and align a camera of the electronic device with the target object. At this time, the user may perform a first input to the electronic device based on the photographing interface, and the electronic device may receive the first input of the user.
The first input may be a user's opening operation of the automatic snapshot mode in the fixed-point snapshot mode.
Specifically, a fixed-point snapshot mode can be provided in the target application, an automatic snapshot mode can be further provided in the fixed-point snapshot mode, the user can start the fixed-point snapshot mode when starting the target application, the user can execute the starting operation of the automatic snapshot mode in the fixed-point snapshot mode, and at the moment, the electronic device can receive the starting operation of the user on the fixed-point snapshot mode.
In order that the target object can be photographed quickly later, the user may set photographing parameters in advance before the first input is performed.
Specifically, before the user starts the automatic snapshot mode, in the fixed-point snapshot mode, the user may perform a setting operation on the shooting parameters, and after receiving the setting operation on the shooting parameters by the user, the electronic device may store the shooting parameters set by the user. In this way, when shooting is performed subsequently, shooting can be performed based on the stored shooting parameters. The shooting parameters may include, but are not limited to: zoom level of the shot, focal length, composition scale of the shot, etc.
For ease of understanding, reference may be made to fig. 2, where fig. 2 is a schematic diagram of a photographing method according to an embodiment of the present invention.
After a user opens a target application, when a fixed-point snapshot mode is started, the electronic device can display an interface shown in fig. 2, a button of fixed-point snapshot is displayed below a screen, a button of automatic snapshot can be displayed above the left side of the screen, and a button of modification is displayed above the right side of the screen. Thereafter, the user may click on the "auto snap" button to initiate the auto snap mode.
It should be noted that, the user may first perform the setting operation on the shooting parameters, and then perform the starting operation of the automatic snapshot mode, or may first perform the starting operation on the automatic snapshot mode, and then perform the setting operation on the shooting parameters, which is not limited herein.
S104: and responding to the first input, and judging whether the target object is changed.
In S104, after receiving the first input of the user, the electronic device may respond to the first input of the user, that is, the electronic device may start the automatic snapshot mode, and determine whether the target object changes in the automatic snapshot mode.
When the electronic device determines whether the target object changes, preferably, it may determine whether the target object changes within a preset time period, where the preset time period may use a default setting of the system, or may use a custom setting, and is not specifically limited herein.
Specifically, when the electronic device determines whether the target object changes within a preset time period in the automatic snapshot mode, the determination may be performed based on an image recognition technique. For example, the target object may be used as the monitoring object, the electronic device may monitor the target object in real time and perform image recognition on the monitored screen, and if it is determined that the target object is still based on the image recognition result, it may be determined that the target object is not changed, and if it is determined that the monitoring screen flickers based on the image recognition result, it may be determined that the monitoring object is changed.
When it is determined whether the target object is changed within a preset time period, the determination may be performed based on a Dynamic Vision Sensor (DVS) technique. For example, the camera of the electronic device may provide the sensory pixels, so that the electronic device may obtain change information of the target object in real time, and if the change information of the target object is not obtained, it may be determined that the target object is still, that is, the target object is not changed, and if the change information of the target object is obtained, it may be determined that the target object is changed.
If the electronic device determines that the target object has changed, S106 may be executed; otherwise, execution may continue with S104.
It should be noted that, when the electronic device determines whether the target object changes, the screen state of the electronic device may be a screen-off state or a screen-on state. Preferably, the screen state of the electronic device may be a screen turning state, so that the electric quantity of the electronic device can be saved, and the standby time of the electronic device can be prolonged. In addition, the electronic device may determine whether the target object changes in a state in which the target application is opened, or may determine whether the target object changes in a state in which the target application is not opened, which is not specifically limited herein.
It should be noted that, in order to facilitate the electronic device to perform shooting, before performing S104, the user may fix the electronic device so that the electronic device is in a stationary state during shooting. Specifically, the method comprises the following steps:
when shooting, a user can aim the camera of the electronic equipment at a target object, adjust the shooting angle, adjust the shooting distance between the electronic equipment and the target object, and then fix the electronic equipment on the support.
S106: and if the target object changes, shooting the target object according to preset shooting parameters.
The preset shooting parameters may be the shooting parameters preset by the user in the fixed-point snapshot mode in S102, and specifically may include: the zoom level of the shot, the focal length and the composition scale of the shot, etc.
In this embodiment, when the electronic device photographs a changed target object based on preset photographing parameters, optionally, in order to obtain a better photographing effect, the electronic device may photograph using an image sensor including the following pixel circuits.
The pixel circuit can comprise at least two photosensitive units, a signal processing module and a control module, wherein each photosensitive unit is used for generating a photosensitive electric signal; the signal processing module is used for outputting at least one of the following items under the condition of receiving the photosensitive electric signal: the analog voltage of the photosensitive electrical signal of each photosensitive unit and the superposed analog voltage obtained by superposing the analog voltages of the photosensitive electrical signals of at least two photosensitive units are superposed; the control module is used for conducting the output ends of the at least two photosensitive units and the receiving end of the signal processing module under the condition that the variation value of the output voltage of the at least one photosensitive unit exceeds a preset threshold.
After a target object is photographed based on an image sensor including the pixel circuit, an image with a good effect can be photographed.
The electronic device can store the shot image after shooting the target object based on the preset shooting parameters.
In this embodiment, since the process of shooting the target object by the electronic device is a process of frequently shooting (once the target object changes, the target object is shot), when the shot image is saved, the same image may be saved repeatedly, which may cause image redundancy. In order to avoid image redundancy, optionally, after the electronic device captures the target object, whether to save the captured image may be determined based on the similarity between the captured image and a previously captured image. The specific implementation mode is as follows:
after the electronic device shoots the target object according to the preset shooting parameters, whether the similarity between the shot first image and the shot second image is smaller than a first threshold value or not can be judged based on an image recognition technology. The first image and the second image are two adjacent images which are shot successively, and the first threshold value can be determined according to actual conditions, which is not specifically limited here.
If the similarity between the first image and the second image is smaller than the first threshold, it can be said that there is a large difference between the first image and the second image, and at this time, the first image and the second image can be saved. Because the first image and the second image have larger difference, the problem of image redundancy can not occur after the first image and the second image are stored.
If the similarity between the first image and the second image is greater than or equal to the first threshold, it may be indicated that the difference between the first image and the second image is small, and if the first image and the second image are stored simultaneously, there is a high possibility of image redundancy.
Specifically, if the content in the first image includes the content in the second image, it may be stated that the content in the first image includes both the content in the second image and more than the content in the second image, and in order to avoid image redundancy, the electronic device may preferentially save the first image. For example: and if the content in the first image is A and B, the content in the second image is A, and the content in the first image comprises the second image, the first image is saved.
If the content in the second image includes the content in the first image, it can be stated that the content in the second image includes both the content in the first image and more than the content in the first image, and in order to avoid image redundancy, the electronic device may preferentially save the second image. For example: and if the content in the first image is A, the content in the second image is A and B, and the content in the second image comprises the first image, the second image is saved.
If the partial content in the first image does not belong to the second image and the partial content in the second image does not belong to the first image, it can be stated that the partial content in the first image and the partial content in the second image may be replaced, and if only the first image or the second image is saved, the partial content in the image that is not saved may be lost, so that, in order to avoid content loss, the electronic device may save the first image and the second image at the same time.
For example: and if the content in the first image is A, C and D, the content in the second image is A, B and D, the content C in the first image does not belong to the second image, and the content B in the second image does not belong to the first image, the first image and the second image are saved.
In this embodiment, in order to meet the requirement of the user, the electronic device may further provide the user with a way to restore the image, so as to ensure that the user can save the image that is not saved by the electronic device.
Specifically, in the content described above, if the electronic device stores the first image and does not store the second image, the electronic device may temporarily store the second image, so that the user can confirm whether to store the second image after the shooting is finished; if the electronic device stores the second image and does not store the first image, the electronic device can temporarily store the first image so as to ensure that whether the first image is stored or not is confirmed by a user after shooting is finished.
When the electronic device temporarily stores the first image or the second image, the first image or the second image can be temporarily stored in the recycle bin, so that when a user wants to store the first image or the second image, the recycle bin in the electronic device can be opened, the image which the user wants to store is moved out of the recycle bin, and at the moment, the image which the user moves out of can be stored in the electronic device by the electronic device.
In other implementation manners, after determining to save the first image or the second image, the electronic device may also delete the image that is determined not to be saved, so as to avoid occupying too much memory.
In addition, the technical scheme provided by the embodiment of the invention can also be used for monitoring scenes and AR scenes.
For example, after a monitoring device is used to record a video of a certain monitored object, the monitoring device may put the recorded video into a storage space, but because of the limitation of the storage space, the monitoring device may periodically overlay a newly-shot video with a previous video, when a user wants to view the previous video, the video may have been already overlaid, causing video loss, and when the user views the video, since the video contains more pictures, a situation that a key section of the monitored object that changes may not be found may occur.
For another example, when the user uses the AR glasses, in order to not miss any wonderful picture, the camera function in the AR glasses is generally turned on, and the captured video is stored in the AR glasses, but continuous capturing generates a large amount of video, which occupies a large storage space of the AR glasses, and increases the storage pressure of the AR glasses. After the technical scheme provided by the embodiment is applied to the AR scene, when the camera shooting function in the AR glasses is started, only when the target object changes, the target object is shot by the AR glasses, and the shot image is stored, so that the storage pressure of the AR glasses can be reduced to a great extent.
For facilitating understanding of the technical solutions provided by the embodiments of the present invention, refer to fig. 3. Fig. 3 is a schematic flow chart of a shooting method according to an embodiment of the present invention, which may specifically include the following steps:
s301: and starting the fixed-point snapshot mode based on the starting operation of the user on the fixed-point snapshot mode.
When a user wants to use a target application in the electronic equipment to shoot a target object, the target application can be used
And the fixed-point snapshot mode in the target application executes the starting operation, and the mobile terminal can start the fixed-point snapshot mode based on the starting operation of the user.
S302: and receiving the setting operation of the user on the shooting parameters, and storing the shooting parameters.
In the fixed-point snapshot mode, the user can perform setting operation on the shooting parameters, and the electronic equipment can store the shooting parameters after receiving the setting operation of the user on the shooting parameters. The shooting parameters may be a zoom level of the shot, a focal length, a composition ratio of the shot, and the like.
S303: a first input is received from a user.
The first input may be to execute a start operation on an automatic snapshot mode in the fixed-point snapshot mode, and the mobile terminal may start the automatic snapshot mode when receiving the start operation of the user. For a specific implementation, refer to fig. 2, which is not described herein again.
S304: and responding to the first input of the user, and judging whether the target object is changed.
The electronic device may be implemented based on an image recognition technique or a DVS technique when determining whether the target object is changed. Preferably, the electronic device may determine whether the target object is changed within a preset time.
In addition, when the electronic device determines whether the target object changes, the screen state of the electronic device may be a screen-off state or a screen-on state, which is not specifically limited herein.
If the target object is changed, S305 may be executed, and if not, S304 may be continuously executed.
S305: and shooting the target object according to preset shooting parameters.
S306: and judging whether the similarity between the shot first image and the shot second image is smaller than a first threshold value.
The first image and the second image are two adjacent images which are shot successively, and the first threshold is a similarity threshold which can be determined according to actual conditions, and is not specifically limited here.
If the similarity between the first image and the second image is less than the first threshold, S307 may be performed, otherwise, S308 may be performed.
S307: the first image and the second image are saved.
S308: based on the content of the first image and the content of the second image, it is determined whether to save the first image and the second image.
Specifically, if the content of the first image includes the content of the second image, the first image is saved, and at this time, the electronic device may temporarily store the second image, so that a user may confirm whether to save the second image after the shooting is finished; if the content of the second image comprises the content of the first image, the second image is saved, and at the moment, the electronic equipment can temporarily store the first image so as to ensure that whether the first image is saved or not by a user after shooting is finished; if the part of the content in the first image does not belong to the second image and the part of the content in the second image does not belong to the first image, the first image and the second image can be saved.
In the embodiment, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click the shooting button in the screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
It should be noted that, in the above S102, before the electronic device receives the first input of the user, after the electronic device performs the shooting parameter setting in the fixed-point snapshot mode, the user may also perform manual shooting on the target object in the fixed-point snapshot mode.
Specifically, after the shooting parameters are saved, the electronic device can detect whether the electronic device is executed with the preset operation before the automatic snapshot mode is started, and if yes, the target object is shot based on the shooting parameters saved in advance. Wherein the preset operation may include at least one of a lift and a traverse.
Optionally, when the electronic device is detected, the state of the electronic device may be a state of exiting the target application or a state of starting the target application.
For example, a user may open a target application, start a fixed-point snapshot mode, set shooting parameters, and store the shooting parameters after the electronic device receives a setting operation of the user on the shooting parameters, at this time, if the user exits from the target application, when the user needs to shoot a target object, the user may perform at least one preset operation of high lift and horizontal operation on the electronic device, so as to align a camera of the electronic device with the target object, and at this time, when a sensor in the electronic device senses that the user performs the preset operation on the electronic device, the target application may be automatically opened, and the target object is shot based on the pre-stored shooting parameters; if the user does not exit the target application, the sensor in the electronic device can automatically shoot the target object based on the pre-stored shooting parameters on the premise that the target application is started when the sensor senses that the user executes the preset operation on the electronic device.
Therefore, when a user wants to frequently shoot a target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to click a shooting button in a screen for many times, so that the operation complexity of the user can be effectively reduced.
In practical application, if a target object required by a user is frequently photographed, the user may select to photograph the target object in an automatic snapshot mode, and if the user does not need to frequently photograph the target object, the user may select to photograph the target object in a fixed-point snapshot mode.
In the embodiment of the invention, after receiving the first input of the user, the electronic device may respond to the first input to determine whether the target object changes, and if the target object changes, the electronic device may shoot the target object according to preset shooting parameters. Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device includes: a receiving module 41, a judging module 42 and a shooting module 43, wherein:
a receiving module 41, which receives a first input of a user;
a judging module 42, responsive to the first input, for judging whether the target object is changed;
and the shooting module 43 is used for shooting the target object according to preset shooting parameters if the target object changes.
Optionally, the receiving module 41 receives a first input of a user, and specifically includes:
receiving starting operation of a user on the automatic snapshot mode in the fixed-point snapshot mode;
the receiving module 41, before the determining module 42 determines whether the target object changes in response to the first input, is further configured to:
receiving the setting operation of the shooting parameters by a user in the fixed-point snapshot mode;
and saving the shooting parameters.
Optionally, the electronic device further comprises: a save module 44, wherein:
the storage module 44 is configured to, after the target object is photographed according to preset photographing parameters, determine whether the similarity between a photographed first image and a photographed second image is smaller than a first threshold, where the first image and the second image are two adjacent images photographed in sequence;
and if so, saving the first image and the second image.
Optionally, when determining that the similarity between the first image and the second image is greater than or equal to the first threshold, the saving module 44 further includes:
if the content in the first image comprises the content in the second image, saving the first image;
if the content in the second image comprises the content in the first image, saving the second image;
and if the partial content in the first image does not belong to the second image and the partial content in the second image does not belong to the first image, saving the first image and the second image.
Optionally, after receiving a user's starting operation of the automatic snapshot mode in the fixed-point snapshot mode, before responding to the first input, the capturing module 43 is further configured to:
detecting whether the electronic equipment is executed with preset operation, wherein the preset operation comprises at least one of high lift and horizontal movement;
and if so, shooting the target object based on the shooting parameters.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 and fig. 3, and is not described herein again to avoid repetition. In the embodiment of the invention, after receiving the first input of the user, the electronic device may respond to the first input to determine whether the target object changes, and if the target object changes, the electronic device may shoot the target object according to preset shooting parameters. Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
Figure 5 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 507 is configured to receive a first input of a user; a processor 510, configured to determine whether the target object changes in response to the first input; and if the target object changes, shooting the target object according to preset shooting parameters.
Therefore, when the user wants to frequently shoot the target object, the electronic device can automatically shoot the target object when the target object changes according to the first input of the user, and the user does not need to manually click a shooting button in a screen to shoot, so that the shooting steps of the user can be simplified to the greatest extent, the operation complexity of the user is reduced, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the shooting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising" is used to specify the presence of stated features, integers, steps, operations, elements, components, operations.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A shooting method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user;
responding to the first input, and judging whether the target object is changed;
and if the target object changes, shooting the target object according to preset shooting parameters.
2. The method of claim 1, wherein receiving the first input from the user specifically comprises:
receiving starting operation of a user on an automatic snapshot mode in a fixed-point snapshot mode;
before the determining whether the target object is changed in response to the first input, the method further includes:
receiving the setting operation of the shooting parameters by a user in the fixed-point snapshot mode;
and saving the shooting parameters.
3. The method of claim 1, wherein after photographing the target object according to preset photographing parameters, the method further comprises:
judging whether the similarity of a first shot image and a second shot image is smaller than a first threshold value, wherein the first shot image and the second shot image are two adjacent images which are shot successively;
and if so, saving the first image and the second image.
4. The method of claim 3, wherein the method further comprises:
if the similarity between the first image and the second image is greater than or equal to the first threshold value, then:
if the content in the first image comprises the content in the second image, saving the first image;
if the content in the second image comprises the content in the first image, saving the second image;
and if the partial content in the first image does not belong to the second image and the partial content in the second image does not belong to the first image, saving the first image and the second image.
5. The method of claim 2, wherein after receiving a user's turn-on operation of the automatic snap mode in the fixed-point snap mode, before responding to the first input, the method further comprises:
detecting whether the electronic equipment is executed with preset operation, wherein the preset operation comprises at least one of high lift and horizontal movement;
and if so, shooting the target object based on the shooting parameters.
6. An electronic device, comprising:
the receiving module receives a first input of a user;
the judging module is used for responding to the first input and judging whether the target object changes or not;
and the shooting module is used for shooting the target object according to preset shooting parameters if the target object changes.
7. The electronic device of claim 6, wherein the receiving module receives a first input from a user, and specifically comprises:
receiving starting operation of a user on an automatic snapshot mode in a fixed-point snapshot mode;
the receiving module, before the determining module determines whether the target object changes in response to the first input, is further configured to:
receiving the setting operation of the shooting parameters by a user in the fixed-point snapshot mode;
and saving the shooting parameters.
8. The electronic device of claim 6, wherein the electronic device further comprises: a save module, wherein:
the storage module is used for judging whether the similarity between a first image and a second image is smaller than a first threshold value after the shooting module shoots the target object according to preset shooting parameters, wherein the first image and the second image are two adjacent images shot successively;
and if so, saving the first image and the second image.
9. The electronic device of claim 8, wherein the saving module, upon determining that the similarity of the first image and the second image is greater than or equal to the first threshold, further comprises:
if the content in the first image comprises the content in the second image, saving the first image;
if the content in the second image comprises the content in the first image, saving the second image;
and if the partial content in the first image does not belong to the second image and the partial content in the second image does not belong to the first image, saving the first image and the second image.
10. The electronic device of claim 7, wherein the capture module, after receiving a user turn-on operation of the automatic snap mode in the fixed-point snap mode, and prior to responding to the first input, is further to:
detecting whether the electronic equipment is executed with preset operation, wherein the preset operation comprises at least one of high lift and horizontal movement;
and if so, shooting the target object based on the shooting parameters.
CN201911091835.1A 2019-11-08 2019-11-08 Shooting method and electronic equipment Active CN110868537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911091835.1A CN110868537B (en) 2019-11-08 2019-11-08 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911091835.1A CN110868537B (en) 2019-11-08 2019-11-08 Shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110868537A true CN110868537A (en) 2020-03-06
CN110868537B CN110868537B (en) 2022-01-04

Family

ID=69653500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911091835.1A Active CN110868537B (en) 2019-11-08 2019-11-08 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110868537B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447365A (en) * 2020-04-16 2020-07-24 维沃移动通信有限公司 Shooting method and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863275A (en) * 2005-05-11 2006-11-15 英华达(上海)电子有限公司 Self-timer method for digital camera
CN101625505A (en) * 2008-07-10 2010-01-13 华晶科技股份有限公司 Continuous photographing method for facial recognition
CN101646017A (en) * 2008-08-07 2010-02-10 华晶科技股份有限公司 Automatic photographing method for face detection
CN102420941A (en) * 2011-11-18 2012-04-18 深圳市万兴软件有限公司 Automatic shooting method and device
US20130208127A1 (en) * 2012-02-13 2013-08-15 Htc Corporation Auto burst image capture method applied to a mobile device, method for tracking an object applied to a mobile device, and related mobile device
CN104113691A (en) * 2014-07-18 2014-10-22 小米科技有限责任公司 Shooting method and shooting device
CN104159027A (en) * 2014-08-15 2014-11-19 广东欧珀移动通信有限公司 Method and device for automatically taking pictures according to image changing speed
CN104378549A (en) * 2014-10-30 2015-02-25 东莞宇龙通信科技有限公司 Snapshot method and device and terminal
CN104519263A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 Method for acquiring image and electronic device
CN107589963A (en) * 2017-09-26 2018-01-16 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN108182271A (en) * 2018-01-18 2018-06-19 维沃移动通信有限公司 A kind of photographic method, terminal and computer readable storage medium
CN109005350A (en) * 2018-08-30 2018-12-14 Oppo广东移动通信有限公司 Image repeats shooting reminding method, device, storage medium and mobile terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863275A (en) * 2005-05-11 2006-11-15 英华达(上海)电子有限公司 Self-timer method for digital camera
CN101625505A (en) * 2008-07-10 2010-01-13 华晶科技股份有限公司 Continuous photographing method for facial recognition
CN101646017A (en) * 2008-08-07 2010-02-10 华晶科技股份有限公司 Automatic photographing method for face detection
CN102420941A (en) * 2011-11-18 2012-04-18 深圳市万兴软件有限公司 Automatic shooting method and device
US20130208127A1 (en) * 2012-02-13 2013-08-15 Htc Corporation Auto burst image capture method applied to a mobile device, method for tracking an object applied to a mobile device, and related mobile device
CN104519263A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 Method for acquiring image and electronic device
CN104113691A (en) * 2014-07-18 2014-10-22 小米科技有限责任公司 Shooting method and shooting device
CN104159027A (en) * 2014-08-15 2014-11-19 广东欧珀移动通信有限公司 Method and device for automatically taking pictures according to image changing speed
CN104378549A (en) * 2014-10-30 2015-02-25 东莞宇龙通信科技有限公司 Snapshot method and device and terminal
CN107589963A (en) * 2017-09-26 2018-01-16 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN108182271A (en) * 2018-01-18 2018-06-19 维沃移动通信有限公司 A kind of photographic method, terminal and computer readable storage medium
CN109005350A (en) * 2018-08-30 2018-12-14 Oppo广东移动通信有限公司 Image repeats shooting reminding method, device, storage medium and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447365A (en) * 2020-04-16 2020-07-24 维沃移动通信有限公司 Shooting method and electronic equipment
CN111447365B (en) * 2020-04-16 2021-11-30 维沃移动通信有限公司 Shooting method and electronic equipment

Also Published As

Publication number Publication date
CN110868537B (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN109361869B (en) Shooting method and terminal
CN111182205B (en) Photographing method, electronic device, and medium
CN108495029B (en) Photographing method and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN110602401A (en) Photographing method and terminal
CN111263071B (en) Shooting method and electronic equipment
CN108924414B (en) Shooting method and terminal equipment
CN109688253B (en) Shooting method and terminal
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN110198413B (en) Video shooting method, video shooting device and electronic equipment
CN111381924A (en) Interface display method, electronic device and medium
CN109413333B (en) Display control method and terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage medium
CN108174109B (en) Photographing method and mobile terminal
CN110881105B (en) Shooting method and electronic equipment
CN110636225B (en) Photographing method and electronic equipment
CN110708475B (en) Exposure parameter determination method, electronic equipment and storage medium
CN110602387B (en) Shooting method and electronic equipment
CN109005337B (en) Photographing method and terminal
CN108924413B (en) Shooting method and mobile terminal
CN108243489B (en) Photographing control method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111432154B (en) Video playing method, video processing method and electronic equipment

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