Shooting method and device, head-mounted equipment and storage medium
By incorporating horizontal and vertical camera components into the head-mounted device and controlling the shooting based on the terminal device's screen status, the problem of image display mismatch is solved, achieving intelligent adaptation and diversified shooting methods, and improving device battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHUHAI MOJIE TECH CO LTD
- Filing Date
- 2025-12-22
- Publication Date
- 2026-04-28
AI Technical Summary
Images captured by cameras in existing head-mounted devices cannot be adapted to the display screen state of the terminal device when displayed, resulting in display inconsistencies.
The head-mounted device is equipped with at least two sets of camera components, which are set horizontally and vertically respectively. The different components are controlled to capture images according to the screen status of the terminal device, and the images are sent to the terminal device to adapt to the display status.
It enables the adaptation of images captured by the head-mounted device to the screen status on the terminal device, improving display intelligence and the diversity of shooting methods, saving terminal device storage space and extending device battery life.
Smart Images

Figure CN121940652A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, specifically to an image shooting method, apparatus, head-mounted device, and computer-readable storage medium. Background Technology
[0002] With the development of science and technology, head-mounted devices such as AI (Artificial Intelligence) glasses, AR (Augmented Reality) glasses, and VR (Virtual Reality) headsets have gradually entered the public eye. Current head-mounted devices can be equipped with cameras to capture images, which are then sent to terminal devices for display. However, the terminal devices used in these technologies, such as mobile phones and tablets, have screens that can be in either landscape or portrait orientation. Therefore, ensuring that the image displayed on the terminal device matches the screen orientation of the head-mounted device's camera is a pressing issue that needs to be addressed. Summary of the Invention
[0003] This application provides a shooting method, apparatus, head-mounted device, and computer-readable storage medium, aiming to solve the problem that when images captured by a head-mounted device are displayed on a terminal device, the displayed image is adapted to the state of the terminal device's display screen.
[0004] In a first aspect, this application provides a shooting method applied to a head-mounted device, the head-mounted device including at least a first camera component and a second camera component, the first camera component being horizontally disposed in the head-mounted device, and the second camera component being vertically disposed in the head-mounted device, the method comprising: After receiving the shooting instruction, the first camera component and / or the second camera component are controlled to perform shooting operations based on the determined shooting strategy to obtain the captured target image; The target image is sent to the terminal device so that the terminal device can display the target image based on the current screen state.
[0005] Optionally, after receiving the shooting instruction, controlling the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain the captured target image includes: After receiving the shooting command, the first camera component and the second camera component are controlled to perform shooting operations to obtain a first image captured by the first camera component and a second image captured by the second camera component; Sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The first image and the second image are sent to the terminal device so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
[0006] Optionally, after receiving the shooting instruction, controlling the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain the captured target image includes: After receiving the shooting instruction, determine the current screen state of the terminal device; If it is determined that the current screen state of the terminal device is landscape mode, then the first camera component is controlled to perform a shooting operation to obtain the first image captured. If it is determined that the current screen state of the terminal device is portrait mode, then the second camera component is controlled to perform a shooting operation to obtain a captured second image.
[0007] Optionally, the method further includes: If it is determined that the current screen state of the terminal device is landscape mode, and it is determined that the first camera component is in a fault state, then the second camera component is controlled to perform a shooting operation to obtain a captured second image; The step of sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The second image is sent to the terminal device so that the terminal device can process the second image based on the current screen state and display the processed second image.
[0008] Optionally, determining the current screen state of the terminal device after receiving the shooting command includes: After receiving the shooting instruction, determine the current battery level of the head-mounted device; If the current battery level is less than the preset battery level, then the current screen state of the terminal device is determined.
[0009] Optionally, the method further includes: If the current battery level is greater than or equal to the preset battery level, then the first camera component and the second camera component are controlled to perform a shooting operation to obtain a first image captured by the first camera component and a second image captured by the second camera component; Sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The first image and the second image are sent to the terminal device so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
[0010] Optionally, the head-mounted device includes smart glasses, the smart glasses including a frame, a first temple and a second temple, the first camera component being disposed on the side of the frame near the first temple, and the second camera component being disposed on the side of the frame near the second temple; Alternatively, the first camera component and the second camera component may be located in the same area of the frame.
[0011] Secondly, this application provides a shooting device applied to a head-mounted device, the head-mounted device including at least a first camera component and a second camera component, the first camera component being horizontally disposed in the head-mounted device, and the second camera component being vertically disposed in the head-mounted device, the shooting device comprising: The shooting control module is used to control the first camera component and / or the second camera component to perform shooting operations based on a determined shooting strategy after receiving a shooting instruction, so as to obtain the captured target image; An image sending module is used to send the target image to the terminal device so that the terminal device can display the target image based on the current screen state.
[0012] Thirdly, this application also provides a head-mounted device, which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes any of the shooting methods provided in this application when it calls the computer program in the memory.
[0013] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the aforementioned shooting method.
[0014] In this application, the head-mounted device includes at least a first camera component and a second camera component. The first camera component is horizontally disposed in the head-mounted device, and the second camera component is vertically disposed in the head-mounted device. After the head-mounted device receives a shooting command, it controls the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain a captured target image. The target image is then sent to a terminal device for the terminal device to display based on the current screen state. This allows the head-mounted device to capture target images corresponding to different directions through two camera components in different directions. When the terminal device displays the target image, it can display the corresponding target image based on its display screen state, making the displayed image compatible with the state of the terminal device's display screen. This improves the intelligence of displaying images captured by the head-mounted device on the terminal device and also enriches the ways the head-mounted device captures images, allowing it to capture images horizontally (through the first camera component) or vertically (through the second camera component). Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic block diagram of the structure of a head-mounted device provided in an embodiment of this application; Figure 2 This is a schematic flowchart of a shooting method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of smart glasses provided in an embodiment of this application; Figure 4 This is a schematic diagram of an embodiment of the imaging device provided in this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0019] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0020] To enable any person skilled in the art to implement and use this application, the following description is provided. In this description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be implemented without using these specific details. In other instances, well-known processes will not be described in detail to avoid obscuring the description of the embodiments of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in the embodiments of this application.
[0021] This application provides a shooting method, apparatus, head-mounted device, and computer-readable storage medium. The shooting apparatus can be integrated into the head-mounted device. The head-mounted device can be smart glasses, a smart helmet, etc. The smart glasses can be AR (augmented reality) glasses, VR glasses, MR (mixed reality) glasses, XR (eXtended Reality) glasses, etc., and the smart helmet can be an AR helmet, etc.
[0022] The subject executing the shooting method in this application embodiment can be the shooting device provided in this application embodiment, or a head-mounted device that integrates the shooting device. The shooting device can be implemented in hardware or software.
[0023] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0024] Figure 1 This is a schematic block diagram of the structure of a head-mounted device provided in an embodiment of this application.
[0025] like Figure 1As shown, the head-mounted device 100 includes a processor 101 and a memory 102, as well as at least a first camera assembly and a second camera assembly. Figure 1 (Not shown), processor 101 and memory 102 are connected via bus 103, such as an I2C (Inter-integrated Circuit) bus.
[0026] Specifically, processor 101 provides computing and control capabilities to support the operation of the entire head-mounted device 100. Processor 101 can be a Central Processing Unit (CPU), or it can 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, etc. The general-purpose processor can be a microprocessor or any conventional processor. In one embodiment, the first and second camera components establish a communication connection with processor 101.
[0027] Specifically, the memory 102 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0028] Those skilled in the art will understand that Figure 1 The structures shown are merely block diagrams of some structures related to the embodiments of this application and do not constitute a limitation on the head-mounted device to which the embodiments of this application are applied. Specific head-mounted devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.
[0029] The processor 101 is configured to run a computer program stored in the memory 102, and implement any of the shooting methods described in the embodiments of this application when executing the computer program. For example, the processor 101 is configured to run a computer program stored in the memory 102, and can implement the following steps when executing the computer program: After receiving the shooting instruction, the first camera component and / or the second camera component are controlled to perform shooting operations based on the determined shooting strategy to obtain the captured target image; The target image is sent to the terminal device so that the terminal device can display the target image based on the current screen state.
[0030] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the head-mounted device described above can be referred to the corresponding process in the following shooting method embodiments, and will not be repeated here.
[0031] The following will be based on Figure 1 Taking the head-mounted device shown as the execution subject of this shooting method as an example, the shooting method provided in this application embodiment will be described in detail. For the sake of simplification and ease of description, the execution subject will be omitted in the subsequent method embodiments.
[0032] Please see Figure 2 , Figure 2 This is a flowchart illustrating a shooting method provided in an embodiment of this application. The shooting method includes steps S201 and S202, wherein: S201. After receiving the shooting instruction, the first camera component and / or the second camera component are controlled to perform shooting operations based on the determined shooting strategy to obtain the captured target image.
[0033] In this embodiment, the head-mounted device includes at least a first camera assembly and a second camera assembly. The first camera assembly is horizontally disposed in the head-mounted device, and the second camera assembly is vertically disposed in the head-mounted device. Thus, the head-mounted device includes at least two sets of camera assemblies. These two sets of camera assemblies are disposed or installed in different ways in the head-mounted device. One set of camera assemblies is horizontally disposed or installed in the head-mounted device, and the other set of camera assemblies is vertically disposed or installed in the head-mounted device. The first camera assembly is one set of camera assemblies, and the second camera assembly is another set of camera assemblies. Each set of camera assemblies includes at least one camera.
[0034] Once the head-mounted device receives a shooting command, it controls the first and / or second camera components to perform a shooting operation based on a defined shooting strategy to obtain the target image. It is understood that the target image includes at least one image captured by the first or second camera component, or it may include images captured by both. The shooting command can be triggered by the user through the head-mounted device or by the user through a terminal device connected to the head-mounted device.
[0035] In this embodiment, the shooting strategy can be determined by shooting instructions. For example, the head-mounted device and / or terminal device can be equipped with three options: shooting by a first shooting component, shooting by a second shooting component, and shooting by both the first and second shooting components. Users can select the corresponding option according to their needs to trigger the shooting instruction.
[0036] In one embodiment, the head-mounted device includes smart glasses. The smart glasses include a frame, a first temple, and a second temple. A first camera component is disposed on the side of the frame near the first temple, and a second camera component is disposed on the side of the frame near the second temple. Alternatively, the first and second camera components may be disposed in the same area of the frame, such as both on the side of the frame near the first temple, or both on the side of the frame near the second temple, or both in the middle area of the frame, such as the area of the frame corresponding to the nose pad. (See reference...) Figure 3 , Figure 3 As shown, label "1" indicates the second camera component, and label "2" indicates the first camera component.
[0037] S202. The target image is sent to the terminal device so that the terminal device can display the target image based on the current screen state.
[0038] Once the head-mounted device acquires the target image, it sends the image to the terminal device. Upon receiving the target image, the terminal device determines its current screen state and displays the target image based on that state. Screen states include landscape and portrait orientations. It is understood that the head-mounted device in this embodiment may or may not have a display function. When the head-mounted device has a display function, it can display the target image after acquiring it.
[0039] In one embodiment, step S201 includes: Step a: After receiving the shooting command, control the first camera component and the second camera component to perform the shooting operation to obtain the first image captured by the first camera component and the second image captured by the second camera component.
[0040] In this embodiment, step S202 includes: Step b: Send the first image and the second image to the terminal device so that the terminal device can determine the image to display based on the current screen state; wherein, when the screen state is landscape mode, the terminal device displays the first image; when the screen state is portrait mode, the terminal device displays the second image.
[0041] In one embodiment, after the head-mounted device receives a shooting command, it can directly control the first and second camera components to perform shooting operations, obtaining a first image and a second image. It is understood that, for ease of distinction, this embodiment records the image captured by the first camera component as the first image and the image captured by the second camera component as the second image. When the head-mounted device obtains the first and second images, it simultaneously sends both images to the terminal device. When the terminal device receives the first and second images, if it determines that its current screen state is landscape mode, it displays the first image; if it determines that the screen state is portrait mode, it displays the second image.
[0042] In one embodiment, when the head-mounted device has a display function and simultaneously captures a first image and a second image through the first camera component and the second camera component, the head-mounted device can select whether to display the first image or the second image according to a preset display mode. For example, if the preset display mode is landscape display, the head-mounted device displays the first image; if the preset display mode is portrait display, the head-mounted device displays the second image.
[0043] The head-mounted device in this embodiment includes at least a first camera component and a second camera component. The first camera component is horizontally disposed within the head-mounted device, and the second camera component is vertically disposed within the head-mounted device. After receiving a shooting command, the head-mounted device controls the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain a captured target image. The target image is then sent to a terminal device for display based on the current screen state. This allows the head-mounted device to capture target images corresponding to different directions through two camera components in different directions. When the terminal device displays the target image, it can display the corresponding target image based on its screen state, ensuring the displayed image matches the state of the terminal device's screen. This improves the intelligence of displaying images captured by the head-mounted device on the terminal device and enriches the ways the head-mounted device captures images, allowing for both horizontal (via the first camera component) and vertical (via the second camera component) shooting.
[0044] In one embodiment, if the terminal device determines that its current screen state is landscape mode, the terminal device displays the first image and deletes the received second image; if the terminal device determines that its current screen state is portrait mode, the terminal device displays the second image and deletes the received first image, thereby saving storage space of the terminal device.
[0045] In one embodiment, after the terminal device receives the first image and the second image, it stores the first image and the second image. When it determines that its current screen state is landscape mode, it displays the first image. If, after displaying the first image, it detects that its current screen state has switched from landscape to portrait mode, it displays the second image. Conversely, when the terminal device determines that its current screen state is portrait mode, it displays the second image. If, after displaying the second image, it detects that its current screen state has switched from portrait to landscape mode, it displays the first image. In this embodiment, after receiving the first image and the second image and determining the image to display based on its current screen state, if it detects a change in screen state, it will change the displayed image based on the changed screen state. This ensures that the image displayed by the terminal device always adapts to its screen state; that is, the displayed image changes as the terminal device's screen state changes.
[0046] In one embodiment, step S201 includes: Step c: After receiving the shooting instruction, determine the current screen state of the terminal device; Step d: If it is determined that the current screen state of the terminal device is landscape mode, then control the first camera component to perform a shooting operation to obtain the first captured image; Step e: If it is determined that the current screen state of the terminal device is portrait mode, then control the second camera component to perform a shooting operation to obtain the captured second image.
[0047] In one embodiment, after the head-mounted device receives a shooting command, it determines the current screen state of the terminal device. If the shooting command is sent from the terminal device to the head-mounted device, the shooting command may carry a status identifier of the terminal device's screen state, which can uniquely identify the current screen state of the terminal device. For example, the status identifier for landscape mode may be "00", and the status identifier for portrait mode may be "11". In this embodiment, the form of the status identifier is not limited. If the shooting command is not sent by the terminal device, or if the shooting command does not carry a status identifier, the head-mounted device sends a status acquisition command to the terminal device. After receiving the status acquisition command, the terminal device sends the status identifier of its current screen state to the head-mounted device, so that the head-mounted device can determine the current screen state of the terminal device based on the status identifier.
[0048] When the head-mounted device determines that the current screen state of the terminal device is landscape mode, the head-mounted device controls the first camera component to perform a shooting operation, obtain a first image, and send the first image to the terminal device for display in landscape mode; when the head-mounted device determines that the current screen state of the terminal device is portrait mode, the head-mounted device controls the second camera component to perform a shooting operation, obtain a second image, and send the second image to the terminal device for display in portrait mode.
[0049] This embodiment controls the first camera component in the head-mounted device to perform the shooting operation when the terminal device is in landscape mode, and controls the second camera component in the head-mounted device to perform the shooting operation when the terminal device is in portrait mode. That is, this embodiment determines whether to shoot the image using the first camera component or the second camera component based on the screen state of the terminal device, thereby avoiding simultaneous shooting by the first and second camera components, reducing the power consumption of the head-mounted device when shooting images, and improving the battery life of the head-mounted device.
[0050] In one embodiment, step c includes: after receiving the shooting instruction, determining the current battery level of the head-mounted device; if the current battery level is less than a preset battery level, determining the current screen state of the terminal device.
[0051] In one embodiment, after the head-mounted device receives a shooting command, it determines its current battery level and whether it is less than a preset battery level. The preset battery level can be set according to specific needs, such as 20% or 15% of the total battery level. If the current battery level is determined to be less than the preset battery level, the head-mounted device determines the current screen state of the terminal device and controls either the first camera component or the second camera component to perform the shooting operation based on the current screen state. It will not control both the first and second camera components to perform shooting operations simultaneously.
[0052] In one embodiment, the method further includes: If the current battery level is greater than or equal to the preset battery level, then the first camera component and the second camera component are controlled to perform a shooting operation to obtain a first image captured by the first camera component and a second image captured by the second camera component.
[0053] In this embodiment, step S202 includes: sending the first image and the second image to a terminal device so that the terminal device can determine the image to be displayed based on the current screen state; wherein, when the screen state is landscape mode, the terminal device displays the first image; when the screen state is portrait mode, the terminal device displays the second image.
[0054] When the head-mounted device determines that its current battery level is greater than or equal to the preset battery level, the head-mounted device controls the first camera component and the second camera component to perform a shooting operation, obtain a first image and a second image, and send the first image and the second image to the terminal device so that the terminal device can determine the image to display based on the current screen state.
[0055] This embodiment improves the battery life of the head-mounted device when its current battery level is lower than a preset level by avoiding the simultaneous activation of the first and second camera components to perform shooting operations.
[0056] In one embodiment, the method further includes: if it is determined that the current screen state of the terminal device is landscape mode and the first camera component is in a fault state, then controlling the second camera component to perform a shooting operation to obtain a captured second image.
[0057] In this embodiment, step S202 includes: sending the second image to the terminal device so that the terminal device can process the second image based on the current screen state and display the processed second image.
[0058] In one embodiment, if the head-mounted device determines that the current screen state of the terminal device is landscape mode, but at this time it determines that the first camera component is in a faulty state, the head-mounted device controls the second camera component to perform a shooting operation, obtain a captured second image, and send the second image to the terminal device. When the terminal device receives the second image, it processes the second image based on the current screen state, i.e., landscape mode. For example, it may rotate the second image based on the pixel coordinates displayed in landscape mode using nearest neighbor interpolation, bilinear interpolation, etc., to obtain a rotated second image, i.e., a processed second image, and then displays the processed second image. In another embodiment, if the clarity of the rotated second image decreases, the terminal device may first improve the clarity of the second image using an image enhancement algorithm before displaying the improved image. Specific image enhancement algorithms can be found in related technologies and will not be detailed here.
[0059] Understandably, if the head-mounted device determines that the terminal device's screen is currently in portrait mode and that the second camera component is malfunctioning, the head-mounted device will control the first camera component to perform a shooting operation, obtain a first image, and then send the first image to the terminal device. Upon receiving the first image, the terminal device will process the first image based on its current screen state and display the processed image.
[0060] After the terminal device receives the processed second image or the processed first image, the terminal device stores the second image before processing and the processed second image, or stores the first image before processing and the processed first image, so as to select the corresponding image for display based on the screen state later.
[0061] In this embodiment, when the current screen state of the terminal device is determined to be landscape mode and the first camera component is determined to be in a fault state, the head-mounted device controls the second camera component to perform a shooting operation to obtain a second image. When the terminal device receives the second image, it processes the received image based on the screen state and displays the processed image, so that the image displayed by the terminal device is always adapted to its screen state.
[0062] Furthermore, to better implement the shooting method in the embodiments of this application, based on the shooting method, the embodiments of this application also provide a shooting device. This shooting device is applied to a head-mounted device, which includes at least a first camera component and a second camera component. The first camera component is horizontally disposed in the head-mounted device, and the second camera component is vertically disposed in the head-mounted device. Figure 4 The diagram shown is a structural schematic of one embodiment of the imaging device provided in this application. The imaging device 400 includes: The shooting control module 410 is used to control the first camera component and / or the second camera component to perform shooting operations based on a determined shooting strategy after receiving a shooting instruction, so as to obtain the captured target image; The image sending module 420 is used to send the target image to the terminal device so that the terminal device can display the target image based on the current screen state.
[0063] In some embodiments, the shooting control module 410 is further configured to control the first camera component and the second camera component to perform shooting operations after receiving a shooting instruction, so as to obtain a first image captured by the first camera component and a second image captured by the second camera component; The image sending module 420 is further configured to send the first image and the second image to the terminal device, so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
[0064] In some embodiments, the shooting control module 410 includes: The screen state determination unit is used to determine the current screen state of the terminal device after receiving the shooting instruction; The first shooting control unit is configured to control the first camera component to perform a shooting operation and obtain a first image if it is determined that the current screen state of the terminal device is landscape mode. The second shooting control unit is used to control the second camera component to perform a shooting operation and obtain a second image if it is determined that the current screen state of the terminal device is portrait mode.
[0065] In some embodiments, the shooting control module 410 is further configured to control the second camera component to perform a shooting operation to obtain a second image if it is determined that the current screen state of the terminal device is landscape mode and the first camera component is in a fault state; The image sending module 420 is further configured to send the second image to the terminal device, so that the terminal device can process the second image based on the current screen state and display the processed second image.
[0066] In some embodiments, the screen state determination unit is used to: After receiving the shooting instruction, determine the current battery level of the head-mounted device; If the current battery level is less than the preset battery level, then the current screen state of the terminal device is determined.
[0067] In some embodiments, the shooting control module 410 is further configured to control the first camera component and the second camera component to perform shooting operations if the current battery level is greater than or equal to the preset battery level, so as to obtain a first image captured by the first camera component and a second image captured by the second camera component; The image sending module 420 is further configured to send the first image and the second image to the terminal device, so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
[0068] In some embodiments, the head-mounted device includes smart glasses, the smart glasses including a frame, a first temple and a second temple, a first camera assembly disposed on the side of the frame near the first temple, and a second camera assembly disposed on the side of the frame near the second temple; Alternatively, the first camera component and the second camera component may be located in the same area of the frame.
[0069] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous shooting method embodiment, which will not be repeated here.
[0070] Those skilled in the art will understand that all or part of the steps in the above-described shooting method can be accomplished by instructions, or by controlling related hardware through instructions. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0071] Therefore, embodiments of this application provide a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute any of the shooting methods provided in embodiments of this application.
[0072] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0073] In the above embodiments of the shooting device, computer-readable storage medium, and head-mounted device, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the shooting device, computer-readable storage medium, head-mounted device, and their corresponding units described above can be referred to the description of the shooting method in the above embodiments, and will not be repeated here.
[0074] The foregoing has provided a detailed description of a shooting method, apparatus, head-mounted device, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A shooting method, characterized in that, The shooting method is applied to a head-mounted device, the head-mounted device including at least a first camera component and a second camera component, the first camera component being horizontally disposed in the head-mounted device, and the second camera component being vertically disposed in the head-mounted device, the method comprising: After receiving the shooting instruction, the first camera component and / or the second camera component are controlled to perform shooting operations based on the determined shooting strategy to obtain the captured target image; The target image is sent to the terminal device so that the terminal device can display the target image based on the current screen state.
2. The shooting method according to claim 1, characterized in that, After receiving the shooting instruction, the step of controlling the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain the captured target image includes: After receiving the shooting command, the first camera component and the second camera component are controlled to perform shooting operations to obtain a first image captured by the first camera component and a second image captured by the second camera component; Sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The first image and the second image are sent to the terminal device so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
3. The shooting method according to claim 1, characterized in that, After receiving the shooting instruction, the step of controlling the first camera component and / or the second camera component to perform a shooting operation based on a determined shooting strategy to obtain the captured target image includes: After receiving the shooting instruction, determine the current screen state of the terminal device; If it is determined that the current screen state of the terminal device is landscape mode, then the first camera component is controlled to perform a shooting operation to obtain the first image captured. If it is determined that the current screen state of the terminal device is portrait mode, then the second camera component is controlled to perform a shooting operation to obtain a captured second image.
4. The shooting method according to claim 3, characterized in that, The method further includes: If it is determined that the current screen state of the terminal device is landscape mode, and it is determined that the first camera component is in a fault state, then the second camera component is controlled to perform a shooting operation to obtain a captured second image; The step of sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The second image is sent to the terminal device so that the terminal device can process the second image based on the current screen state and display the processed second image.
5. The shooting method according to claim 3, characterized in that, The step of determining the current screen state of the terminal device after receiving the shooting command includes: After receiving the shooting instruction, determine the current battery level of the head-mounted device; If the current battery level is less than the preset battery level, then the current screen state of the terminal device is determined.
6. The shooting method according to claim 5, characterized in that, The method further includes: If the current battery level is greater than or equal to the preset battery level, then the first camera component and the second camera component are controlled to perform a shooting operation to obtain a first image captured by the first camera component and a second image captured by the second camera component; Sending the target image to the terminal device so that the terminal device can display the target image based on the current screen state includes: The first image and the second image are sent to the terminal device so that the terminal device can determine the image to be displayed based on the current screen state; Specifically, when the screen is in landscape mode, the terminal device displays the first image; when the screen is in portrait mode, the terminal device displays the second image.
7. The shooting method according to any one of claims 1-6, characterized in that, The head-mounted device includes smart glasses, which include a frame, a first temple and a second temple, a first camera assembly disposed on the side of the frame near the first temple, and a second camera assembly disposed on the side of the frame near the second temple. Alternatively, the first camera component and the second camera component may be located in the same area of the frame.
8. A shooting device, characterized in that, The device is applied to a head-mounted device, the head-mounted device including at least a first camera assembly and a second camera assembly, the first camera assembly being horizontally disposed in the head-mounted device, and the second camera assembly being vertically disposed in the head-mounted device, the imaging device comprising: The shooting control module is used to control the first camera component and / or the second camera component to perform shooting operations based on a determined shooting strategy after receiving a shooting instruction, so as to obtain the captured target image; An image sending module is used to send the target image to the terminal device so that the terminal device can display the target image based on the current screen state.
9. A head-mounted device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the shooting method as described in any one of claims 1 to 7 when it invokes the computer program in the memory.
10. A computer-readable storage medium, characterized in that, It contains a computer program, which is loaded by a processor to execute the shooting method according to any one of claims 1 to 7.