CN112887602A - Camera switching method and device, storage medium and electronic equipment - Google Patents

Camera switching method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112887602A
CN112887602A CN202110105787.8A CN202110105787A CN112887602A CN 112887602 A CN112887602 A CN 112887602A CN 202110105787 A CN202110105787 A CN 202110105787A CN 112887602 A CN112887602 A CN 112887602A
Authority
CN
China
Prior art keywords
camera
image
proportion
determining
target
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
CN202110105787.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110105787.8A priority Critical patent/CN112887602A/en
Publication of CN112887602A publication Critical patent/CN112887602A/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
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • 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/67Focus control based on electronic image sensor signals
    • H04N23/671Focus control based on electronic image sensor signals in combination with active ranging signals, e.g. using light or sound signals emitted toward objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/958Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging
    • H04N23/959Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging by adjusting depth of field during image capture, e.g. maximising or setting range based on scene characteristics

Landscapes

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

Abstract

The embodiment of the application discloses a camera switching method, a camera switching device, a storage medium and electronic equipment, wherein a first image obtained by shooting a target scene by a current camera is obtained; determining a focusing area of the first image, and determining a focal plane area of the first image according to the focusing area; calculating a first proportion of the focal plane area in the first image; and determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera. Based on the scheme, the target camera to be switched is predicted according to the image data output by the current camera, the target camera is initialized in advance, and when the switching condition is met, the current camera can be directly switched to the target camera, so that the camera switching efficiency is improved.

Description

Camera switching method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a camera switching method and apparatus, a storage medium, and an electronic device.
Background
With the continuous development of intelligent terminal technology, the use of electronic devices (such as smart phones, tablet computers, and the like) is becoming more and more popular. Most of electronic devices are built-in with cameras, and with the enhancement of processing capability of mobile terminals and the development of camera technologies, users have higher and higher requirements for the quality of shot images.
For example, more and more electronic devices are now provided with multiple cameras, which generally support different zoom multiples, and at present, a switching scheme between the multiple cameras generally determines a timing for switching the cameras and a target camera to be switched according to adjustment of the zoom multiple by a user, in such a manner that when the zoom multiple selected by the user exceeds a zoom range supported by a current camera, the switching of the cameras is performed, but the switching speed of the switching scheme is slow.
Disclosure of Invention
The embodiment of the application provides a camera switching method and device, a storage medium and electronic equipment, which can predict a camera to be switched and perform initialization post-processing in advance so as to improve the switching speed of the camera.
In a first aspect, an embodiment of the present application provides a camera switching method, including:
acquiring a first image obtained by shooting a target scene by a current camera;
determining a focusing area of the first image, and determining a focal plane area of the first image according to the focusing area;
calculating a first proportion of the focal plane area in the first image;
and determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera.
In a second aspect, an embodiment of the present application further provides a camera switching device, including:
the image acquisition module is used for acquiring a first image obtained by shooting a target scene by a current camera;
the focal plane determining module is used for determining a focusing area of the first image and determining the focal plane area of the first image according to the focusing area;
the proportion calculation module is used for calculating a first proportion of the focal plane area in the first image;
and the switching control module is used for determining a target camera to be switched from the plurality of cameras according to the first proportion and initializing the target camera.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the camera switching method provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the camera switching method according to any embodiment of the present application by calling the computer program.
According to the technical scheme, the focal plane area of the first image output by the current camera is determined, the target camera to be switched is predicted according to the first proportion occupied by the focal plane area in the first image, initialization processing is carried out on the target camera in advance, when the switching condition is met, the current camera can be directly switched to the target camera, and the camera switching efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of a camera switching method according to an embodiment of the present application.
Fig. 2 is a first schematic view of an electronic device according to an embodiment of the present application.
Fig. 3 is a schematic view of a first application scenario of a camera switching method according to an embodiment of the present application.
Fig. 4 is a schematic view of a second application scenario of the camera switching method according to the embodiment of the present application.
Fig. 5 is a schematic diagram of a first distance determining method in a camera switching method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of reference feature points in a camera switching method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a camera switching device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a second electronic device according to an 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. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the camera switching method may be the camera switching device provided in the embodiment of the present application, or an electronic device integrated with the camera switching device, where the camera switching device may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a first flowchart illustrating a camera switching method according to an embodiment of the present disclosure. The specific process of the camera switching method provided by the embodiment of the application can be as follows:
101. the method comprises the steps of obtaining a first image obtained by shooting a target scene through a current camera.
The embodiment of the application can be used for the electronic equipment provided with two or more than two cameras with different focal lengths. For convenience of explanation, the electronic device includes three cameras with different focal lengths. Referring to fig. 2, fig. 2 is a first schematic view of an electronic device according to an embodiment of the present disclosure. The electronic apparatus is provided with three cameras, a wide camera S1, a main camera S2, and a tele camera S3. The focal length of the wide-angle camera S1 is smaller than that of the main camera S2, and the focal length of the main camera S2 is smaller than that of the tele-focus camera S3. For example, in one embodiment, the main camera S2 has an equivalent focal length of 26mm, which achieves 1-fold zoom, generally denoted as 1X at the shooting interface; the equivalent focal length of the wide-angle camera S1 is 16mm, 0.6-time zooming can be realized, and the equivalent focal length is generally expressed as 0.6X at a shooting interface; the equivalent focal length of the tele camera S3 is 130mm, which can achieve 5 times zoom, generally denoted as 5X at the shooting interface.
The main camera S2 of most electronic devices such as smart phones is generally equivalent to a wide-angle lens of about 28 mm. The picture shot by the main camera is very close to the picture seen by human eyes, and the picture shot by the main camera is relatively 'real-written'. The wide-angle camera S1 can have wider visual field than the main camera S2, has a larger viewing range, is suitable for shooting wind, light and buildings, can obtain the picture sense with impact force, and can embody the depth sense and the space sense of the picture. The long-focus camera S3 can shoot objects at a far position, can effectively blur the main body with the outstanding background, shorten the distance between the foreground and the background, and enhance the relation between the foreground and the background.
According to the scheme of the embodiment of the application, the image which is output in real time by the current camera is analyzed, whether the user wants to zoom in or a larger view range is judged, and then the target camera to be switched is determined.
102. A focused area of the first image is determined, and a focal plane area of the first image is determined according to the focused area.
Assuming that the current camera is the main camera S2, the main camera S2 exposes the shooting scene at the shooting frame rate and outputs consecutive first images, which constitute an image frame sequence. And after a first image output by the current camera is acquired, the first image is displayed on a preview interface.
Acquiring a first image output by a current camera, and determining a focusing area of the first image. The focusing area refers to an area where a focusing frame on a display interface is located when the focusing is performed automatically or manually by a user. And after the focusing area is determined, determining a focal plane area of the first image according to the focusing area.
Illustratively, in one embodiment, the step of determining a focus area of the first image and determining a focal plane area of the first image based on the focus area comprises: determining a focusing area of the first image, and calculating depth information of the first image; determining the depth value of the focusing area according to the depth information; and determining the area where the pixel point with the depth value in the first image is located as the focal plane area of the first image.
The depth information of the image comprises the distance between each pixel point and the camera. According to the depth information of the first image, a depth value from a focusing area to the camera can be acquired, and the depth value represents the distance from a focal plane to the camera, wherein the focal plane is a plane where the focusing area is located and is perpendicular to a main axis of the camera.
And after the depth value from the focusing area to the camera is determined, determining the area where the pixel point with the depth value in the first image is located as the focal plane area of the first image.
In some embodiments, the focusing area and the area formed by the pixel points connected with the focusing area and having the depth values are determined as the focal plane area of the first image.
The area that is most concerned by the user when taking a picture is the focusing area, the focusing area is also generally in a center of the first image, and some pixel points in the first image that are farther away from the focusing area may also have the same depth value as the focusing area, but the distance between the object corresponding to these pixel points and the object corresponding to the focusing area may be farther, for example, at the edge of the image, so that even though they have the same depth value as the focusing area, they do not belong to the object concerned by the user, therefore, in this embodiment, these pixel points may be excluded when determining the focal plane area, and only the focusing area and the area formed by the pixel points connected to the focusing area and having the depth value are determined as the focal plane area of the first image. For example, when there is an object a in the shooting scene, and all parts of the object a are almost on one plane, and only a partial region on the object a is focused during focusing, after the focal plane region is determined as described above, all regions where the object a is located may be determined as the focal plane region, and an object that is farther from the object a and is on the same plane as the object a may not be determined as the focal plane region.
It will of course be appreciated that in other embodiments, pixel points in the first image having the same depth value as the in-focus area may all be determined to be focal plane areas.
103. A first proportion of the focal plane area in the first image is calculated.
In photographing, probably the photographing effect of the focal plane area is most concerned by the user. Under the condition that the focusing area is not changed, because the resolution ratio of the image is not changed, when the viewing range is larger, the proportion of the focal plane area in the whole image is smaller, the number of the contained pixel points is also smaller, and when the viewing range is gradually reduced, the proportion of the focal plane area in the whole image is gradually increased, and the number of the contained pixel points is also gradually increased.
After the focal plane area is determined, a first proportion of the focal plane area in the first image is calculated, for example, the first proportion may be calculated by counting pixel points, a first number of the pixel points in the focal plane area and a second number of all the pixel points in the first image are counted, and a ratio of the first number to the second number is the first proportion of the focal plane area in the first image.
104. And determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera.
And then according to the first proportion, judging whether the user wants to zoom in the lens or want a larger view range, and further determining the target camera to be switched. Several implementations of determining the target camera to be switched according to the first scale are provided next.
In a first mode, when the first proportion is smaller than a first preset proportion, a first target camera with the focal length larger than that of the current camera is determined from the multiple cameras; and when the first proportion is larger than a second preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, wherein the second preset proportion is larger than the first preset proportion.
Still taking the current camera as the main camera S2 as an example, if the first ratio is smaller than the first preset ratio, it may be determined that the ratio of the focal plane area is too small, for example, the first ratio is only 3%, and the object to be focused may be too far away from the camera, and the lens needs to be zoomed in to enlarge the focal plane area. The first target camera to be switched is the tele camera S3. On the contrary, if the proportion of the focal plane area is too large, the viewing range needs to be expanded to reduce the focal plane area, and the second target camera to be switched is the wide-angle camera S1.
Next, taking an actual shooting scene as an example, please refer to fig. 3, and fig. 3 is a schematic view of a first application scene of the camera switching method according to the embodiment of the present application. If the focusing area in the shooting scene is a face area, the determined focal plane area may be the area where the whole portrait is located, it can be seen that the proportion of the focal plane area in the whole preview picture is very small, and at this time, the tele-camera S3 can be determined as the first target camera to be switched. Referring to fig. 4, fig. 4 is a schematic view of a second application scenario of the camera switching method according to the embodiment of the present application. The proportion of the focal plane area (area where the portrait is) in the shooting scene in the whole preview picture is very large, and the wide-angle camera S1 can be determined as the second target camera to be switched.
After the target camera to be switched is determined, the target camera is initialized in the background, for example, the target camera is started in the background and system resources are allocated to the target camera, and after the initialization is completed, the target camera can shoot a shooting scene and output an image. When the electronic equipment switches the lens according to the user instruction, the image shot by the target camera can be directly displayed on the preview interface, the seamless switching of the preview interface is realized, and the speed and the fluency of the camera switching are improved. As shown in fig. 3, when the focus is switched from the main camera S2 to the telephoto camera S3, the focal length becomes large, the finder range becomes small, and the ratio of the focal plane area in the image becomes large. On the contrary, as shown in fig. 4, when the main camera S2 is switched to the wide camera S1, the focal length becomes small, the finder range becomes large, and the occupation ratio of the focal plane area in the image becomes small.
Optionally, in an embodiment, the camera may be automatically switched according to the size of the first proportion. For example, the step of determining a target camera to be switched from a plurality of cameras according to the first ratio further includes: when the first proportion is smaller than a third preset proportion, determining a first target camera with the focal length larger than that of the current camera from the plurality of cameras, initializing the first target camera, and switching from the current camera to the first target camera after initialization is completed, wherein the third preset proportion is smaller than the first preset proportion; when the first proportion is larger than a fourth preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, initializing the second target camera, and switching from the current camera to the second target camera after initialization is completed, wherein the fourth preset proportion is larger than the second preset proportion.
In this embodiment, a third preset proportion and a fourth preset proportion are provided, where the third preset proportion is smaller than the first preset proportion, and the fourth preset proportion is larger than the second preset proportion.
After step 103, if the first ratio is smaller than the third preset ratio, switching is made directly from the main camera S2 to the tele camera S3 after the initialization of the tele camera S3 is completed in the background. If the first ratio is greater than the fourth preset ratio, switching is made directly from the main camera S2 to the wide-angle camera S1 after the initialization of the wide-angle camera S1 is completed in the background. If the first proportion is not smaller than the third preset proportion and smaller than the first preset proportion, only the camera needs to be initialized, and the camera is not directly switched.
In the second mode, after the step of determining the focal plane area of the first image according to the focusing area, the method further includes: a first distance between an edge of the focal plane region and an edge of the first image is determined.
The method comprises the following steps of determining a target camera to be switched from a plurality of cameras according to a first proportion, wherein the steps comprise: and determining a target camera to be switched from the plurality of cameras according to the first proportion and the first distance.
In this embodiment, in addition to the first ratio of the focal plane area in the first image, a judgment dimension is added: a first distance between an edge of the focal plane region and an edge of the first image. And combining the first proportion and the first distance to predict the camera which is possibly switched.
Exemplarily, the step of determining the target camera to be switched from the plurality of cameras according to the first proportion and the first distance includes: calculating a second proportion of the first distance in the corresponding side length; when the first proportion is smaller than the first preset proportion and the second proportion is larger than the fifth preset proportion, determining a first target camera of which the focal length is only larger than that of the current camera from the plurality of cameras; and when the first proportion is larger than the second preset proportion and the second proportion is smaller than the sixth preset proportion, determining a second target camera of which the focal length is only smaller than that of the current camera from the plurality of cameras, wherein the sixth preset proportion is smaller than the fifth preset proportion.
In this embodiment, a second ratio of the first distance to the corresponding side length is calculated. The method includes the steps of performing regularization processing on a focal plane area, determining the shape of the focal plane area as a rectangle with edges parallel to edges of a first image, calculating first distances from the four edges of the focal plane area to four corresponding edges of the first image, and calculating a second ratio of the first distances to corresponding side lengths, as shown in fig. 5, and referring to fig. 5, which is a schematic diagram of a first distance determination method in the camera switching method provided by the embodiment of the present application. Assuming that the distance between the left edge of the focal plane region and the left edge of the first image is 400 pixels and the first image width is 1920 pixels, the second ratio is 400/1920. In this way, the second ratios in the four directions can be calculated.
And if the first proportion is smaller than the first preset proportion and the second proportion is larger than the fifth preset proportion, determining a first target camera of which the focal length is only larger than that of the current camera from the plurality of cameras. And if the first proportion is larger than the second preset proportion and the second proportion is smaller than the sixth preset proportion, determining a second target camera of which the focal length is only smaller than that of the current camera from the plurality of cameras. In some embodiments, when the second ratios in at least three directions are all greater than the fifth preset ratio, it can be determined that the second ratio is greater than the fifth preset ratio.
In a third mode, the step of obtaining a first image obtained by shooting a target scene by a current camera includes: the method comprises the steps of obtaining a first image in an image frame sequence obtained by shooting a target scene through a current camera.
After the step of obtaining a first image in an image frame sequence obtained by shooting a target scene by a current camera, the method further comprises the following steps: at least two feature points are determined from the first image and a second distance between the at least two feature points is calculated.
The method comprises the following steps of determining a target camera to be switched from a plurality of cameras according to a first proportion, wherein the steps comprise: and determining a target camera to be switched from the plurality of cameras according to the first proportion of the first image in the image frame sequence and the change information of the second distance.
In this embodiment, in addition to the first ratio of the focal plane area in the first image, some reference feature points are determined from the first image, and whether the camera is switched is predicted according to the change condition of the reference feature points in the first image and the first ratio.
For a first image of the sequence of image frames, at least two reference feature points are determined therefrom. The reference feature points are selected according to the content features of the whole image, and points whose relative positions do not change during the shooting process are generally used as the feature points, for example, at least two reference feature points are selected from buildings in the shooting scene, or at least two reference points of trees or road edges in the shooting scene are selected. Referring to fig. 6, fig. 6 is a schematic diagram illustrating reference feature points in a camera switching method according to an embodiment of the present application. Three reference feature points are selected from trees in the shot scene.
After the reference feature points are acquired, a second distance between every two reference feature points in the at least two reference feature points is calculated. Then, the first proportion and the change information of the second distance in the image frame sequence are combined to predict whether the target camera needs to be initialized in advance.
Exemplarily, the step of determining the target camera to be switched from the plurality of cameras according to the first ratio of the first image in the image frame sequence and the change information of the second distance includes: when the first proportion of a first image in the image frame sequence is smaller than a seventh preset proportion, the second distance is increased, and the variation is larger than a first threshold value, determining a first target camera with the focal length larger than that of the current camera from the plurality of cameras; and when the first ratio of the first image in the image frame sequence is larger than an eighth preset ratio, the second distance is reduced and the variation is larger than a first threshold value, determining a second target camera with a focal length smaller than that of the current camera from the plurality of cameras, wherein the seventh preset ratio is smaller than the eighth preset ratio.
A first image of a latest frame in the image frame sequence is acquired, and a first proportion of a focal plane area in the first image is calculated.
After the current camera is turned on, the current camera performs exposure according to a corresponding frame rate to output a continuous first image, and the continuous first image is displayed on a preview interface, for example, the frame rate of the main camera S2 is 30FPS, and 30 frames of images can be output per second. These consecutively output plural frames of the first image constitute an image frame sequence.
The method comprises the steps of obtaining a first image of one frame from images of 2-5 frames at intervals in an image frame sequence, such as 3 frames at intervals, calculating a first proportion of a focal plane area of the first image in the first image, determining at least two reference feature points from the first image, and calculating a second distance between the reference feature points. Second distance change information between the reference feature points in the consecutive plurality of first images is acquired, and the change information may include a trend of change (increase or decrease or no change) and a change amount, for example. The distance between the reference feature points can be calculated through the number of pixel points in the image width direction and the number of pixel points in the image length direction.
When the user takes a picture, if the size of the view range in the current preview picture is not satisfied, the view range can be increased or decreased through zooming operation on the preview interface, or changing the zoom multiple, or moving the electronic equipment back and forth. The zoom factor is increased, or the image is enlarged on the preview interface, or the electronic device is translated in the direction far away from the shooting scene, so that the focal length can be increased, the viewing range is reduced, the first ratio of the focal plane area is increased, and the distance between the reference characteristic points is also increased. Conversely, the zoom factor is reduced, or the image is reduced on the preview interface, or the electronic device is translated towards the direction close to the shot scene, so that the focal length can be reduced, the viewing range is enlarged, the first ratio of the focal plane area is reduced, and the distance between the reference characteristic points is also reduced. Based on the principle, in the embodiment, the first ratio and the change information of the second distance are integrated to predict the user intention, when the first ratio is smaller than the seventh preset ratio, the second distance is increased, and the change amount is larger than the first threshold, it is determined that the camera switching may be needed in the subsequent short time, and assuming that the current camera is the main camera S2, the camera to be switched can be predicted to be the long-focus camera S3. At present, the long-focus camera S3 is initialized in the background, and when the camera switching is needed, the seamless switching of the long-focus camera S3 is directly carried out, so that the smoothness of the camera switching is improved. Otherwise, when the first ratio is larger than the eighth preset ratio, the second distance is reduced, and the variation is larger than the first threshold, the wide-angle camera S1 with the focal length larger than the main camera S2 is used as a second target camera to be switched, and the second target camera is initialized in the background.
Optionally, in an embodiment, after the step of initializing the target camera, the method further includes: when the first ratio is smaller than a seventh preset ratio and the variation of the second distance is larger than a second threshold value, switching from the current camera to a first target camera, wherein the second threshold value is larger than the first threshold value; and when the first proportion is larger than the eighth preset proportion and the variation of the second distance is larger than the second threshold value, switching from the current camera to the second target camera.
After the initialization of the target camera is completed, the variable quantities of the first proportion and the second distance are continuously detected, when the first proportion is detected to be still smaller than the seventh preset proportion and the variable quantity of the second distance is larger than the second threshold value, the lens switching time is judged to be reached, the main camera S2 is switched to the tele camera S3, and the tele camera S3 is initialized in the background and can be directly switched, so that the smoothness of camera switching is higher.
In the above embodiment, the case where the electronic apparatus includes three cameras, namely, the wide camera S1, the main camera S2, and the telephoto camera S3, and the current camera is the main camera S2 is described as an example. The first preset proportion, the second preset proportion, the third preset proportion, the fourth preset proportion, the fifth preset proportion, the sixth preset proportion, the seventh preset proportion and the eighth preset proportion are preset values. The first preset proportion, the third preset proportion, the fifth preset proportion and the seventh preset proportion are decision thresholds for initializing the telephoto camera S3 or switching to the telephoto camera S3 when the current camera is the main camera S2, and the second preset proportion, the fourth preset proportion, the sixth preset proportion and the eighth preset proportion are decision thresholds for initializing the wide-angle camera S1 or switching to the wide-angle camera S1 when the current camera is the main camera S2. If the current camera is the wide-angle camera S1, it can be determined whether the main camera S2 needs to be initialized or switched to the main camera S2 based on the corresponding decision threshold according to the same principle as in the above-described embodiment. If the current camera is the telephoto camera S3, it can be determined whether the main camera S2 needs to be initialized or switched to the main camera S2 based on the corresponding decision threshold according to the same principle as in the above-described embodiment.
Of course, if the electronic device is provided with more than three cameras with different focal lengths, whether the cameras need to be initialized or switched may be determined based on the corresponding decision thresholds according to the same principle in the above embodiments, which is not described herein again. It can be understood that, if the current camera is the main camera, when it is determined that the focal length needs to be increased, but there are two cameras having focal lengths larger than the main camera, the camera may be initialized or switched to the camera having the smaller focal length, and then it is determined whether switching needs to be continued according to the scheme in the above embodiment.
It is understood that the exposure is continuously performed and the first image is output after the front camera is turned on. In some embodiments, a first image of each frame output may be acquired in real time, calculating the first ratio. In other embodiments, one frame of image may be acquired every several frames of images, and the first ratio may be calculated. In addition, the above-mentioned determination is based on the premise that the focus area is not changed in the process of initializing a new camera in the background, and if the focus area is changed, the focus plane area is re-determined and determined.
In some embodiments, to increase the speed of determining the focal plane region, the first image may be downsampled to reduce the image size and reduce the amount of computation before the depth information is calculated.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
Therefore, the camera switching method provided by the embodiment of the application determines the focal plane area of the first image output by the current camera, predicts the target camera to be switched according to the first proportion of the focal plane area in the first image, initializes the target camera in advance, and can directly switch from the current camera to the target camera when the switching condition is met, so that the camera switching efficiency is improved.
Wherein, in some embodiments, the method may further comprise: when the camera switching operation is detected, determining camera switching information and acquiring a current preview image; calculating a third proportion of a focal plane area of the preview image in the preview image; recording the third proportion and the camera switching information as sample data; and fitting the plurality of sample data to determine a camera switching threshold value matched with the camera switching information.
The decision threshold referred to in the various embodiments above may be a fixed value that is set in advance. The decision threshold (camera switching threshold) may also be set individually according to the scheme proposed in this embodiment, according to the user habit. Different users, the shooting habit may also be different, for example, some users can not adjust the proportion of the focal plane area very much when shooting, so the main camera can satisfy shooting, but some other users may want the proportion of the focal plane area to be larger when shooting, so the probability of switching from the main camera to the telephoto camera is larger.
Still taking the example where the electronic apparatus includes the wide camera S1, the main camera S2, and the telephoto camera S3, the current camera switching information is recorded each time a camera switching operation is detected. The camera switching operation herein mainly refers to a camera switching operation manually triggered by a user, for example, a camera selection command is triggered through a camera selection control on a shooting interface to switch a camera, or the camera is switched by adjusting a zoom multiple.
When the camera switching operation is detected, camera switching information is determined, for example, the camera switching information is switched from the main camera S2 to the telephoto camera S3. Meanwhile, when the camera switching operation is detected, the latest frame of image output by the current camera, namely the latest frame of preview image, is obtained, the third proportion occupied by the focal plane area in the preview image is calculated, and the camera switching information and the third proportion are recorded as one sample datum, as follows: sample data 1: [ camera switching information is the third proportion of focal plane area in the image to switch from the master camera S2 to the tele camera S3 ]. In other embodiments, the sample data may further include information about distance variation between the reference feature points, and please refer to the above for the obtaining manner, which is not described herein any more.
In this way, a large amount of sample data is collected, a plurality of third ratios corresponding to switching from the main camera S2 to the wide-angle camera S1, a plurality of third ratios corresponding to switching from the main camera S2 to the telephoto camera S3, a plurality of third ratios corresponding to switching from the wide-angle camera S1 to the main camera S2, and so on can be obtained, data corresponding to each switching situation is fitted to obtain an appropriate ratio value, and the decision thresholds, such as the first preset ratio, the third preset ratio, the fifth preset ratio, the seventh preset ratio, and so on, are set according to the value.
In an embodiment, a camera switching device is also provided. Referring to fig. 7, fig. 7 is a schematic structural diagram of a camera switching device 300 according to an embodiment of the present disclosure. The camera switching device 300 is applied to an electronic device, and the camera switching device 300 includes an image acquisition module 301, a focal plane determination module 302, a proportion calculation module 303, and a switching control module 304, as follows:
the image acquisition module 301 is configured to acquire a first image obtained by shooting a target scene with a current camera;
a focal plane determining module 302, configured to determine a focusing area of the first image, and determine a focal plane area of the first image according to the focusing area;
a ratio calculating module 303, configured to calculate a first ratio of the focal plane area in the first image;
and the switching control module 304 is configured to determine a target camera to be switched from the multiple cameras according to the first ratio, and initialize the target camera.
In some embodiments, the focal plane determination module 302 is further configured to: determining a focusing area of the first image, and calculating depth information of the first image; determining the depth value of the focusing area according to the depth information; and determining the area of the pixel point with the depth value in the first image as the focal plane area of the first image.
In some embodiments, the focal plane determination module 302 is further configured to: and determining the focusing area and an area which is connected with the focusing area and is formed by the pixel points with the depth values as a focal plane area of the first image.
In some embodiments, the handover control module 304 is further configured to: when the first proportion is smaller than a first preset proportion, determining a first target camera with a focal length larger than that of the current camera from the plurality of cameras; and when the first proportion is larger than a second preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, wherein the second preset proportion is larger than the first preset proportion.
In some embodiments, the handover control module 304 is further configured to: when the first proportion is smaller than a third preset proportion, determining a first target camera with a focal length larger than that of the current camera from the plurality of cameras, initializing the first target camera, and switching from the current camera to the first target camera after initialization is completed, wherein the third preset proportion is smaller than the first preset proportion; when the first proportion is larger than a fourth preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, initializing the second target camera, and switching from the current camera to the second target camera after initialization is completed, wherein the fourth preset proportion is larger than the second preset proportion.
In some embodiments, the focal plane determination module 302 is further configured to: determining a first distance between an edge of the focal plane region and a first image edge; the handover control module 304 is further configured to: and determining a target camera to be switched from the plurality of cameras according to the first proportion and the first distance.
In some embodiments, the handover control module 304 is further configured to: calculating a second proportion of the first distance in the corresponding side length; when the first proportion is smaller than a first preset proportion and the second proportion is larger than a fifth preset proportion, determining a first target camera of which the focal length is only larger than that of the current camera from the plurality of cameras; and when the first proportion is larger than a second preset proportion and the second proportion is smaller than a sixth preset proportion, determining a second target camera of which the focal length is only smaller than that of the current camera from the plurality of cameras, wherein the sixth preset proportion is smaller than the fifth preset proportion.
In some embodiments, the image acquisition module 301 is further configured to: acquiring a first image in an image frame sequence obtained by shooting a target scene by a current camera; the handover control module 304 is further configured to: determining at least two characteristic points from the first image, and calculating a second distance between the at least two characteristic points; and determining a target camera to be switched from the plurality of cameras according to the first proportion of the first image in the image frame sequence and the change information of the second distance.
In some embodiments, the handover control module 304 is further configured to: when the first proportion of a first image in the image frame sequence is smaller than a seventh preset proportion, the second distance is increased, and the variation is larger than a first threshold value, determining a first target camera with a focal length larger than the current camera from the plurality of cameras; when the first ratio of a first image in the image frame sequence is larger than an eighth preset ratio, the second distance is reduced, and the variation is larger than the first threshold, determining a second target camera with a focal length smaller than the current camera from the plurality of cameras, wherein the seventh preset ratio is smaller than the eighth preset ratio.
In some embodiments, the handover control module 304 is further configured to: when the first ratio is smaller than a seventh preset ratio and the variation of the second distance is larger than a second threshold, switching from the current camera to the first target camera, wherein the second threshold is larger than the first threshold; and when the first proportion is larger than an eighth preset proportion and the variation of the second distance is larger than the second threshold value, switching from the current camera to the second target camera.
In some embodiments, the camera switching device 300 further includes: the threshold setting module is used for determining camera switching information and acquiring a current preview image when detecting camera switching operation; calculating a third proportion of a focal plane area of the preview image in the preview image; recording the third proportion and the camera switching information as sample data; and fitting the plurality of sample data to determine a camera switching threshold value matched with the camera switching information.
It should be noted that the camera switching device provided in the embodiment of the present application and the camera switching method in the foregoing embodiment belong to the same concept, and any method provided in the embodiment of the camera switching method can be implemented by the camera switching device, and a specific implementation process thereof is described in detail in the embodiment of the camera switching method, and is not described herein again.
Therefore, the camera switching device provided by the embodiment of the application determines the focal plane area of the first image output by the current camera, predicts the target camera to be switched according to the first proportion of the focal plane area in the first image, initializes the target camera in advance, and can directly switch from the current camera to the target camera when the switching condition is met, so that the camera switching efficiency is improved.
The embodiment of the application also provides the electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 400 comprises a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
Memory 402 may be used to store computer programs and data. The memory 402 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling a computer program stored in the memory 402.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
acquiring a first image obtained by shooting a target scene by a current camera;
determining a focusing area of the first image, and determining a focal plane area of the first image according to the focusing area;
calculating a first proportion of the focal plane area in the first image;
and determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera.
In some embodiments, please refer to fig. 9, and fig. 9 is a second structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 400 further comprises: radio frequency circuit 403, display 404, control circuit 405, input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The radio frequency circuit 403 is used for transceiving radio frequency signals to communicate with a network device or other electronic devices through wireless communication.
The display screen 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 405 is electrically connected to the display screen 404, and is configured to control the display screen 404 to display information.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone. Wherein the audio circuit 407 comprises a microphone. The microphone is electrically connected to the processor 401. The microphone is used for receiving voice information input by a user.
The sensor 408 is used to collect external environmental information. The sensors 408 may include one or more of ambient light sensors, acceleration sensors, gyroscopes, etc.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in the drawings, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
acquiring a first image obtained by shooting a target scene by a current camera;
determining a focusing area of the first image, and determining a focal plane area of the first image according to the focusing area;
calculating a first proportion of the focal plane area in the first image;
and determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera.
Therefore, the electronic equipment determines the focal plane area of the first image output by the current camera, predicts the target camera to be switched according to the first proportion of the focal plane area in the first image, initializes the target camera in advance, and can directly switch from the current camera to the target camera when the switching condition is met, so that the camera switching efficiency is improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes the camera switching method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Furthermore, the terms "first", "second", and "third", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
The foregoing describes in detail a camera switching method, an apparatus, a storage medium, and an electronic device provided in the embodiments of the present application. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A camera switching method is characterized by comprising the following steps:
acquiring a first image obtained by shooting a target scene by a current camera;
determining a focusing area of the first image, and determining a focal plane area of the first image according to the focusing area;
calculating a first proportion of the focal plane area in the first image;
and determining a target camera to be switched from the plurality of cameras according to the first proportion, and initializing the target camera.
2. The camera switching method according to claim 1, wherein the step of determining a focused area of the first image and determining a focal plane area of the first image based on the focused area comprises:
determining a focusing area of the first image, and calculating depth information of the first image;
determining the depth value of the focusing area according to the depth information;
and determining the area of the pixel point with the depth value in the first image as the focal plane area of the first image.
3. The camera switching method according to claim 2, wherein the step of determining an area in which the pixel point with the depth value in the first image is located as a focal plane area of the first image comprises:
and determining the focusing area and an area which is connected with the focusing area and is formed by the pixel points with the depth values as a focal plane area of the first image.
4. The camera switching method according to claim 1, wherein the step of determining the target camera to be switched from among the plurality of cameras according to the first ratio comprises:
when the first proportion is smaller than a first preset proportion, determining a first target camera with a focal length larger than that of the current camera from the plurality of cameras;
and when the first proportion is larger than a second preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, wherein the second preset proportion is larger than the first preset proportion.
5. The camera switching method according to claim 4, wherein the step of determining the target camera to be switched from among the plurality of cameras according to the first ratio further comprises:
when the first proportion is smaller than a third preset proportion, determining a first target camera with a focal length larger than that of the current camera from the plurality of cameras, initializing the first target camera, and switching from the current camera to the first target camera after initialization is completed, wherein the third preset proportion is smaller than the first preset proportion;
when the first proportion is larger than a fourth preset proportion, determining a second target camera with the focal length smaller than that of the current camera from the plurality of cameras, initializing the second target camera, and switching from the current camera to the second target camera after initialization is completed, wherein the fourth preset proportion is larger than the second preset proportion.
6. The camera switching method of claim 1, wherein the step of determining the focal plane area of the first image based on the in-focus area is followed by further comprising:
determining a first distance between an edge of the focal plane region and a first image edge;
the step of determining a target camera to be switched from the plurality of cameras according to the first ratio includes:
and determining a target camera to be switched from the plurality of cameras according to the first proportion and the first distance.
7. The camera switching method according to claim 6, wherein the step of determining the target camera to be switched from the plurality of cameras according to the first ratio and the first distance comprises:
calculating a second proportion of the first distance in the corresponding side length;
when the first proportion is smaller than a first preset proportion and the second proportion is larger than a fifth preset proportion, determining a first target camera of which the focal length is only larger than that of the current camera from the plurality of cameras;
and when the first proportion is larger than a second preset proportion and the second proportion is smaller than a sixth preset proportion, determining a second target camera of which the focal length is only smaller than that of the current camera from the plurality of cameras, wherein the sixth preset proportion is smaller than the fifth preset proportion.
8. The camera switching method according to claim 1, wherein the step of acquiring the first image of the target scene captured by the current camera comprises:
acquiring a first image in an image frame sequence obtained by shooting a target scene by a current camera;
after the step of obtaining a first image in an image frame sequence obtained by shooting a target scene by a current camera, the method further comprises the following steps:
determining at least two characteristic points from the first image, and calculating a second distance between the at least two characteristic points;
the step of determining a target camera to be switched from the plurality of cameras according to the first ratio includes:
and determining a target camera to be switched from the plurality of cameras according to the first proportion of the first image in the image frame sequence and the change information of the second distance.
9. The camera switching method according to claim 8, wherein the step of determining a target camera to be switched from a plurality of cameras according to the first ratio of the first image in the image frame sequence and the change information of the second distance comprises:
when the first proportion of a first image in the image frame sequence is smaller than a seventh preset proportion, the second distance is increased, and the variation is larger than a first threshold value, determining a first target camera with a focal length larger than the current camera from the plurality of cameras;
when the first ratio of a first image in the image frame sequence is larger than an eighth preset ratio, the second distance is reduced, and the variation is larger than the first threshold, determining a second target camera with a focal length smaller than the current camera from the plurality of cameras, wherein the seventh preset ratio is smaller than the eighth preset ratio.
10. The camera switching method according to claim 9, wherein after the step of initializing the target camera, further comprising:
when the first ratio is smaller than a seventh preset ratio and the variation of the second distance is larger than a second threshold, switching from the current camera to the first target camera, wherein the second threshold is larger than the first threshold;
and when the first proportion is larger than an eighth preset proportion and the variation of the second distance is larger than the second threshold value, switching from the current camera to the second target camera.
11. The camera switching method according to claim 4, further comprising:
when the camera switching operation is detected, determining camera switching information and acquiring a current preview image;
calculating a third proportion of a focal plane area of the preview image in the preview image;
recording the third proportion and the camera switching information as sample data;
and fitting the plurality of sample data to determine a camera switching threshold value matched with the camera switching information.
12. A camera switching device, comprising:
the image acquisition module is used for acquiring a first image obtained by shooting a target scene by a current camera;
the focal plane determining module is used for determining a focusing area of the first image and determining the focal plane area of the first image according to the focusing area;
the proportion calculation module is used for calculating a first proportion of the focal plane area in the first image;
and the switching control module is used for determining a target camera to be switched from the plurality of cameras according to the first proportion and initializing the target camera.
13. A computer-readable storage medium on which a computer program is stored, which, when run on a computer, causes the computer to execute the camera switching method according to any one of claims 1 to 11.
14. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to execute the camera switching method according to any one of claims 1 to 11 by calling the computer program.
CN202110105787.8A 2021-01-26 2021-01-26 Camera switching method and device, storage medium and electronic equipment Pending CN112887602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110105787.8A CN112887602A (en) 2021-01-26 2021-01-26 Camera switching method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110105787.8A CN112887602A (en) 2021-01-26 2021-01-26 Camera switching method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112887602A true CN112887602A (en) 2021-06-01

Family

ID=76052220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110105787.8A Pending CN112887602A (en) 2021-01-26 2021-01-26 Camera switching method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112887602A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473012A (en) * 2021-06-30 2021-10-01 维沃移动通信(杭州)有限公司 Virtualization processing method and device and electronic equipment
CN114615435A (en) * 2022-03-25 2022-06-10 联想(北京)有限公司 Processing method and device
CN114928721A (en) * 2022-05-20 2022-08-19 沈阳体育学院 Switching method and system of football shooting lens, computer equipment and storage medium
CN115942113A (en) * 2021-09-30 2023-04-07 Oppo广东移动通信有限公司 Image shooting method, application processing chip and electronic equipment
CN117880630A (en) * 2024-03-13 2024-04-12 杭州星犀科技有限公司 Focusing depth acquisition method, focusing depth acquisition system and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160353031A1 (en) * 2015-05-30 2016-12-01 Chiun Mai Communication Systems, Inc. Electronic device and photo capturing method
CN106210512A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of photographic head changing method and mobile terminal
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
CN110113515A (en) * 2019-05-13 2019-08-09 Oppo广东移动通信有限公司 Camera control method and Related product
CN110506416A (en) * 2018-07-27 2019-11-26 华为技术有限公司 A kind of method and terminal of terminal switching camera
CN110691193A (en) * 2019-09-03 2020-01-14 RealMe重庆移动通信有限公司 Camera switching method and device, storage medium and electronic equipment
CN111669505A (en) * 2020-06-30 2020-09-15 维沃移动通信有限公司 Camera starting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160353031A1 (en) * 2015-05-30 2016-12-01 Chiun Mai Communication Systems, Inc. Electronic device and photo capturing method
CN106210512A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of photographic head changing method and mobile terminal
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
CN110506416A (en) * 2018-07-27 2019-11-26 华为技术有限公司 A kind of method and terminal of terminal switching camera
CN110113515A (en) * 2019-05-13 2019-08-09 Oppo广东移动通信有限公司 Camera control method and Related product
CN110691193A (en) * 2019-09-03 2020-01-14 RealMe重庆移动通信有限公司 Camera switching method and device, storage medium and electronic equipment
CN111669505A (en) * 2020-06-30 2020-09-15 维沃移动通信有限公司 Camera starting method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473012A (en) * 2021-06-30 2021-10-01 维沃移动通信(杭州)有限公司 Virtualization processing method and device and electronic equipment
CN115942113A (en) * 2021-09-30 2023-04-07 Oppo广东移动通信有限公司 Image shooting method, application processing chip and electronic equipment
CN114615435A (en) * 2022-03-25 2022-06-10 联想(北京)有限公司 Processing method and device
CN114928721A (en) * 2022-05-20 2022-08-19 沈阳体育学院 Switching method and system of football shooting lens, computer equipment and storage medium
CN117880630A (en) * 2024-03-13 2024-04-12 杭州星犀科技有限公司 Focusing depth acquisition method, focusing depth acquisition system and terminal
CN117880630B (en) * 2024-03-13 2024-06-07 杭州星犀科技有限公司 Focusing depth acquisition method, focusing depth acquisition system and terminal

Similar Documents

Publication Publication Date Title
CN112887602A (en) Camera switching method and device, storage medium and electronic equipment
CN110661970B (en) Photographing method and device, storage medium and electronic equipment
CN113747050B (en) Shooting method and equipment
CN111901524B (en) Focusing method and device and electronic equipment
JP2021531554A (en) Image processing methods and devices, electronic devices and storage media
CN112532808A (en) Image processing method and device and electronic equipment
CN112866576B (en) Image preview method, storage medium and display device
CN110266957B (en) Image shooting method and mobile terminal
CN110933303A (en) Photographing method and electronic equipment
CN110661971A (en) Image shooting method and device, storage medium and electronic equipment
CN111654637B (en) Focusing method, focusing device and terminal equipment
CN112887609A (en) Shooting method, shooting device, electronic equipment and storage medium
CN113875220A (en) Shooting anti-shake method and device, terminal and storage medium
CN117177062B (en) Camera switching method and electronic equipment
CN114390201A (en) Focusing method and device thereof
WO2022156672A1 (en) Photographing method and apparatus, electronic device and readable storage medium
CN112637495B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113866782A (en) Image processing method and device and electronic equipment
CN113497880A (en) Method for shooting image and electronic equipment
CN115473996B (en) Video shooting method and electronic equipment
CN114666490B (en) Focusing method, focusing device, electronic equipment and storage medium
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN112866555B (en) Shooting method, shooting device, shooting equipment and storage medium
CN114866680B (en) Image processing method, device, storage medium and electronic equipment
CN115190235B (en) Method and device for distributing active space range of image acquisition module and related equipment

Legal Events

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