CN115802153A - Image shooting method and device, computer equipment and storage medium - Google Patents

Image shooting method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115802153A
CN115802153A CN202111056062.0A CN202111056062A CN115802153A CN 115802153 A CN115802153 A CN 115802153A CN 202111056062 A CN202111056062 A CN 202111056062A CN 115802153 A CN115802153 A CN 115802153A
Authority
CN
China
Prior art keywords
image
acquisition device
image acquisition
shooting
capturing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111056062.0A
Other languages
Chinese (zh)
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.)
Zeku Technology Shanghai Corp Ltd
Original Assignee
Zeku Technology Shanghai Corp 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 Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202111056062.0A priority Critical patent/CN115802153A/en
Priority to PCT/CN2022/118221 priority patent/WO2023036313A1/en
Publication of CN115802153A publication Critical patent/CN115802153A/en
Pending legal-status Critical Current

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
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image shooting method and device, computer equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: detecting an operation instruction for the first image acquisition device; in response to the operation instruction, shooting an image through a second image acquisition device, and determining target shooting parameters based on image characteristics of the shot image; through a first image acquisition device, images are shot based on target shooting parameters. According to the method, the second image acquisition device is used for shooting the image, the shooting parameters are determined based on the image characteristics of the image, and then the first image acquisition device can directly shoot the image based on the shooting parameters. Since the shooting parameters are determined based on the shot image, the quality of the image shot by the first image acquisition device based on the shooting parameters is high, and therefore, the shooting method ensures the quality of the image shot by the first image acquisition device.

Description

Image shooting method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an image shooting method, an image shooting device, computer equipment and a storage medium.
Background
With the wide application of the image sharing function, people increasingly demand for image quality, and how to shoot images with higher quality becomes a current research hotspot. In the related art, an image capturing apparatus generally captures an image based on default capturing parameters, and since the capturing parameters are fixed, the quality of the captured image cannot be guaranteed.
Disclosure of Invention
The embodiment of the application provides an image shooting method and device, computer equipment and a storage medium, which can ensure the quality of a shot image. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, there is provided an image capturing method, including:
detecting an operation instruction of a first image acquisition device, wherein the operation instruction is a starting instruction or a switching instruction of a shooting mode;
in response to the operation instruction, shooting an image through a second image acquisition device, and determining a target shooting parameter based on the image characteristics of the shot image;
and shooting images based on the target shooting parameters through the first image acquisition device.
According to another aspect of embodiments of the present application, there is provided an image photographing apparatus including:
the instruction detection module is used for detecting an operation instruction of the first image acquisition device, wherein the operation instruction is a starting instruction or a switching instruction of a shooting mode;
the parameter determining module is used for responding to the operation instruction, shooting an image through the second image acquisition device and determining target shooting parameters based on image characteristics of the shot image;
and the image shooting module is used for shooting images based on the target shooting parameters through the first image acquisition device.
According to another aspect of embodiments of the present application, there is provided a computer device comprising a processor and a memory; the memory stores at least one computer program for execution by the processor to implement the image capturing method as described in the above aspect.
According to another aspect of embodiments of the present application, there is provided a computer-readable storage medium storing at least one computer program for execution by a processor to implement the image capturing method as described in the above aspect.
According to another aspect of embodiments of the present application, there is provided a computer program product storing at least one computer program, which is loaded and executed by a processor to implement the image capturing method of the above aspect.
In the embodiment of the application, in response to an opening instruction or a switching instruction of a shooting mode of the first image acquisition device, the second image acquisition device is used for shooting an image, and shooting parameters are determined based on image characteristics of the image, so that the first image acquisition device can directly shoot the image based on the shooting parameters. Since the shooting parameters are determined based on the shot image, the quality of the image shot by the first image acquisition device based on the shooting parameters is high, and therefore, the shooting method ensures the quality of the image shot by the first image acquisition device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 illustrates a block diagram of a computer device, according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating an image capture method provided by an exemplary embodiment of the present application;
FIG. 3 illustrates a flow chart of an image capture method provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an image capture process provided by an exemplary embodiment of the present application;
fig. 5 is a block diagram illustrating an image capturing apparatus according to an exemplary embodiment of the present application;
fig. 6 is a block diagram illustrating a structure of an image capturing apparatus according to an exemplary embodiment of the present application;
FIG. 7 is a block diagram illustrating a computer device according to an exemplary embodiment of the present application;
fig. 8 is a block diagram illustrating a computer device according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The terms "first," "second," "third," "fourth," and the like as used herein may be used herein to describe various concepts, but these concepts are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first target area may be referred to as a target area, and similarly, a second target area may be referred to as a first target area, without departing from the scope of the present application.
The embodiment of the application provides an image shooting method, the execution subject is a computer device 100, and the computer device 100 can obtain high-quality images through shooting by the method provided by the application. In some embodiments, the computer device 100 is a terminal, for example, the terminal is a mobile phone, a video camera, a desktop computer, a notebook computer, a tablet computer, or other types of terminals.
In some embodiments, a first image capturing device 101 and a second image capturing device 102 are included in the computer apparatus 100. Optionally, the shooting ranges of the first image capturing device 101 and the second image capturing device 102 are consistent. Under the condition that the first image acquisition device 101 is in the closed state and the second image acquisition device 102 is in the open state, if an opening instruction for the first image acquisition device 101 is detected, the second image acquisition device 102 may first shoot an image, and shooting parameters are determined based on the shot image, and after the first image acquisition device 101 is opened, the shooting parameters can be directly adopted to shoot the image.
In some embodiments, the computer apparatus 100 further comprises other image acquisition devices than the first image acquisition device 101 and the second image acquisition device 102. The computer apparatus 100 can capture images through any one or more of a plurality of image capturing devices, which is not limited in the embodiments of the present application.
The image shooting method provided by the embodiment of the application can be applied to a scene of starting the image acquisition device. For example, a user triggers to turn on the first image capturing device 101, the terminal first captures an image through the second image capturing device 102 by using the time when the first image capturing device 101 is turned on, determines a capturing parameter based on an image feature of the image, and then directly captures the image based on the capturing parameter through the first image capturing device 101 when the first image capturing device 101 is turned on. Since the shooting parameters are determined based on the currently shot image, and the shooting parameters have high adaptability to the current shooting scene, the quality of the image shot by the first image acquisition device 101 can be ensured.
The image shooting method provided by the embodiment of the application can also be applied to a scene of switching the shooting mode, for example, when the first image acquisition device 101 is in an open state, a user triggers to switch the shooting mode of the first image acquisition device 101, the terminal utilizes the time of mode switching of the first image acquisition device 101 to shoot an image through the second image acquisition device 102, shooting parameters are determined based on image characteristics of the image, and then when the mode switching of the first image acquisition device 101 is completed, the first image acquisition device 101 directly shoots the image based on the shooting parameters. Of course, the image capturing method provided in the embodiment of the present application can also be applied to other scenes, for example, a scene of capturing a video, and the embodiment of the present application does not limit this.
Fig. 2 shows a flowchart of an image capturing method provided in an exemplary embodiment of the present application, and referring to fig. 2, the method includes:
201. the terminal detects an operation instruction of the first image acquisition device, wherein the operation instruction is a starting instruction or a switching instruction of a shooting mode.
The opening instruction is used for opening the first image acquisition device under the condition that the first image acquisition device is in a closed state. The switching instruction of the shooting mode is used for switching the current switching mode of the first image acquisition device under the condition that the first image acquisition device is in an open state. Optionally, the operation instruction can also be other instructions, which is not limited in this embodiment of the present application.
The first image acquisition device has a plurality of shooting modes, such as a portrait mode, a landscape mode, a night scene mode, a food mode, a photographing mode, a video recording mode, and the like. Optionally, the first image capturing device does not capture an image during the mode switching.
Optionally, the first image acquisition device is any camera in the terminal, for example, a front camera, a rear camera, and the like, which is not limited in this embodiment of the application.
202. The terminal responds to the operation instruction, images are shot through the second image acquisition device, and target shooting parameters are determined based on image characteristics of the shot images.
Optionally, the second image capturing device is an image capturing device that coincides with the shooting range of the first image capturing device. For example, the second image capturing device and the first image capturing device are both front-facing cameras, or both rear-facing cameras. Optionally, the second image capturing device is in an on state, that is, the terminal responds to the operation instruction, and can directly capture an image through the second image capturing device without restarting the second image capturing device.
Optionally, the image features comprise image content features and image quality features. The image content feature is a feature capable of reflecting the image content. For example, the image content characteristics include the number of people in the image, the proportion of buildings to the image, the proportion of landscapes to the image, whether the scene in which the image is captured is day or night, and the like. The image quality characteristics are characteristics that can reflect image quality, and include, for example, sharpness, brightness, color, and the like of an image. The definition of the image is high, the brightness is within the threshold range, the deviation between the color and the actual color of the object in the image is within the threshold range, which shows that the image quality of the image is high, the definition of the image is low, the brightness is not within the threshold range, the deviation between the color and the actual color of the object in the image is not within the threshold range, and which shows that the image quality of the image is low.
The photographing parameters can determine the quality of the photographed image. Alternatively, the shooting parameters include arbitrary parameters, such as a focus parameter, an exposure parameter, a white balance parameter, and the like. The focus parameter is used for indicating an object focused in the shot image, the exposure parameter is used for indicating the brightness of the shot image, and the white balance parameter is used for indicating the color of the image. Alternatively, the exposure parameters include an exposure time period, an aperture value, and the like.
Alternatively, the target shooting parameters determined by the terminal based on the image characteristics of the image are used for improving the image quality of the shot image, for example, if the brightness of the image shot by the second image acquisition device is too low to be within the brightness threshold range, the determined target shooting parameters can improve the brightness of the shot image. For another example, the image captured by the second image capturing device is not focused on a person, which results in blurring of the image of the area where the person is located, and the determined target capturing parameter indicates to focus the image capturing device on the person, so as to improve the sharpness of the person in the captured image, and the like.
203. The terminal shoots images based on the target shooting parameters through the first image acquisition device.
Optionally, when the first image capturing device completes executing the operation instruction, the image is captured based on the target capturing parameter directly, and since the target capturing parameter is determined based on the image feature of the image captured by the second image capturing device, the target capturing parameter is more adapted to the current capturing scene compared with the default capturing parameter, thereby ensuring the image quality of the image captured by the first image capturing device.
In the embodiment of the application, in response to an opening instruction of a first image acquisition device or a switching instruction of a shooting mode, an image is shot by a second image acquisition device by using the time for opening the first image acquisition device or the time for switching the shooting mode, and shooting parameters are determined based on image characteristics of the image, so that the first image acquisition device can directly shoot the image based on the shooting parameters. Since the shooting parameters are determined based on the shot images, the quality of the images shot by the first image acquisition device based on the shooting parameters is high, and therefore, the shooting method ensures the quality of the images shot by the first image acquisition device.
Fig. 3 shows a flowchart of an image capturing method provided in an exemplary embodiment of the present application, and referring to fig. 3, the method includes:
301. the terminal detects an operation instruction of the first image acquisition device, wherein the operation instruction is a starting instruction or a switching instruction of a shooting mode.
Optionally, the terminal displays a start control of the first image acquisition device, the user can start the first image acquisition device by triggering the start control, and correspondingly, the terminal determines that a start instruction is detected in response to a triggering operation of the start control. Optionally, when the first image acquisition device is in an on state, the terminal displays mode selection controls corresponding to multiple shooting modes, and a user triggers the mode selection control corresponding to any one of the shooting modes to switch the shooting mode to the shooting mode corresponding to the mode selection control. Correspondingly, the terminal responds to the selection operation of any mode selection control, and under the condition that the current shooting mode of the first image acquisition device is different from the shooting mode corresponding to the mode selection control, the switching instruction of the shooting mode is determined to be detected.
302. The terminal responds to the operation instruction, the second image acquisition device shoots images, and current shooting parameters of the second image acquisition device are adjusted based on image characteristics of the images.
Optionally, the image captured by the second image capturing device is in any format, for example, RAW (RAW) format, which is not limited in this embodiment of the present application.
In a possible implementation manner, the terminal responds to the operation instruction, and captures an image through the second image acquisition device, including: and the terminal responds to the operation instruction, selects a second image acquisition device consistent with the shooting range of the first image acquisition device from at least two image acquisition devices except the first image acquisition device, and shoots images through the second image acquisition device.
In the embodiment of the application, the second image acquisition device which is consistent with the shooting range of the first image acquisition device is selected from the plurality of image acquisition devices, so that the scene shot by the second image acquisition device is more consistent with the scene shot by the first image acquisition device, therefore, the shooting parameters determined based on the image characteristics of the image shot by the second image acquisition device are more adaptive to the scene shot by the first image acquisition device, and the quality of the image shot by the first image acquisition device is ensured.
Optionally, the terminal responds to the operation instruction, selects a second image capturing device which is consistent with the shooting range of the first image capturing device from at least two image capturing devices except the first image capturing device, and includes: and the terminal responds to the operation instruction, and selects a second image acquisition device which is consistent with the shooting range of the first image acquisition device and is in an opening state from at least two image acquisition devices except the first image acquisition device.
In the embodiment of the application, the second image acquisition device which is consistent with the shooting range of the first image acquisition device and is in the opening state is selected from the plurality of image acquisition devices, so that the terminal can directly shoot images through the second image acquisition device, the time for opening the second image acquisition device is saved, the efficiency for determining the target shooting parameters can be improved, the first image acquisition device can shoot images based on the shooting parameters as early as possible, and the image output efficiency of the first image acquisition device is improved.
Optionally, the terminal, in response to the operation instruction, captures an image through the second image capturing device, and adjusts a current capturing parameter of the second image capturing device based on an image feature of the image, including: and the terminal responds to the operation instruction, one frame of image is shot through the second image acquisition device every time, and the current shooting parameters of the second image acquisition device are adjusted based on the image characteristics of the image. Or the terminal responds to the operation instruction, a plurality of frames of images are shot through the second image acquisition device each time, one frame of image is selected from the plurality of frames of images, and the current shooting parameters are adjusted based on the image characteristics of the images.
In a possible implementation manner, the original shooting parameters of the second image acquisition device include at least one of an original shooting frame rate or an original resolution, and in this embodiment, the terminal responds to the operation instruction, and before shooting the image by the second image acquisition device, the shooting parameters of the second image acquisition device are adjusted first, that is, the terminal responds to the operation instruction, and at least one of the shooting frame rate or the resolution of the second image acquisition device is increased, so as to obtain the adjusted shooting parameters; and shooting the image according to the adjusted shooting parameters through a second image acquisition device.
In the embodiment of the application, the shooting frame rate of the second image acquisition device is increased, so that the terminal can obtain enough images to determine the target shooting parameters in the process of executing the operation instruction by the first image acquisition device, and the accuracy of the target shooting parameters is ensured in the angle of the number of the images. And the resolution ratio of the second image acquisition device is increased, so that the terminal can obtain an image with high resolution ratio to determine the target shooting parameters in the process of executing the operation instruction by the first image acquisition device, and the accuracy of the determined target shooting parameters is ensured from the aspect of image quality. In addition, the terminal only increases the shooting frame rate or resolution of the second image acquisition device when the second image acquisition device is needed to determine the target shooting parameters, so that the power consumption of the terminal can be reduced.
303. And the terminal determines the adjusted shooting parameters as target shooting parameters.
In the embodiment of the application, the terminal firstly shoots the image through the second image acquisition device, and the current shooting parameters are adjusted based on the image characteristics of the shot image, so that the adaptability of the shooting parameters and the current shooting scene is ensured, and the quality of the image shot by the first image acquisition device based on the shooting parameters is ensured.
In a possible implementation manner, the determining, by the terminal, the adjusted shooting parameter as the target shooting parameter includes: and the terminal determines the current shooting parameters of the second image acquisition device as the target shooting parameters under the condition that the first image acquisition device executes the operation instruction. And the first image acquisition device executes the operation instruction to finish starting the first image acquisition device or finishing switching the shooting mode.
In the embodiment of the application, in the process that the first image acquisition device executes the operation instruction, the terminal continuously shoots images through the second image acquisition device and continuously adjusts the current shooting parameters based on the shot images, so that the shooting parameters are optimized, and the adaptability of the shooting parameters and the shooting scene is improved. Under the condition that the first image acquisition device completes the execution of the operation instruction, namely, under the condition that the first image acquisition device can shoot the image, the current shooting parameters of the second image acquisition device are determined as the target shooting parameters, the target shooting parameters have the highest adaptability with the current shooting scene, and the quality of the image shot by the first image acquisition device is ensured.
304. The terminal shoots images based on the target shooting parameters through the first image acquisition device.
In a possible implementation manner, after the terminal captures an image based on the target capturing parameters through the first image acquisition device, the capturing parameters are further adjusted based on the captured image. That is, the terminal adjusts the current shooting parameters of the first image acquisition device based on the image characteristics of the image shot by the first image acquisition device or the third image acquisition device. The third image acquisition device is any image acquisition device which is consistent with the shooting range of the first image acquisition device.
Optionally, the adjusting, by the terminal, the current shooting parameter of the first image capturing device based on the image feature of the image captured by the first image capturing device or the third image capturing device includes: when the terminal shoots a frame of image through the first image acquisition device or the third image acquisition device each time, current shooting parameters of the first image acquisition device are adjusted based on image characteristics of the image. Optionally, the third image capturing device is in a normally open state, that is, after the terminal is turned on, the third image capturing device is in an open state, and captures an image according to the configured capturing frame rate and resolution.
In the embodiment of the application, it is considered that the third image acquisition device and the first image acquisition device can both shoot the current scene to obtain the image, so that the current shooting parameters of the first image acquisition device are adjusted not only based on the image shot by the first image acquisition device, but also based on the image shot by the third image acquisition device, the adjustment efficiency of the shooting parameters of the first image acquisition device can be improved, and the process of adapting the shooting parameters of the first image acquisition device to the current shooting scene is accelerated.
In a possible implementation manner, the terminal responds to the operation instruction, and before the second image acquisition device shoots the image, shooting parameters of the second image acquisition device are adjusted. Correspondingly, the terminal shoots the image through the second image acquisition device, and after the target shooting parameters are determined based on the image characteristics of the shot image, the shooting parameters of the second image acquisition device are restored to the original shooting parameters. That is, the terminal further performs at least one of the following: the terminal restores the shooting frame rate of the second image acquisition device to the original shooting frame rate; and restoring the resolution of the second image acquisition device to the original resolution.
Optionally, the restoring, by the terminal, the shooting frame rate of the second image acquisition device to the original shooting frame rate includes: the terminal transmits the target shooting parameters to the second image acquisition device through the second image acquisition device and then restores the shooting frame rate to the original shooting frame rate, or the terminal transmits the target shooting parameters to the second image acquisition device through the second image acquisition device and then restores the shooting frame rate to the original shooting frame rate under the condition that the second image acquisition device receives the parameter configuration completion notification transmitted by the first image acquisition device. The implementation manner of the terminal restoring the resolution of the second image acquisition device to the original resolution and the terminal restoring the shooting frame rate of the second image acquisition device to the original shooting frame rate are the same, and the details are not repeated here.
In the embodiment of the application, the power consumption of the terminal is increased in consideration of the increase of the shooting frame rate and the resolution of the second image acquisition device, so that the second image acquisition device shoots an image, the shooting frame rate of the second image acquisition device is restored to the original shooting frame rate after the target shooting parameters are determined based on the image characteristics of the shot image, the resolution is restored to the original resolution, the power consumption of the terminal can be reduced, and the influence on the performance of the terminal is reduced.
Optionally, after the terminal shoots an image based on the target shooting parameters through the first image acquisition device, the image is displayed in a shooting interface of the terminal, so that after a user opens the first image acquisition device or switches a shooting mode of the first image acquisition device, the image which is initially presented in the shooting interface is adapted to the current shooting scene, the quality of the image is high, and the user experience is improved.
It should be noted that, in the case of shooting a video by the first image capturing device, since the shooting parameters adopted by the first image capturing device are determined based on the image shot by the second image capturing device, and the shooting scene is adapted to the current shooting scene, the image quality of the first frames of images in the video shot by the first image capturing device is better, and the quality of the shot video is improved.
Fig. 4 is a schematic diagram of an image capturing process, and referring to fig. 4, the second image capturing device is in an on state, and partial capturing parameters, such as a debounce parameter, are determined based on image characteristics of a captured image. The first image acquisition device is in a closed state, the terminal continuously monitors a starting event of the first image acquisition device, and after a user triggers and opens the first image acquisition device, the terminal informs the monitored starting event of the second image acquisition device. And after the second image acquisition device determines that the starting event of the first image acquisition device occurs, adjusting the shooting frame rate and the resolution ratio, and shooting the image based on the adjusted shooting frame rate and resolution ratio. Then, the second image pickup device determines a part of the photographing parameters, such as an exposure parameter, a white balance parameter, a focus parameter, etc., based on the image characteristics of the photographed image, and transmits all the determined photographing parameters to the first image pickup device. The first image acquisition device is configured according to the shooting parameters, and then images are shot according to the configured shooting parameters. After the configuration of the shooting parameters is completed, the first image acquisition device sends a parameter configuration completion notification to the second image acquisition device, and the first image acquisition device restores the shooting frame rate and the resolution to the original shooting frame rate and the original resolution based on the notification.
Fig. 5 is a block diagram showing the structure of the image capturing apparatus. Referring to fig. 5, the left side is a block diagram of the structure of the second image capturing device, and the right side is a block diagram of the structure of the first image capturing device. As can be seen from fig. 5, although there is an overlapping portion between the first image capturing device and the second image capturing device, for example, the second image capturing device and the first image capturing device share a part of the service interface, most modules of the two image capturing devices operate independently, so that the target shooting parameters can be determined through the image shot by the second image capturing device for shooting by the first image capturing device. Moreover, the whole structure of the second image acquisition device is more simplified, the communication efficiency is higher, and compared with the first image acquisition device, the second image acquisition device can acquire image data earlier, so that the timeliness of the shooting parameters provided for the first image acquisition device is guaranteed. It should be noted that the structures of the first image capturing device and the second image capturing device are only exemplary, and the embodiments of the present application do not limit this.
In the embodiment of the application, in response to an opening instruction of a first image acquisition device or a switching instruction of a shooting mode, an image is shot by a second image acquisition device by using the time for opening the first image acquisition device or the time for switching the shooting mode, and shooting parameters are determined based on image characteristics of the image, so that the first image acquisition device can directly shoot the image based on the shooting parameters. Since the shooting parameters are determined based on the shot images, the quality of the images shot by the first image acquisition device based on the shooting parameters is high, and therefore, the shooting method ensures the quality of the images shot by the first image acquisition device.
The following are embodiments of an apparatus of the present application that can be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a block diagram of an image capturing apparatus according to an exemplary embodiment of the present disclosure is shown. The image photographing apparatus includes:
the instruction detection module 601 is configured to detect an operation instruction for the first image acquisition device, where the operation instruction is a start instruction or a switching instruction of a shooting mode;
a parameter determining module 602, configured to capture an image through the second image capturing device in response to an operation instruction, and determine a target capturing parameter based on an image feature of the captured image;
the image shooting module 603 is configured to shoot an image based on the target shooting parameter through the first image capturing device.
In one possible implementation, the parameter determining module 602 includes:
the parameter adjusting unit is used for responding to the operation instruction, shooting the image through the second image acquisition device and adjusting the current shooting parameters of the second image acquisition device based on the image characteristics of the image;
and the parameter determining unit is used for determining the adjusted shooting parameters as the target shooting parameters.
In a possible implementation manner, the parameter determining unit is configured to determine, as the target shooting parameter, a current shooting parameter of the second image capturing apparatus when the first image capturing apparatus completes executing the operation instruction.
In a possible implementation manner, the parameter determining module 602 is configured to select, in response to the operation instruction, a second image capturing device that is consistent with a shooting range of the first image capturing device from at least two image capturing devices other than the first image capturing device, and shoot an image through the second image capturing device.
In one possible implementation, the apparatus further includes:
the parameter adjusting module is used for adjusting the current shooting parameters of the first image acquisition device based on the image characteristics of the image shot by the first image acquisition device or the third image acquisition device; the third image acquisition device is any image acquisition device which is consistent with the shooting range of the first image acquisition device.
In one possible implementation manner, the original shooting parameters of the second image acquisition device include at least one of an original shooting frame rate or an original resolution;
a parameter determining module 602, configured to increase at least one of a shooting frame rate or a resolution of the second image acquisition device to obtain an adjusted shooting parameter; and shooting the image according to the adjusted shooting parameters through a second image acquisition device.
In one possible implementation, the parameter determining module 602 is further configured to perform at least one of the following:
restoring the shooting frame rate of the second image acquisition device to the original shooting frame rate;
and restoring the resolution of the second image acquisition device to the original resolution.
In the embodiment of the application, in response to an opening instruction of a first image acquisition device or a switching instruction of a shooting mode, by using the time for opening the first image acquisition device or the time for switching the mode, an image is shot by a second image acquisition device, and shooting parameters are determined based on image characteristics of the image, so that the first image acquisition device can directly shoot the image based on the shooting parameters. Since the shooting parameters are determined based on the shot image, the quality of the image shot by the first image acquisition device based on the shooting parameters is high, and therefore, the shooting method ensures the quality of the image shot by the first image acquisition device.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, the division of each functional module is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, which are not described herein again.
Referring to fig. 7, which shows a block diagram of a computer device according to an exemplary embodiment of the present application, the computer device 700 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 701 and one or more memories 702, where the memory 702 stores therein at least one computer program that is loaded by the processors 701 and executed to implement the methods provided by the above method embodiments. Certainly, the computer device may further have a wired or wireless network interface, a keyboard, an input/output interface, and other components to facilitate input and output, and the computer device may further include other components for implementing functions of the device, which are not described herein again.
Referring to fig. 8, a block diagram of a computer device according to an exemplary embodiment of the present application is shown. In some embodiments, the computer device 800 is a smartphone, tablet, wearable device, or the like capable of accessing a wireless local area network as a wireless site. The computer device 800 in the present application includes at least one or more of the following components: a processor 810, a memory 820, and at least two wireless links 830.
In some embodiments, processor 810 includes one or more processing cores. The processor 810 connects various parts within the overall computer device 800 using various interfaces and lines, performs various functions of the computer device 800 and processes data by operating or executing program codes stored in the memory 820 and calling data stored in the memory 820. In some embodiments, the processor 810 is implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 810 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the NPU is used to implement an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 810, but may be implemented by a single chip.
In some embodiments, the processor 810 is configured to control the operation of at least two Wireless links 830, and accordingly, the processor 810 is a processor integrated with a Wireless Fidelity (Wi-Fi) chip. Wherein, the Wi-Fi chip is a chip with double Wi-Fi processing capacity. For example, the Wi-Fi chip is a Dual Band Dual Current (DBDC) chip, a Dual Band Simultaneous (DBS) chip, or the like.
In some embodiments, memory 820 comprises a Random Access Memory (RAM), and in some embodiments, memory 820 comprises a Read-Only Memory (ROM). In some embodiments, the memory 820 includes a non-transitory computer-readable medium. Memory 820 may be used to store program code. The memory 820 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the stored data area may store data (such as audio data, a phonebook) created according to the use of the computer device 800, and the like.
In some embodiments, memory 820 stores different reception schemes for receiving beacon frames for wireless link 830. And the identity of the access node to which the different radio link 830 is connected, the identity of the radio link 830, etc.
The at least two wireless links 830 are used to connect different Access Points (APs). And receiving downlink data issued by the AP. Wherein, the different access nodes are the access nodes in the same router or the access nodes in different routers.
In some embodiments, a display screen is also included in the computer device 800. A display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, and a user can perform a touch operation on the display screen by using any suitable object such as a finger, a touch pen, and the like. In some embodiments, the display screen is typically provided on the front panel of the computer device 800. In some embodiments, the display screen is designed as a full-face screen, curved screen, contoured screen, double-face screen, or folded screen. In some embodiments, the display screen is further designed to be a combination of a full-face screen and a curved-face screen, a combination of a special-shaped screen and a curved-face screen, and the like, which is not limited by the embodiment.
In addition, those skilled in the art will appreciate that the configuration of the computer device 800 illustrated in the above-described figures does not constitute a limitation of the computer device 800, as the computer device 800 may include more or less components than those illustrated, or may combine certain components, or may be arranged in different components. For example, the computer device 800 further includes a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, a bluetooth module, and other components, which are not described herein again.
The present application also provides a computer-readable medium storing at least one computer program, which is loaded and executed by the processor to implement the image capturing method as shown in the above embodiments.
The present application also provides a computer program product storing at least one computer program, which is loaded and executed by the processor to implement the image capturing method as shown in the above embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps in the image capturing method according to the above embodiments may be implemented by hardware, or may be implemented by a program instructing associated hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like. The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. An image capturing method, characterized in that the method comprises:
detecting an operation instruction of a first image acquisition device, wherein the operation instruction is a starting instruction or a switching instruction of a shooting mode;
in response to the operation instruction, shooting an image through a second image acquisition device, and determining a target shooting parameter based on the image characteristics of the shot image;
and shooting images based on the target shooting parameters through the first image acquisition device.
2. The method according to claim 1, wherein the capturing an image by a second image capturing device in response to the operation instruction, and determining a target capturing parameter based on an image feature of the captured image comprises:
responding to the operation instruction, shooting an image through the second image acquisition device, and adjusting the current shooting parameters of the second image acquisition device based on the image characteristics of the image;
and determining the adjusted shooting parameters as the target shooting parameters.
3. The method according to claim 2, wherein the determining the adjusted shooting parameters as the target shooting parameters comprises:
and under the condition that the first image acquisition device completes the execution of the operation instruction, determining the current shooting parameters of the second image acquisition device as the target shooting parameters.
4. The method according to claim 1, wherein the capturing an image by a second image capturing device in response to the operation instruction comprises:
and responding to the operation instruction, selecting a second image acquisition device which is consistent with the shooting range of the first image acquisition device from at least two image acquisition devices except the first image acquisition device, and shooting images through the second image acquisition device.
5. The method of claim 1, wherein after the capturing of the image based on the target capture parameter by the first image capture device, the method further comprises:
adjusting the current shooting parameters of the first image acquisition device based on the image characteristics of the image shot by the first image acquisition device or the third image acquisition device;
the third image acquisition device is any image acquisition device which is consistent with the shooting range of the first image acquisition device.
6. The method of claim 1, wherein the raw shooting parameters of the second image acquisition device comprise at least one of a raw shooting frame rate or a raw resolution;
the image is shot through a second image acquisition device, including:
increasing at least one of the shooting frame rate or the resolution of the second image acquisition device to obtain an adjusted shooting parameter;
and shooting images according to the adjusted shooting parameters through the second image acquisition device.
7. The method according to claim 6, wherein after the image is captured by the second image capturing device and the target capturing parameter is determined based on the image feature of the captured image, the method further comprises at least one of:
restoring the shooting frame rate of the second image acquisition device to the original shooting frame rate;
and restoring the resolution of the second image acquisition device to the original resolution.
8. An image capturing apparatus, characterized in that the apparatus comprises:
the image acquisition device comprises an instruction detection module, a first image acquisition device and a second image acquisition device, wherein the instruction detection module is used for detecting an operation instruction of the first image acquisition device, and the operation instruction is a starting instruction or a switching instruction of a shooting mode;
the parameter determining module is used for responding to the operation instruction, shooting an image through the second image acquisition device and determining target shooting parameters based on image characteristics of the shot image;
and the image shooting module is used for shooting images based on the target shooting parameters through the first image acquisition device.
9. A computer device, wherein the computer device comprises a processor and a memory; the memory stores at least one computer program for execution by the processor to implement the image capturing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores at least one computer program for execution by a processor to implement the image capturing method according to any one of claims 1 to 7.
CN202111056062.0A 2021-09-09 2021-09-09 Image shooting method and device, computer equipment and storage medium Pending CN115802153A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111056062.0A CN115802153A (en) 2021-09-09 2021-09-09 Image shooting method and device, computer equipment and storage medium
PCT/CN2022/118221 WO2023036313A1 (en) 2021-09-09 2022-09-09 Image photographing method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111056062.0A CN115802153A (en) 2021-09-09 2021-09-09 Image shooting method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115802153A true CN115802153A (en) 2023-03-14

Family

ID=85416946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111056062.0A Pending CN115802153A (en) 2021-09-09 2021-09-09 Image shooting method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115802153A (en)
WO (1) WO2023036313A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141841A (en) * 2015-08-25 2015-12-09 上海兆芯集成电路有限公司 Camera equipment and method therefor
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107147837A (en) * 2017-06-30 2017-09-08 维沃移动通信有限公司 The method to set up and mobile terminal of a kind of acquisition parameters
EP3435669A1 (en) * 2017-07-25 2019-01-30 Guangdong OPPO Mobile Telecommunications Corp., Ltd. Method and device for adjusting white balance and storage medium
CN112352417A (en) * 2019-10-31 2021-02-09 深圳市大疆创新科技有限公司 Focusing method of shooting device, system and storage medium
WO2021136078A1 (en) * 2019-12-31 2021-07-08 RealMe重庆移动通信有限公司 Image processing method, image processing system, computer readable medium, and electronic apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413324A (en) * 2017-08-16 2019-03-01 中兴通讯股份有限公司 A kind of image pickup method and mobile terminal
CN110213494B (en) * 2019-07-03 2021-05-11 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium
CN110913131B (en) * 2019-11-21 2021-05-11 维沃移动通信有限公司 Moon shooting method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141841A (en) * 2015-08-25 2015-12-09 上海兆芯集成电路有限公司 Camera equipment and method therefor
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107147837A (en) * 2017-06-30 2017-09-08 维沃移动通信有限公司 The method to set up and mobile terminal of a kind of acquisition parameters
EP3435669A1 (en) * 2017-07-25 2019-01-30 Guangdong OPPO Mobile Telecommunications Corp., Ltd. Method and device for adjusting white balance and storage medium
CN112352417A (en) * 2019-10-31 2021-02-09 深圳市大疆创新科技有限公司 Focusing method of shooting device, system and storage medium
WO2021136078A1 (en) * 2019-12-31 2021-07-08 RealMe重庆移动通信有限公司 Image processing method, image processing system, computer readable medium, and electronic apparatus

Also Published As

Publication number Publication date
WO2023036313A1 (en) 2023-03-16

Similar Documents

Publication Publication Date Title
CN108605097B (en) Optical imaging method and device
CN111669493B (en) Shooting method, device and equipment
JP7226851B2 (en) Image processing method, apparatus and device
JP7266672B2 (en) Image processing method, image processing apparatus, and device
JP2021100249A (en) Shooting and user interface using night shooting mode processing
CN106534667B (en) Distributed collaborative rendering method and terminal
CN109089043B (en) Shot image preprocessing method and device, storage medium and mobile terminal
CN108419008B (en) Shooting method, terminal and computer readable storage medium
CN112153272B (en) Image shooting method and electronic equipment
US12003850B2 (en) Method for selecting image based on burst shooting and electronic device
CN107454344B (en) A kind of acquisition parameters setting method and user terminal
CN113179374A (en) Image processing method, mobile terminal and storage medium
CN113497880A (en) Method for shooting image and electronic equipment
CN111835941B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN117135257A (en) Image display method and electronic equipment
CN115802153A (en) Image shooting method and device, computer equipment and storage medium
KR20110138859A (en) Mobile terminal and control method thereof
CN111866384A (en) Shooting control method, mobile terminal and computer storage medium
CN111614901A (en) Image shooting method and device, storage medium and terminal
RU2794062C2 (en) Image processing device and method and equipment
CN116051435B (en) Image fusion method and electronic equipment
CN115426449B (en) Photographing method and terminal
CN115696019A (en) Image processing method, image processing device, computer equipment and storage medium
CN117560579A (en) Shooting processing method, shooting processing device, electronic equipment and storage medium
CN115878179A (en) Information processing method, information processing device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination