CN115514898A - Photographing method, terminal device and storage medium - Google Patents

Photographing method, terminal device and storage medium Download PDF

Info

Publication number
CN115514898A
CN115514898A CN202211464805.2A CN202211464805A CN115514898A CN 115514898 A CN115514898 A CN 115514898A CN 202211464805 A CN202211464805 A CN 202211464805A CN 115514898 A CN115514898 A CN 115514898A
Authority
CN
China
Prior art keywords
shooting
camera
image display
display area
equipment
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
CN202211464805.2A
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.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202211464805.2A priority Critical patent/CN115514898A/en
Publication of CN115514898A publication Critical patent/CN115514898A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The application relates to the technical field of shooting, in particular to a shooting method, terminal equipment and a storage medium, wherein the method comprises the following steps: displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area; acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; acquiring a second image acquired by second shooting equipment, and displaying the second image in a second image display area; the first shooting equipment, the second shooting equipment and the terminal equipment form a distributed camera; and when receiving a shooting instruction, controlling the first shooting equipment and the second shooting equipment to shoot. The first image display area and the second image display area are displayed on the shooting interface, and the first shooting equipment and the second shooting equipment are controlled to shoot, so that multi-angle or multi-direction shooting can be realized by adopting the distributed camera, and the shooting efficiency is effectively improved.

Description

Photographing method, terminal device and storage medium
Technical Field
The present application relates to the field of shooting technologies, and in particular, to a shooting method, a terminal device, and a storage medium.
Background
Photographing is an important function of a terminal device. At present, when a user shoots by using a camera in terminal equipment, the camera can only shoot images at a single angle or in a single direction, and images outside the maximum visual angle of the camera cannot be shot. When a user needs to shoot multi-angle or multi-direction images, the user needs to move a terminal device, so that the operation is inconvenient, and the shooting efficiency is low.
Therefore, when capturing images from multiple angles or directions, how to improve the capturing efficiency is an urgent problem to be solved.
Disclosure of Invention
The application provides a shooting method, terminal equipment and a storage medium, wherein a first image display area and a second image display area are displayed on a shooting interface, and the first shooting equipment and the second shooting equipment are controlled to shoot, so that multi-angle or multi-direction shooting can be realized by adopting a distributed camera, and the shooting efficiency is effectively improved.
In a first aspect, the present application provides a shooting method applied to a terminal device, where the method includes:
displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area; acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; acquiring a second image acquired by second shooting equipment, and displaying the second image in a second image display area; the first shooting equipment, the second shooting equipment and the terminal equipment are connected through a distributed soft bus to form a distributed camera; and when a shooting instruction is received, controlling the first shooting equipment and the second shooting equipment to shoot.
In a second aspect, the present application further provides a terminal device, where the terminal device includes a memory and a processor;
the memory for storing a computer program;
the processor is configured to execute the computer program and implement a shooting method corresponding to the terminal device when the computer program is executed.
In a third aspect, the present application further provides a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to implement the shooting method as described above.
The application discloses a shooting method, a terminal device and a storage medium, wherein a shooting interface is displayed in the terminal device, the shooting interface at least comprises a first image display area and a second image display area, and images of a plurality of shooting devices can be displayed on the shooting interface subsequently; the method comprises the steps that a first image collected by first shooting equipment is obtained, the first image is displayed in a first image display area, a second image collected by second shooting equipment is obtained, and the second image is displayed in a second image display area, so that a plurality of angles or multi-direction images can be displayed on terminal equipment at the same time, and a user can conveniently adjust a camera according to a required angle or direction; by controlling the first shooting equipment and the second shooting equipment to shoot when the shooting instruction is received, the distributed camera can be used for shooting in multiple angles or multiple directions, and the shooting efficiency is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions of 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 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 schematic diagram of a shooting system provided in an embodiment of the present application;
fig. 2 is a schematic block diagram of a structure of a terminal device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a shooting method provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a shooting interface provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a second shooting interface provided in an embodiment of the present application;
FIG. 6 is a schematic flow chart diagram of a sub-step of selecting a camera provided by an embodiment of the present application;
FIG. 7 is a diagram illustrating a third capture interface provided by an embodiment of the present application;
fig. 8 is a schematic flowchart of a second sub-step of selecting a camera according to an embodiment of the present application;
fig. 9 is a schematic flow chart of a third sub-step of selecting a camera provided in the embodiment of the present application;
FIG. 10 is a diagram illustrating a fourth capture interface provided by an embodiment of the present application;
fig. 11 is a schematic flowchart of a fourth sub-step of selecting a camera according to an embodiment of the present application;
fig. 12 is a schematic diagram of a fifth shooting interface provided in 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, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flowcharts shown in the figures are illustrative only and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides a shooting method, terminal equipment and a storage medium. The shooting method is applied to a multi-angle or multi-direction shooting scene, the first image display area and the second image display area are displayed on the shooting interface, and the first shooting equipment and the second shooting equipment are controlled to shoot, so that multi-angle or multi-direction shooting can be realized by adopting a distributed camera, and the shooting efficiency is effectively improved.
It should be noted that the first shooting device may be a terminal device, and the second shooting device is an external shooting device. Of course, the first photographing apparatus and the second photographing apparatus may also be both external photographing apparatuses. In the embodiment of the present application, for convenience of description, how to perform shooting is described by taking an example in which the first shooting device and the second shooting device are both external shooting devices.
Referring to fig. 1, fig. 1 is a schematic diagram of a photographing system 100 according to an embodiment of the present disclosure. As shown in fig. 1, the photographing system 100 includes a terminal apparatus 1000, a first photographing apparatus 2000, and a second photographing apparatus 3000. The terminal apparatus 1000, the first photographing apparatus 2000, and the second photographing apparatus 3000 each have a camera mounted thereon. The first photographing apparatus 2000, the second photographing apparatus 3000, and the terminal apparatus 1000 are connected by a distributed soft bus to constitute a distributed camera.
It should be noted that, the distributed soft bus technology is to virtualize cables between the conventional devices, connect different devices using a wireless communication technology in a software layer, so that a uniform distributed communication management capability between near-field devices can be achieved, and discovery connection, networking and transmission capabilities between devices without distinguishing links are provided. In this embodiment, the terminal device 1000 may establish communication connection with the first shooting device 2000 and the second shooting device 3000 through bluetooth connection, WLAN connection, and the like based on a distributed soft bus, and the specific connection process is not described herein again.
The terminal device 1000, the first shooting device 2000, and the second shooting device 3000 may be shooting devices such as a smart phone, a tablet computer, a wearable device, a notebook computer, and a desktop computer. The first photographing apparatus 2000 and the second photographing apparatus 3000 may be disposed in different orientations of the terminal apparatus 1000. For example, the first photographing apparatus 2000 is located on the left side of the terminal apparatus 1000, and the second photographing apparatus 3000 is located on the right side of the terminal apparatus 1000.
In some embodiments, terminal device 1000 displays a shooting interface in terminal device 1000, the shooting interface including at least a first image display area and a second image display area. The terminal device 1000 acquires the first image acquired by the first photographing device 2000 and displays the first image in the first image display area, and acquires the second image acquired by the second photographing device 3000 and displays the second image in the second image display area. Upon receiving the shooting instruction, the terminal apparatus 1000 controls the first shooting apparatus 2000 and the second shooting apparatus 3000 to shoot.
Referring to fig. 2, fig. 2 is a schematic block diagram of a terminal device 1000 according to an embodiment of the present disclosure. In fig. 2, the terminal device 1000 includes a processor 1001 and a memory 1002, wherein the processor 1001 and the memory 1002 are connected by a bus, such as an I2C (Inter-integrated Circuit) bus or a distributed soft bus.
The memory 1002 may include a storage medium and an internal memory, among others. The storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause the processor to perform any one of the photographing methods corresponding to the terminal device 1000.
Processor 1001 is used to provide computing and control capabilities to support the operation of the overall terminal device 1000.
The Processor 1001 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The processor 1001 is configured to run a computer program stored in the memory 1002, and when executing the computer program, the following steps are implemented:
displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area; acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; acquiring a second image acquired by second shooting equipment, and displaying the second image in a second image display area; the first shooting equipment, the second shooting equipment and the terminal equipment are connected through a distributed soft bus to form a distributed camera; and when a shooting instruction is received, controlling the first shooting equipment and the second shooting equipment to shoot.
In some embodiments, the shooting interface is provided with a shooting mode switching icon; the processor 1001 is further configured to implement:
when a first operation of the shooting mode switching icon is detected, entering a multi-camera mode, and when the terminal equipment enters the multi-camera mode, the shooting interface at least comprises two image display areas; and when a second operation of the shooting mode switching icon is detected, entering a single-camera mode, and when the terminal equipment enters the single-camera mode, the shooting interface comprises an image display area.
In some embodiments, the processor 1001 is further configured to implement:
when detecting a long press operation on any position of the shooting interface, displaying a camera list, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment; determining a first camera corresponding to the first image display area and a second camera corresponding to the second image display area according to the selection operation of the cameras in the camera list; and displaying the image acquired by the first camera in the first image display area, and displaying the image acquired by the second camera in the second image display area.
In some embodiments, the processor 1001, after implementing displaying the list of cameras, is further configured to implement:
determining at least two target cameras according to the selection operation of the cameras in the camera list; and when the number of the target cameras is more than two, partitioning the shooting interface so as to enable the number of image display areas in the shooting interface to be matched with the number of the target cameras.
In some embodiments, the processor 1001, after enabling entering the single-camera mode, is further configured to enable:
when detecting a long press operation on any position of the shooting interface, displaying a camera list, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment; determining a third camera corresponding to an image display area in the shooting interface according to the selection operation of the cameras in the camera list; and displaying the image acquired by the third camera in the image display area.
In some embodiments, the processor 1001 is further configured to, when implementing that a third camera corresponding to an image display area in the shooting interface is obtained according to a selection operation on a camera in the camera list, further configured to implement:
if the third camera is in an occupied state, determining one idle-state camera in the camera list as a fourth camera; and displaying the image collected by the fourth camera in the image display area.
In some embodiments, the processor 1001 is further configured to, before enabling displaying the list of cameras:
acquiring identification information corresponding to a camera of the external shooting equipment; and determining the camera list according to the identification information corresponding to the camera of the terminal equipment and the identification information corresponding to the camera of the external shooting equipment.
In some embodiments, the identification information comprises location information; after determining the camera list according to the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device, the processor 1001 is further configured to:
and adding the position information corresponding to the camera of the terminal equipment and the position information corresponding to the camera of the external shooting equipment into the camera list.
In some embodiments, the shooting instruction comprises a first shooting instruction corresponding to the first shooting device and a second shooting instruction corresponding to the second shooting device; the processor 1001, when controlling the first photographing apparatus and the second photographing apparatus to perform photographing when implementing that photographing instruction is received, is configured to implement:
controlling a camera of the first shooting device to shoot according to the first shooting instruction; and controlling a camera of the second shooting device to shoot according to the second shooting instruction.
Referring to fig. 3, fig. 3 is a schematic flowchart of a shooting method according to an embodiment of the present disclosure. The shooting method can be applied to the terminal equipment, and by displaying the first image display area and the second image display area on the shooting interface and controlling the first shooting equipment and the second shooting equipment to shoot, multi-angle or multi-direction shooting can be realized by adopting the distributed camera, and the shooting efficiency is effectively improved.
As shown in fig. 3, the photographing method includes steps S10 to S30.
And S10, displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area.
In the embodiment of the application, the terminal equipment is provided with a single-camera mode and a multi-camera mode. Wherein, under the single-camera mode, the mode can be switched to a multi-camera mode; in the multi-camera mode, switching to the single-camera mode is possible.
The single-camera mode is to display an image acquired by a single camera on a shooting interface and display the image through a single image display area; the multi-camera mode is that images collected by a plurality of cameras are displayed on a shooting interface, wherein the number of image display areas in the shooting interface is matched with the number of the cameras. For example, when 3 cameras are used to capture images, the shooting interface has 3 image display areas.
For example, the terminal device may default to a multi-camera mode or a single-camera mode, or use the last-used mode as the current mode. In the embodiment of the application, how to shoot is described by taking an example that a shooting interface of a terminal device is defaulted to a multi-camera mode.
Referring to fig. 4, fig. 4 is a schematic diagram of a shooting interface according to an embodiment of the present disclosure. As shown in fig. 4, when a user enters a shooting APP, the terminal device displays a shooting interface, where the shooting interface includes at least a first image display area and a second image display area.
Illustratively, as shown in fig. 4, the photographing interface of the terminal device may include a photographing mode switching icon, a gallery icon, a photographing icon, and the like. The shooting mode switching icon is used for switching the shooting mode, for example, from a single-camera mode to a multi-camera mode, or from the multi-camera mode to the single-camera mode. The gallery icon is for the user to view the historically captured images. The shooting icon is used for controlling the distributed camera to shoot by a user, for example, controlling the first shooting device and the second shooting device to shoot.
By displaying the shooting interface in the terminal equipment, the shooting interface at least comprises the first image display area and the second image display area, and the images of a plurality of shooting equipment can be displayed on the shooting interface subsequently.
S20, acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; and acquiring a second image acquired by second shooting equipment, and displaying the second image in the second image display area.
For example, a first image captured by a first camera may be acquired and displayed in a first image display area, and a second image captured by a second camera may be acquired and displayed in a second image display area.
In some embodiments, when the first photographing apparatus is a terminal apparatus and the second photographing apparatus is an external photographing apparatus, an image captured by the terminal photographing apparatus may be displayed in the first image display area and an image captured by the second photographing apparatus may be displayed in the second image display area.
In other manners, when both the first photographing device and the second photographing device are external photographing devices, an image acquired by the first photographing device may be displayed in the first image display area, and an image acquired by the second photographing device may be displayed in the second image display area. Certainly, a third image display area may also be added, the image acquired by the first shooting device is displayed in the first image display area, the image acquired by the second shooting device is displayed in the second image display area, and the image acquired by the terminal device is displayed in the third image display area.
Each image display area can display an image acquired by the terminal equipment or any external shooting equipment, and can be set according to actual requirements without limitation.
In the above embodiment, by acquiring the first image acquired by the first shooting device, displaying the first image in the first image display area, acquiring the second image acquired by the second shooting device, and displaying the second image in the second image display area, multiple-angle or multi-direction images can be simultaneously displayed on the terminal device, so that a user can conveniently adjust the camera according to a required angle or direction.
It will be appreciated that the user may reselect the camera when the angle or orientation of the displayed image does not meet the user's requirements.
And step S30, when a shooting instruction is received, controlling the first shooting equipment and the second shooting equipment to shoot.
In some embodiments, the first photographing apparatus and the second photographing apparatus are controlled to photograph when the photographing instruction is received. The shooting instruction may be a trigger operation, a gesture instruction, a voice instruction, or the like.
The trigger operation may be an operation of triggering the shooting icon, or a slide operation or a click operation in a specific direction. For example, when a sliding operation in the image display area is detected, the device corresponding to the image display area is controlled to perform shooting. In the embodiment of the present application, how to control a device to perform shooting will be described by taking a shooting instruction as an example of a trigger operation.
Referring to fig. 5, fig. 5 is a schematic view of a second shooting interface provided in the embodiment of the present application, and as shown in fig. 5, when an operation of triggering a shooting icon is detected, a shooting instruction is generated to control a first shooting device and a second shooting device to shoot. The user may trigger a shooting icon on the shooting interface to control the device corresponding to each image display area to shoot.
In the above embodiment, when the shooting instruction is received, the first shooting device and the second shooting device are controlled to shoot, so that multi-angle or multi-direction shooting can be realized by adopting the distributed camera, and the shooting efficiency is effectively improved.
In some embodiments, the shooting instruction may include a first shooting instruction corresponding to the first shooting device and a second shooting instruction corresponding to the second shooting device. When receiving a shooting instruction, controlling the first shooting device and the second shooting device to shoot may include: controlling a camera of first shooting equipment to shoot according to a first shooting instruction; and controlling a camera of the second shooting equipment to shoot according to the second shooting instruction.
It should be noted that, in the embodiment of the present application, a shooting icon may be provided in each image display area, for example, a first shooting icon is provided in the first image display area, and a second shooting icon is provided in the second image display area. The user can trigger the shooting icons in the image display areas respectively to shoot.
Illustratively, when a first shooting instruction corresponding to the first image display area is received, the first shooting device is controlled to shoot; and when a second shooting instruction corresponding to the second image display area is received, controlling the second shooting equipment to shoot.
In the above embodiment, by setting the shooting icon corresponding to each image display area on the shooting interface, different shooting devices can be independently controlled to shoot.
In some embodiments, after controlling the first photographing apparatus and the second photographing apparatus to perform photographing, photographed images of the first photographing apparatus and the second photographing apparatus may be stored in a local database or a local disk of the terminal apparatus. Of course, the captured image of the external capturing device may be stored in a local database or a local disk of the external capturing device, in addition to the local database or the local disk of the terminal device.
According to the embodiment, the shot images of the first shooting device and the second shooting device are stored in the local database or the local disk of the terminal device, so that a user can conveniently view and call the shot images of the external shooting devices.
It should be noted that, in the embodiment of the present application, a history of captured images of an external capturing device may also be viewed through a gallery icon in a capturing interface.
In some embodiments, the shooting method provided in the embodiments of the present application may further include: when the triggering operation of the gallery icon is detected, a first shot image of a first shooting device is obtained, and the first shot image is displayed in a first image display area, and a second shot image of a second shooting device is obtained, and the second shot image is displayed in a second image display area.
For example, when a trigger operation of the user on the gallery icon is detected, the first captured image may be displayed in the first image display area, and at the same time, the second captured image may be displayed in the second image display area.
In the above-described embodiment, by displaying the captured image according to the trigger operation on the gallery icon, the user can be made to view the captured image.
In the embodiment of the application, the shooting mode can be freely switched when the terminal equipment shoots. How to switch the photographing mode will be described in detail below.
In some embodiments, when a first operation on the shooting mode switching icon is detected, a multi-camera mode is entered, and when the terminal device enters the multi-camera mode, the shooting interface at least comprises two image display areas.
It should be noted that, a shooting mode switching icon is arranged on the shooting interface, and a user can set different shooting modes through the shooting mode switching icon according to actual needs.
Illustratively, the multi-camera mode is entered when a first operation on the photographing mode switching icon is detected. The first operation may be a click operation, a slide operation, or a long press operation. For example, when the current mode is the single-camera mode, the shooting mode switching icon may be clicked to switch the single-camera mode to the multi-camera mode. For another example, when the current mode is the single-camera mode, the shooting mode switching icon may be pressed and slid to the left, so that the single-camera mode may be switched to the multi-camera mode. For another example, when the single-camera mode is currently used, the single-camera mode may be switched to the multi-camera mode by pressing the shooting mode switching icon 1s for a long time.
According to the embodiment, the multi-camera mode is entered according to the first operation of switching the icon of the shooting mode, at least two image display areas can be displayed on the shooting interface, and then images in different angles or directions can be shot simultaneously.
In other embodiments, when the second operation on the shooting mode switching icon is detected, the single-camera mode is entered, and when the terminal device enters the single-camera mode, the shooting interface includes an image display area.
Illustratively, the single-camera mode is entered when a second operation on the photographing mode switching icon is detected. The second operation can be a click operation, a slide operation and a long press operation. For example, when the current mode is the multi-camera mode, the shooting mode switching icon may be clicked to switch the multi-camera mode to the single-camera mode. For another example, when the current mode is the multi-camera mode, the multi-camera mode can be switched to the single-camera mode by pressing the shooting mode switching icon to slide rightward. For another example, when the multi-camera mode is currently performed, the multi-camera mode may be switched to the single-camera mode by pressing the shooting mode switching icon 2s for a long time.
According to the embodiment, the single-camera mode is entered through the second operation on the shooting mode switching icon, the switching from the multi-camera mode to the single-camera mode can be realized, and the diversity of the shooting modes is improved.
In the embodiment of the application, the camera can be selected on the terminal equipment, and then the image collected by the selected camera can be displayed. How to select the camera will be described in detail below.
Referring to fig. 6, fig. 6 is a schematic flowchart of a sub-step of selecting a camera according to an embodiment of the present application, and the sub-step may include the following steps S201 to S203.
Step S201, when a long press operation on any position of the shooting interface is detected, a camera list is displayed, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment.
It should be noted that, when entering the shooting APP of the terminal device, the camera list may be actively displayed, and the camera list may also be displayed according to the long-press operation of the user. The camera list can be displayed in a popup window mode. Besides the shooting mode switching icon, the user can press any position of the shooting interface for a long time to display the camera list. Of course, a camera icon may also be set on the shooting interface, and the camera list may be displayed by clicking the camera icon.
Illustratively, when a long-press operation on any position of the shooting interface is detected, the camera list is displayed. The camera list comprises a camera of the terminal device and a camera of at least one external shooting device.
Step S202, according to the selection operation of the cameras in the camera list, a first camera corresponding to the first image display area and a second camera corresponding to the second image display area are determined.
It should be noted that, after the camera list is displayed on the shooting interface, a user can select one or more cameras in the camera list according to actual requirements.
Referring to fig. 7, fig. 7 is a schematic diagram of a third shooting interface provided in the embodiment of the present application. As shown in fig. 7, a camera list may be displayed on the shooting interface, for example, the camera list may include camera 1, camera 2, camera 3, and so on. The user can select the camera 1 and the camera 2 as a first camera corresponding to the first image display area and a second camera corresponding to the second image display area respectively. When the shooting interface has a third image display area, the user can also select one camera as a third camera corresponding to the third image display area.
And step S203, displaying the image acquired by the first camera in the first image display area, and displaying the image acquired by the second camera in the second image display area.
For example, after determining the camera corresponding to each image display area, the image captured by the corresponding camera may be displayed in each image display area. For example, an image captured by a first camera is displayed in a first image display area, and an image captured by a second camera is displayed in a second image display area.
According to the embodiment, the first camera corresponding to the first image display area and the second camera corresponding to the second image display area are determined according to the selection operation of the cameras in the camera list, so that the images collected by the corresponding cameras can be displayed in the image display areas, and a user can conveniently adjust the cameras according to the required angle or direction.
It should be noted that, in the embodiment of the present application, in the multi-camera mode, two cameras may be selected. When the number of the selected cameras is larger than two, if the shooting interface currently comprises two image display areas, the image display areas in the shooting interface need to be increased.
Referring to fig. 8, fig. 8 is a schematic flowchart of a second sub-step of selecting a camera according to an embodiment of the present application, which may include the following steps S301 to S303.
Step S301, when a long press operation on any position of the shooting interface is detected, a camera list is displayed, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment.
It is understood that step S301 is the same as step S201, and is not described herein again.
And step S302, determining at least two target cameras according to the selection operation of the cameras in the camera list.
For example, at least two target cameras may be determined according to a selection operation of a user on a camera in the camera list.
And step S303, when the number of the target cameras is more than two, partitioning the shooting interface so as to enable the number of the image display areas in the shooting interface to be matched with the number of the target cameras.
Illustratively, when the number of the target cameras is 3, the shooting interface is partitioned, so that the image display area in the shooting interface is 3. And when the number of the target cameras is 4, partitioning the shooting interface so that the number of image display areas in the shooting interface is 4.
In the embodiment, when the number of the target cameras is larger than two, the shooting interface is partitioned, so that the number of the image display areas in the shooting interface is matched with the number of the target cameras, the number of the image display areas can be flexibly adjusted according to the selected cameras, and the user experience is improved.
It should be noted that, in the embodiment of the present application, in the single-camera mode, one camera may be selected. Referring to fig. 9, fig. 9 is a schematic flowchart of a third sub-step of selecting a camera according to an embodiment of the present application, and may include the following steps S401 to S403.
Step S401, when detecting that a long press operation is performed on any position of the shooting interface, displaying a camera list, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment.
It is understood that step S401 is the same as step S201, and is not described herein again.
And S402, determining a third camera corresponding to an image display area in the shooting interface according to the selection operation of the cameras in the camera list.
It can be understood that, since the photographing interface includes one image display region in the single-camera mode, the user can select one of the cameras.
Illustratively, when the selection operation of the user on the cameras in the camera list is detected, the third camera corresponding to the image display area in the shooting interface is determined. The third camera may be a camera of the terminal device, or may be a camera of an external shooting device.
And S403, displaying the image acquired by the third camera in the image display area.
Referring to fig. 10, fig. 10 is a schematic view of a fourth shooting interface provided in the embodiment of the present application. As shown in fig. 10, after the third camera corresponding to the image display area is determined, the image captured by the third camera may be displayed in the image display area.
According to the embodiment, the third camera corresponding to the image display area in the shooting interface is determined according to the selection operation of the cameras in the camera list, the image collected by the third camera can be displayed in the image display area, and a user can conveniently adjust the cameras according to the required angle or direction.
Referring to fig. 11, fig. 11 is a schematic flowchart of a fourth sub-step of selecting a camera according to an embodiment of the present application, and specifically includes the following steps S501 to S504.
Step S501, when a long press operation on any position of the shooting interface is detected, a camera list is displayed, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment.
And step S502, determining a third camera corresponding to an image display area in the shooting interface according to the selection operation of the cameras in the camera list.
It is understood that the above steps S501-S502 are the same as the steps S401-S402, and are not described herein again.
Step S503, if the third camera is in an occupied state, determining one of the idle cameras in the camera list as a fourth camera.
It should be noted that, before the camera is called, the working state of the camera needs to be determined. The working state of the camera may include an idle state and an occupied state. The specific process of determining the operating state is not limited herein.
Referring to fig. 12, fig. 12 is a schematic diagram of a fifth shooting interface according to an embodiment of the present disclosure. As shown in fig. 12, when the third camera is determined to be in the occupied state, one of the cameras in the idle state in the camera list may be determined to be the fourth camera.
And step S504, displaying the image collected by the fourth camera in the image display area.
Illustratively, the image captured by the fourth camera may be displayed in the image display area.
In the above embodiment, when the third camera is in the occupied state, the camera in one of the idle states in the camera list is determined as the fourth camera, so that the situation that the image cannot be displayed can be avoided.
In the embodiment of the present application, a camera list needs to be generated in advance. How to generate the camera list will be described in detail below.
In some embodiments, before displaying the camera list, the shooting method provided in the embodiments of the present application further includes: acquiring identification information corresponding to a camera of external shooting equipment; and determining a camera list according to the identification information corresponding to the camera of the terminal equipment and the identification information corresponding to the camera of the external shooting equipment.
For example, after the terminal device is connected with the external shooting device through the distributed soft bus, the terminal device may read the identification information corresponding to the camera of the external shooting device. For example, a camera parameter request may be sent to the external shooting device, and the external shooting device returns the identification information corresponding to the camera according to the camera parameter request. The identification information may include, but is not limited to, a name of the camera, a model of the camera, a Universal Unique Identifier (UUID), and the like.
Illustratively, the terminal device may also read identification information of the terminal device. Then, a camera list is generated according to the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device. For example, the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device may be added to the blank list to obtain the camera list. When the camera list exists, the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device can be updated to the original camera list.
Illustratively, the camera list includes identification information corresponding to cameras of external photographing apparatuses that establish communication connections with the terminal device.
In some embodiments, when the external photographing apparatus is disconnected from the terminal apparatus, the identification information corresponding to the camera of the external photographing apparatus disconnected from the communication may be removed from the camera list.
In the above embodiment, the camera list is determined by obtaining the identification information corresponding to the camera of the external shooting device and according to the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device, and subsequently, the camera selection can be performed through the camera list.
In some embodiments, the identification information may also include location information of the camera. After determining the camera list according to the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device, the method may further include: and adding the position information corresponding to the camera of the terminal equipment and the position information corresponding to the camera of the external shooting equipment into a camera list. The position information may be the longitude and latitude of the camera, or the direction of the camera indoors. For example, the camera is on the left side of the living room, on the right side of the living room, and so on.
In the embodiment, the position information corresponding to the camera of the terminal equipment and the position information corresponding to the camera of the external shooting equipment are added into the camera list, so that a user can determine which camera is selected for shooting according to the position corresponding to each camera, multi-angle or multi-direction shooting can be realized more accurately, and the user experience is improved.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and the processor executes the program instructions to realize any shooting method provided by the embodiment of the application. The computer program, loaded by a processor for example, may perform the following steps:
displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area; acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; acquiring a second image acquired by second shooting equipment, and displaying the second image in a second image display area; the first shooting equipment, the second shooting equipment and the terminal equipment are connected through a distributed soft bus to form a distributed camera; and when a shooting instruction is received, controlling the first shooting equipment and the second shooting equipment to shoot.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, for example, a hard disk or a memory of the terminal device. The computer readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), and the like provided on the terminal device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A shooting method is applied to a terminal device and comprises the following steps:
displaying a shooting interface in the terminal equipment, wherein the shooting interface at least comprises a first image display area and a second image display area;
acquiring a first image acquired by first shooting equipment, and displaying the first image in a first image display area; acquiring a second image acquired by second shooting equipment, and displaying the second image in a second image display area; the first shooting device, the second shooting device and the terminal device are connected through a distributed soft bus to form a distributed camera;
and when a shooting instruction is received, controlling the first shooting equipment and the second shooting equipment to shoot.
2. The photographing method of claim 1, wherein the first photographing apparatus is the terminal apparatus, and the second photographing apparatus is an external photographing apparatus; or both the first shooting device and the second shooting device are external shooting devices.
3. The shooting method according to claim 1, wherein the shooting interface is provided with a shooting mode switching icon; the method further comprises the following steps:
when a first operation on the shooting mode switching icon is detected, entering a multi-camera mode, and when the terminal equipment enters the multi-camera mode, the shooting interface at least comprises two image display areas;
and when detecting a second operation on the shooting mode switching icon, entering a single-camera mode, and when the terminal equipment enters the single-camera mode, enabling the shooting interface to comprise an image display area.
4. The photographing method according to claim 1, wherein the method further comprises:
when detecting a long press operation on any position of the shooting interface, displaying a camera list, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment;
determining a first camera corresponding to the first image display area and a second camera corresponding to the second image display area according to the selected operation of the cameras in the camera list;
and displaying the image acquired by the first camera in the first image display area, and displaying the image acquired by the second camera in the second image display area.
5. The shooting method according to claim 4, wherein after the displaying the camera list, the method further comprises:
determining at least two target cameras according to the selected operation of the cameras in the camera list;
and when the number of the target cameras is more than two, partitioning the shooting interface so as to enable the number of image display areas in the shooting interface to be matched with the number of the target cameras.
6. The photographing method according to claim 3, wherein after the single-camera mode is entered, the method further comprises:
when detecting a long press operation on any position of the shooting interface, displaying a camera list, wherein the camera list comprises a camera of the terminal equipment and a camera of at least one external shooting equipment;
determining a third camera corresponding to an image display area in the shooting interface according to the selection operation of the cameras in the camera list;
and displaying the image acquired by the third camera in the image display area.
7. The shooting method according to claim 6, wherein after the third camera corresponding to the image display area in the shooting interface is obtained according to the selected operation on the camera in the camera list, the method further comprises:
if the third camera is in an occupied state, determining one camera in an idle state in the camera list as a fourth camera;
and displaying the image acquired by the fourth camera in the image display area.
8. The photographing method according to any one of claims 4 to 7, wherein before the displaying the list of cameras, the method further comprises:
acquiring identification information corresponding to a camera of the external shooting equipment;
and determining the camera list according to the identification information corresponding to the camera of the terminal equipment and the identification information corresponding to the camera of the external shooting equipment.
9. The shooting method according to claim 8, wherein after determining the camera list according to the identification information corresponding to the camera of the terminal device and the identification information corresponding to the camera of the external shooting device, the method further comprises:
and adding the position information corresponding to the camera of the terminal equipment and the position information corresponding to the camera of the external shooting equipment into the camera list.
10. The shooting method according to claim 1, wherein the shooting instruction includes a first shooting instruction corresponding to the first shooting device and a second shooting instruction corresponding to the second shooting device;
when receiving a shooting instruction, the first shooting device and the second shooting device are controlled to shoot, and the method comprises the following steps:
controlling a camera of the first shooting device to shoot according to the first shooting instruction;
and controlling a camera of the second shooting device to shoot according to the second shooting instruction.
11. A terminal device, characterized in that the terminal device comprises a memory and a processor;
the memory is used for storing a computer program;
the processor for executing the computer program and implementing the photographing method according to any one of claims 1 to 10 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the photographing method according to any one of claims 1 to 10.
CN202211464805.2A 2022-11-17 2022-11-17 Photographing method, terminal device and storage medium Pending CN115514898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211464805.2A CN115514898A (en) 2022-11-17 2022-11-17 Photographing method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211464805.2A CN115514898A (en) 2022-11-17 2022-11-17 Photographing method, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN115514898A true CN115514898A (en) 2022-12-23

Family

ID=84513851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211464805.2A Pending CN115514898A (en) 2022-11-17 2022-11-17 Photographing method, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN115514898A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798615A (en) * 2019-10-14 2020-02-14 深圳酷派技术有限公司 Shooting method, shooting device, storage medium and terminal
CN114449134A (en) * 2020-10-30 2022-05-06 华为技术有限公司 Shooting method and terminal equipment
CN114845035A (en) * 2021-01-30 2022-08-02 华为技术有限公司 Distributed shooting method, electronic equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798615A (en) * 2019-10-14 2020-02-14 深圳酷派技术有限公司 Shooting method, shooting device, storage medium and terminal
CN114449134A (en) * 2020-10-30 2022-05-06 华为技术有限公司 Shooting method and terminal equipment
CN114845035A (en) * 2021-01-30 2022-08-02 华为技术有限公司 Distributed shooting method, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US11846877B2 (en) Method and terminal for acquiring panoramic image
CN109891874B (en) Panoramic shooting method and device
US10530998B2 (en) Image processing device, imaging device, image processing method, and program
KR101899351B1 (en) Method and apparatus for performing video communication in a mobile terminal
CN108495032B (en) Image processing method, image processing device, storage medium and electronic equipment
CN104980659A (en) Electronic terminal for controlling shooting display and control method thereof
US20170156106A1 (en) Method and apparatus for retrieving and displaying network state information
CN109445577B (en) Virtual room switching method and device, electronic equipment and storage medium
CN108366163B (en) Control method and device for camera application, mobile terminal and computer readable medium
CN113473007B (en) Shooting method and device
CN108965611B (en) Shooting interface switching method, device, equipment and storage medium
US20170249513A1 (en) Picture acquiring method, apparatus, and storage medium
CN105338238A (en) Photographing method and electronic device
CN109726064B (en) Method, device and system for simulating abnormal operation of client and storage medium
JP6291072B2 (en) Live view control device, live view control method, live view system, and program
CN109618192B (en) Method, device, system and storage medium for playing video
CN106162150B (en) A kind of photographic method and mobile terminal
CN108924422B (en) Panoramic photographing method and mobile terminal
KR20150027934A (en) Apparatas and method for generating a file of receiving a shoot image of multi angle in an electronic device
US10114221B1 (en) Toggling a 360-degree camera to selfie view
CN112911147A (en) Display control method, display control device and electronic equipment
US11310430B2 (en) Method and apparatus for providing video in portable terminal
EP2793462B1 (en) Method and apparatus for video call in communication system
CN104378576B (en) Information processing method and electronic equipment
CN103512557A (en) Electronic equipment and method for determining relative location between electronic equipment

Legal Events

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