CN112153291A - Photographing method and electronic equipment - Google Patents
Photographing method and electronic equipment Download PDFInfo
- Publication number
- CN112153291A CN112153291A CN202011035170.5A CN202011035170A CN112153291A CN 112153291 A CN112153291 A CN 112153291A CN 202011035170 A CN202011035170 A CN 202011035170A CN 112153291 A CN112153291 A CN 112153291A
- Authority
- CN
- China
- Prior art keywords
- camera
- target
- area
- image
- moving object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/144—Movement detection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a photographing method and electronic equipment, belongs to the technical field of electronics, and aims to solve the problem that when a user uses a long-exposure photographing function to photograph, other people or objects often enter a photographing area in the photographing process of the photographing equipment, so that a smear phenomenon occurs in a picture. Wherein the method comprises the following steps: in the process that the first camera exposes the target image, a first image is obtained through the second camera; when a target moving object exists in a target area of the first image, pausing the process of exposing the target image by the first camera; the target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera; the field angle of the second camera covers and is larger than that of the first camera. The photographing method is applied to the electronic equipment.
Description
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a photographing method and electronic equipment.
Background
At present, in order to improve the effect of the photo, when the photographing environment is dark or the user has other requirements, the photographing device can provide a long-exposure photographing function, that is, in the photographing process, the exposure time is increased.
Generally, a user may select a night mode in a camera program or manually adjust an exposure time in the camera program to implement a long-exposure photographing function. When a user takes a picture by using the long exposure photographing function, other people or objects often enter a photographing area in the photographing process of the photographing device, so that the phenomenon of smearing of the picture is caused.
Therefore, in the process of implementing the present application, the inventors found that at least the following problems exist in the prior art: when a user takes a picture by using the long exposure photographing function, other people or objects often enter a photographing area in the photographing process of the photographing device, so that the phenomenon of smearing of the picture is caused.
Disclosure of Invention
The embodiment of the application aims to provide a photographing method, which can solve the problem that when a user uses a long-exposure photographing function to photograph, other people or objects often enter a photographing area in the photographing process of photographing equipment, so that the phenomenon of smear of a picture occurs.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a photographing method, which is applied to a photographing device, where the photographing device includes a first camera and a second camera, and a field angle of the second camera covers and is greater than a field angle of the first camera; the method comprises the following steps: acquiring a first image through the second camera in the process of exposing a target image by the first camera; when a target moving object exists in a target area of the first image, pausing the process of exposing the target image by the first camera; the target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera.
In a second aspect, an embodiment of the present application provides a photographing device, where the photographing device includes a first camera and a second camera, and a field angle of the second camera covers and is greater than a field angle of the first camera; the device further comprises: the acquisition module is used for acquiring a first image through the second camera in the process of exposing the target image by the first camera; the pause module is used for pausing the process of exposing the target image by the first camera when a target moving object exists in the target area of the first image; the target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this way, in the embodiment of the present application, during the process of exposing the target image collected by the first camera, the first image collected by the second camera is simultaneously acquired. By utilizing the difference of the field angles between the two camera lenses, whether a target moving object exists or not is detected in a target area corresponding to the non-overlapped field angles of the first camera and the second camera in the exposable process, so that the aim of detecting whether the target moving object enters the corresponding area of the target image in advance can be fulfilled. If a target moving object exists in the target area, the target moving object may be about to enter the target image, thereby halting the exposure process. It is thus clear that this embodiment utilizes the angle of view difference that exists between two camera lenses, can perceive the people or the thing mistake of motion to go into the regional phenomenon of shooing in advance to in time pause exposure, thereby solve the user and when utilizing the long exposure function of shooing, in the in-process of shooing equipment shooing, often can meet other people or thing and get into the region of shooing, thereby lead to the problem of the smear phenomenon to appear in the photo, improve one slice rate.
Drawings
Fig. 1 is a flowchart of a photographing method according to an embodiment of the present application;
fig. 2 to 4 are schematic diagrams of a photographing method according to an embodiment of the present application;
FIG. 5 is a block diagram of a photographing apparatus according to an embodiment of the present application;
fig. 6 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The photographing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 shows a flowchart of a photographing method according to an embodiment of the present application, which is applied to a photographing apparatus including a first camera and a second camera, wherein a field angle of the second camera covers and is larger than a field angle of the first camera.
The present embodiment adopts the double-shot photographing mode. The field angle of the second camera covers and is larger than that of the first camera, and the second camera can be used for collecting images in a wider range; the first camera can be used for collecting clearer images.
Correspondingly, the photographing method comprises the following steps:
step S1: and in the process that the first camera exposes the target image, acquiring a first image through the second camera.
In an application scene, for example, in the long exposure mode, a user photographing input is received, and a process of exposing a target image is entered in response to the photographing input. In this process, an image acquired by the second camera, i.e., the first image, is acquired.
The photographing input comprises touch input and space input performed by a user on a screen, and is not limited to input of clicking, sliding and the like; the photographing input also comprises the input of a user on the device for the entity key, and is not limited to the input of pressing and the like; the photographing input also includes input of interaction between devices. Further, the photographing input includes one or more inputs, wherein the plurality of inputs may be continuous or intermittent.
For example, the user presses a photographing key in the night scene photographing mode.
Alternatively, the first camera may have a relatively small field of view, and may be used as a main camera for image capture, and the second camera may have a relatively large field of view, and may be used as a sub-camera for live view in the background.
Correspondingly, the shooting preview interface displays the image collected by the first camera, and the image can be used as a shooting target image and corresponds to a shooting area. The first image collected by the second camera can be obtained from the background but not displayed.
Further, the target image is collected by the first camera, and then the first camera exposes the target image in the exposure process.
Step S2: and when a target moving object exists in the target area of the first image, pausing the process of exposing the target image by the first camera.
The target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera.
In this step, the angle of view of the second camera covers and is larger than the angle of view of the first camera, and therefore, a partial region between the first image and the target image is not overlapped, that is, the target region in this step.
In the prior art, if a photographing input is received, exposure photographing is directly performed. Unlike the prior art, in the embodiment, if a photographing input is received, whether a target moving object exists in the target area is detected, so as to detect whether a moving person or object exists and is strayed into the photographing area.
In the present embodiment, the object of detecting the target moving object is to check whether a person or an object is about to enter the photographing region.
It should be noted that, in order to solve the problem of the smear phenomenon caused by someone or an object straying into the photographing region during the photographing process, the detection can be performed before the person or the object is in the target region, that is, enters the photographing region, so as to avoid the problem that it is impossible to distinguish between the two situations that the moving person or the object strays into the photographing region or the moving object moves when directly detecting whether there is a moving object in the photographing region. In more embodiments, in order to avoid the occurrence of the smear phenomenon, it is also possible to detect whether there is a moving object in the photographing region, and to perform photographing after the moving object remains still or leaves the photographing region.
In this embodiment, if there is a target moving object in the target area, the target moving object may be about to enter the photographing area, and thus exposure photographing is suspended.
Therefore, the method is applied to a long-exposure photographing scene, and if a moving object is about to appear in a photographing area, the exposure photographing action can be delayed.
In this way, in the embodiment of the present application, during the process of exposing the target image collected by the first camera, the first image collected by the second camera is simultaneously acquired. By utilizing the difference of the field angles between the two camera lenses, whether a target moving object exists or not is detected in a target area corresponding to the non-overlapped field angles of the first camera and the second camera in the exposable process, so that the aim of detecting whether the target moving object enters the corresponding area of the target image in advance can be fulfilled. If a target moving object exists in the target area, the target moving object may be about to enter the target image, thereby halting the exposure process. It is thus clear that this embodiment utilizes the angle of view difference that exists between two camera lenses, can perceive the people or the thing mistake of motion to go into the regional phenomenon of shooing in advance to in time pause exposure, thereby solve the user and when utilizing the long exposure function of shooing, in the in-process of shooing equipment shooing, often can meet other people or thing and get into the region of shooing, thereby lead to the problem of the smear phenomenon to appear in the photo, improve one slice rate.
Optionally, the first camera is a tele camera and the second camera is a wide camera.
And under the long exposure photographing mode, simultaneously starting the long-focus camera and the wide-angle camera. The long-focus camera is used as a main camera to shoot images, and the wide-angle camera is used as a secondary camera to conduct background real-time framing. And when the photographing input is received, calculating the field angle difference area between the wide-angle camera and the tele-camera.
Referring to fig. 2, a photographing area 1 corresponding to a target image photographed by a telephoto camera and a field angle difference area of a wide camera and the telephoto camera, i.e., a target area 2 are shown.
Alternatively, the application scenario of the long exposure photographing mode, for example, the user enters a specific mode such as night scene, starry sky, moon, etc., in which the system increases the exposure time for photographing, thereby increasing the brightness of the picture. In another example, the user enters the professional mode, and the exposure time is manually changed, so that the brightness of the picture is improved.
In this embodiment, the problem that when a user takes a picture by using a long-exposure shooting function, other people or objects often enter a shooting area in the shooting process of the shooting equipment, so that the phenomenon of smear of the picture occurs is solved, and the filming rate is improved by utilizing the field angle difference between the telephoto camera and the wide-angle camera and detecting the moving object in the field angle difference area.
In the flow of the photographing method according to another embodiment of the present application, step S2 includes:
step A1: when a target moving object exists in a target area of the first image, if the target moving object moves towards the first area, the process of exposing the target image by the first camera is suspended.
The first area is an area corresponding to the field angle of the first camera.
Optionally, when the target moving object exists in the target area of the first image, the moving line of the target moving object is acquired. And judging whether the target moving object moves towards the first area or not according to the acquired moving line.
The first region corresponds to the target image, i.e., the photographing region.
In the present embodiment, when a target moving object exists in the target area, it is possible to detect whether the target moving object moves toward the first area. When the target moving object moves towards the first area, indicating that the target moving object is about to enter the first area, the exposure photographing is suspended.
In this embodiment, whether the target moving object is about to enter the first area may be determined by determining whether the target moving object moves towards the first area, and when the target moving object moves towards the first area, it is determined that the target moving object is about to enter the first area, and the exposure is suspended, so as to avoid a phenomenon of smear occurring in a picture due to a moving person or object mistakenly entering the photographing area.
In the flow of the photographing method according to another embodiment of the present application, after the step a1, the method further includes:
step B1: when a target moving object exists in the target area of the first image, if the target moving object moves away from the first area, the first camera continues to expose the target image to generate a target image.
Optionally, when the target moving object exists in the target area of the first image, the moving line of the target moving object is acquired. And judging whether the target moving object moves away from the first area or not according to the acquired moving line.
In this embodiment, when the target moving object exists in the target area, it is possible to detect whether the target moving object moves away from the first area. When the target moving object moves away from the first area, the exposure photographing is continued, wherein the target moving object is indicated to leave and enter the first area.
Alternatively, in the case where the target moving object is detected to move toward the first area on one side of the first area, if the target moving object is detected on the opposite side of the first area later, the target moving object is determined to have left the first area by default.
For example, if the target moving object is detected to move toward the first area on the left side of the target image and then the target moving object is detected to the right side of the first area, the target moving object has left the first area by default.
As another example, if the target moving object is detected on the upper side of the first area and then the target moving object is detected on the lower side of the first area, the target moving object is detected as having left the first area by default.
Referring to fig. 3 and 4, it is referable that the target moving object 3 has left the first area 1 by default if the target moving object 3 is detected to move close to the first area 1 on the left side of the first area (photographing area) 1 and then the target moving object 3 is detected to the right side of the first area 1.
It should be noted that, in fig. 2 to fig. 4, the first area 1 is a displayable area in the screen, and the target area 2 is an area that is not displayed, and the target area 2 is shown in the figures and is only used to help understanding the embodiment of the present application.
In this embodiment, whether the target moving object has left the first area may be determined by determining whether the target moving object moves away from the first area, and when the target moving object moves away from the first area, determining that the target moving object has left the first area, and continuing exposure, so as to avoid a smear phenomenon in a picture caused by a moving person or object mistakenly entering the photographing area.
In the flow of the photographing method according to another embodiment of the present application, step a1 includes:
step C1: and if the target moving object moves towards the first area until the distance from the target moving object to the first area is less than or equal to the first distance, pausing the process of exposing the target image by the first camera.
In this embodiment, the condition for suspending exposure is further defined by presetting the first distance, so that the process of exposing the target image by the first camera is suspended only when the target moving object is close enough to the first area. Therefore, when the target moving object is located in the target area and is far away from the first area, the probability of entering the first area is low, exposure and photographing can be continued, and the phenomenon of smearing of the picture cannot occur.
In a flow of a photographing method according to another embodiment of the present application, the method further includes:
step D1: and if the target moving object stops moving and keeps still in the target area, continuing to expose the target image through the first camera to generate the target image.
In this embodiment, if the target moving object stays in the target area and remains still, the target moving object does not enter the first area, the exposure and the photographing can be continued, and the image does not have a smear phenomenon.
In the photographing method according to another embodiment of the present application, the target moving object stays in the first area and remains still, and in this case, there is no moving object in the first area, so that exposure photographing can be continued, and the image does not have a smear phenomenon.
In the flow of the photographing method according to another embodiment of the present application, after step S2, the method further includes:
step E1: and exposing the target image through the first camera after the preset time length so as to generate the target image.
In this embodiment, a preset duration can be set, which is convenient for completing photographing. The application scenes are as follows: the random person or object enters and does not leave the first area within the preset time length, the random person or object does not enter the target area within the preset time length, and the like, and whether the random person or object is static or not, in order to finish the photographing, the photographing can be forcibly finished.
In summary, in the long exposure process, if a moving person or object suddenly enters the photographing region, whether the moving object enters the photographing region or not can be detected in real time in advance, so that the abnormal conditions of the photos such as the smear and the like caused by the fact that the moving person or object mistakenly enters the photographing region are avoided.
It should be noted that, in the photographing method provided in the embodiment of the present application, the execution main body may be a photographing device, or a control module used for executing the photographing method in the photographing device. In the embodiment of the present application, a photographing apparatus is taken as an example to execute a photographing method, and the apparatus of the photographing method provided in the embodiment of the present application is described.
Fig. 5 shows a block diagram of a photographing apparatus according to another embodiment of the present application, the photographing apparatus including a first camera 10 and a second camera 20, a field angle of the second camera 20 covering and being larger than a field angle of the first camera 10;
the device still includes:
the acquiring module 30 is configured to acquire a first image through the second camera 20 in a process of exposing a target image by the first camera 10;
a pause module 40, configured to pause a process of exposing the target image by the first camera 10 when the target moving object exists in the target area of the first image;
the target area is an area corresponding to the non-overlapping angles of view of the first camera 10 and the second camera 20.
In this way, in the embodiment of the present application, the first image acquired by the second camera 20 is acquired simultaneously during the exposure of the target image acquired by the first camera 10. By utilizing the difference of the field angles existing between the two camera lenses, in the exposable process, whether a target moving object exists in a target area corresponding to the non-overlapped field angles of the first camera 10 and the second camera 20 is detected, so that the purpose of detecting whether the target moving object enters the corresponding area of the target image in advance can be achieved. If a target moving object exists in the target area, the target moving object may be about to enter the target image, thereby halting the exposure process. It is thus clear that this embodiment utilizes the angle of view difference that exists between two camera lenses, can perceive the people or the thing mistake of motion to go into the regional phenomenon of shooing in advance to in time pause exposure, thereby solve the user and when utilizing the long exposure function of shooing, in the in-process of shooing equipment shooing, often can meet other people or thing and get into the region of shooing, thereby lead to the problem of the smear phenomenon to appear in the photo, improve one slice rate.
Optionally, the pause module 40 specifically includes:
a pause control unit, configured to pause a process of exposing the target image by the first camera 10 if the target moving object moves toward the first area when the target moving object exists in the target area of the first image;
the first area is an area corresponding to the field angle of the first camera 10.
Optionally, the apparatus further comprises:
the first exposure module is configured to, when a target moving object exists in a target area of the first image, continue to expose the target image through the first camera 10 if the target moving object moves away from the first area, so as to generate a target image.
Optionally, the pause control unit specifically includes:
and the control subunit is configured to suspend the process of exposing the target image by the first camera 10 if the target moving object moves towards the first area until the distance from the first area is less than or equal to the first distance.
Optionally, the apparatus further comprises:
and the second exposure module is used for continuing to expose the target image through the first camera 10 to generate the target image when the target moving object stops moving and keeps still in the target area.
The photographing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The photographing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and executable on the processor 101, where the program or the instruction is executed by the processor 101 to implement each process of the foregoing photographing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a first camera 1011, and a second camera 1012.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to acquire a first image through the second camera 1012 in a process of exposing a target image by the first camera 1011; when a target moving object exists in a target area of the first image, pausing the process of exposing the target image by the first camera 1011; the target area is an area corresponding to the non-overlapped field angles of the first camera 1011 and the second camera 1012; the angle of view of the second camera 1012 covers and is greater than the angle of view of the first camera 1011.
In this way, in the embodiment of the present application, the first image acquired by the second camera 1012 is acquired simultaneously during the exposure of the target image acquired by the first camera 1011. By utilizing the difference of the field angles between the two camera lenses, in the exposable process, whether a target moving object exists in the target area corresponding to the non-overlapped field angles of the first camera 1011 and the second camera 1012 is detected, so that the purpose of detecting whether the target moving object enters the corresponding area of the target image in advance can be achieved. If a target moving object exists in the target area, the target moving object may be about to enter the target image, thereby halting the exposure process. It is thus clear that this embodiment utilizes the angle of view difference that exists between two camera lenses, can perceive the people or the thing mistake of motion to go into the regional phenomenon of shooing in advance to in time pause exposure, thereby solve the user and when utilizing the long exposure function of shooing, in the in-process of shooing equipment shooing, often can meet other people or thing and get into the region of shooing, thereby lead to the problem of the smear phenomenon to appear in the photo, improve one slice rate.
Optionally, the processor 1010 is further configured to, when a target moving object exists in the target area of the first image, pause the process of exposing the target image by the first camera 1011 if the target moving object moves toward the first area; the first area is an area corresponding to the field angle of the first camera 1011.
Optionally, the processor 1010 is further configured to, when a target moving object exists in the target area of the first image, if the target moving object moves away from the first area, continue to expose the target image through the first camera 1011 to generate the target image.
Optionally, the processor 1010 is further configured to pause the process of exposing the target image by the first camera 1011 if the target moving object moves towards the first area until the distance from the first area is less than or equal to the first distance.
Optionally, the processor 1010 is further configured to continue to expose the target image through the first camera 1011 to generate the target image if the target moving object stops moving and remains still in the target area.
In summary, in the long exposure process, if a moving person or object suddenly enters the photographing region, whether the moving object enters the photographing region or not can be detected in real time in advance, so that the abnormal conditions of the photos such as the smear and the like caused by the fact that the moving person or object mistakenly enters the photographing region are avoided.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 1041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing photographing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing photographing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A shooting method is applied to a shooting device and is characterized in that the shooting device comprises a first camera and a second camera, and the field angle of the second camera covers and is larger than that of the first camera;
the method comprises the following steps:
acquiring a first image through the second camera in the process of exposing a target image by the first camera;
when a target moving object exists in a target area of the first image, pausing the process of exposing the target image by the first camera;
the target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera.
2. The method according to claim 1, wherein the suspending the exposure of the first camera to the target image when the target moving object exists in the target area of the first image comprises:
when a target moving object exists in a target area of the first image, if the target moving object moves towards the first area, pausing the process of exposing the target image by the first camera;
the first area is an area corresponding to the field angle of the first camera.
3. The method of claim 2, wherein after suspending the process of exposing the target image by the first camera, further comprising:
when a target moving object exists in the target area of the first image, if the target moving object moves away from the first area, continuing to expose the target image through the first camera to generate the target image.
4. The method according to claim 2, wherein the suspending the process of exposing the target image by the first camera if the target moving object moves toward the first area specifically comprises:
and if the target moving object moves towards the first area until the distance from the target moving object to the first area is less than or equal to the first distance, pausing the process of exposing the target image by the first camera.
5. The method of claim 1, further comprising:
and if the target moving object stops moving and keeps still in the target area, continuously exposing the target image through the first camera to generate the target image.
6. The photographing device is characterized by comprising a first camera and a second camera, wherein the field angle of the second camera covers and is larger than that of the first camera;
the device further comprises:
the acquisition module is used for acquiring a first image through the second camera in the process of exposing the target image by the first camera;
the pause module is used for pausing the process of exposing the target image by the first camera when a target moving object exists in the target area of the first image;
the target area is an area corresponding to the non-overlapped field angles of the first camera and the second camera.
7. The apparatus according to claim 6, wherein the pause module specifically includes:
the pause control unit is used for pausing the process of exposing the target image by the first camera if the target moving object moves towards the first area when the target moving object exists in the target area of the first image;
the first area is an area corresponding to the field angle of the first camera.
8. The apparatus of claim 7, further comprising:
the first exposure module is configured to, when a target moving object exists in a target area of the first image, continue to expose the target image through the first camera if the target moving object moves away from the first area, so as to generate the target image.
9. The apparatus according to claim 7, wherein the pause control unit specifically includes:
and the control subunit is used for pausing the process of exposing the target image by the first camera if the target moving object moves towards the first area until the distance from the first area is less than or equal to a first distance.
10. The apparatus of claim 6, further comprising:
and the second exposure module is used for continuing to expose the target image through the first camera to generate the target image when the target moving object stops moving and keeps still in the target area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011035170.5A CN112153291B (en) | 2020-09-27 | 2020-09-27 | Photographing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011035170.5A CN112153291B (en) | 2020-09-27 | 2020-09-27 | Photographing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112153291A true CN112153291A (en) | 2020-12-29 |
CN112153291B CN112153291B (en) | 2022-09-06 |
Family
ID=73895548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011035170.5A Active CN112153291B (en) | 2020-09-27 | 2020-09-27 | Photographing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112153291B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022156705A1 (en) * | 2021-01-20 | 2022-07-28 | 维沃移动通信(杭州)有限公司 | Photographing method, photographic apparatus and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108353129A (en) * | 2015-11-24 | 2018-07-31 | 三星电子株式会社 | Capture apparatus and its control method |
CN109040523A (en) * | 2018-08-16 | 2018-12-18 | Oppo广东移动通信有限公司 | Artifact eliminating method, device, storage medium and terminal |
CN109040524A (en) * | 2018-08-16 | 2018-12-18 | Oppo广东移动通信有限公司 | Artifact eliminating method, device, storage medium and terminal |
CN111147754A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Image processing method and electronic device |
WO2020113534A1 (en) * | 2018-12-06 | 2020-06-11 | 华为技术有限公司 | Method for photographing long-exposure image and electronic device |
CN111601040A (en) * | 2020-05-29 | 2020-08-28 | 维沃移动通信(杭州)有限公司 | Camera control method and device and electronic equipment |
-
2020
- 2020-09-27 CN CN202011035170.5A patent/CN112153291B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108353129A (en) * | 2015-11-24 | 2018-07-31 | 三星电子株式会社 | Capture apparatus and its control method |
CN109040523A (en) * | 2018-08-16 | 2018-12-18 | Oppo广东移动通信有限公司 | Artifact eliminating method, device, storage medium and terminal |
CN109040524A (en) * | 2018-08-16 | 2018-12-18 | Oppo广东移动通信有限公司 | Artifact eliminating method, device, storage medium and terminal |
WO2020113534A1 (en) * | 2018-12-06 | 2020-06-11 | 华为技术有限公司 | Method for photographing long-exposure image and electronic device |
CN111147754A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Image processing method and electronic device |
CN111601040A (en) * | 2020-05-29 | 2020-08-28 | 维沃移动通信(杭州)有限公司 | Camera control method and device and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022156705A1 (en) * | 2021-01-20 | 2022-07-28 | 维沃移动通信(杭州)有限公司 | Photographing method, photographic apparatus and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN112153291B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
CN112153301B (en) | Shooting method and electronic equipment | |
CN112822412B (en) | Exposure method, exposure device, electronic equipment and storage medium | |
CN112637500B (en) | Image processing method and device | |
CN112437232A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
WO2022161340A1 (en) | Image display method and apparatus, and electronic device | |
CN112954212B (en) | Video generation method, device and equipment | |
CN112422798A (en) | Photographing method and device, electronic equipment and storage medium | |
CN113794829A (en) | Shooting method and device and electronic equipment | |
CN113794831B (en) | Video shooting method, device, electronic equipment and medium | |
CN113709368A (en) | Image display method, device and equipment | |
EP4161056B1 (en) | Anti-shake method, anti-shake apparatus, and electronic device | |
CN114125226A (en) | Image shooting method and device, electronic equipment and readable storage medium | |
CN112153291B (en) | Photographing method and electronic equipment | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN113286085B (en) | Display control method and device and electronic equipment | |
CN115278047A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN114245018A (en) | Image shooting method and device | |
CN114245017A (en) | Shooting method and device and electronic equipment | |
CN112367464A (en) | Image output method and device and electronic equipment | |
CN113037996A (en) | Image processing method and device and electronic equipment | |
CN112291474A (en) | Image acquisition method and device and electronic equipment | |
CN112165584A (en) | Video recording method, video recording device, electronic equipment and readable storage medium | |
CN112399092A (en) | Shooting method and device and electronic equipment | |
CN112261262A (en) | Image calibration method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |