Image shooting method and device, terminal and medium

By acquiring the initial position on the terminal and rotating the shooting of multiple images, and stitching into a panoramic image, the problem of difficulty in shooting mountains or multiple scenes in the prior art is solved, and the shooting effect and user experience of the image are improved.

CN119071635APending Publication Date: 2024-12-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310637695.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, when shooting mountains or multiple scenes, it is difficult to clearly capture all objects into the image, and it is impossible to highlight the objects that the user wants to emphasize, which affects the image shooting effect.

Method used

By obtaining the initial position on the terminal, at least three images are captured, including images taken in one direction and the opposite direction from the initial position, and stitching them into a panoramic image to highlight the central position.

Benefits of technology

It improves the shooting experience and display effect of panoramic images, and can clearly capture and splice the entire scene to highlight the objects that users want.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071635A_ABST
    Figure CN119071635A_ABST
Patent Text Reader

Abstract

The invention relates to an image shooting method and device, a terminal and a medium, and the method comprises the steps: obtaining a first position of the terminal based on a first instruction; in the process that the terminal rotates from the first position to the first direction, shooting at least three images in the process that the terminal rotates to the second direction based on the second instruction; wherein the at least three images comprise a first image, a second image and a third image; and at least splicing the first image, the second image and the third image to obtain a panoramic image. By adopting the image shooting method disclosed by the invention, the first position can be highlighted as the central position in the obtained panoramic image, and the display effect of the panoramic image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to an image shooting method, device, terminal and medium. Background Art

[0002] As the performance of camera devices on terminals continues to improve, the effects of captured images are getting better and better, and there are more and more shooting modes.

[0003] At present, the improvement of shooting performance and shooting effects is mainly concentrated on shooting partial images. However, in some shooting scenarios, for example, when the user wants to shoot the mountains behind him, or when multiple people need to enter the country, the current partial image shooting effect cannot clearly capture the mountains or each person in the image, and when shooting, it is impossible to highlight the object that the user wants to emphasize, which affects the image shooting effect. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides an image capturing method, device, terminal and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an image capturing method, the image capturing method comprising:

[0006] Based on the first instruction, obtaining a first location of the terminal;

[0007] During the process of the terminal rotating from the first position toward the first direction, based on the second instruction, at least three images are captured during the process of the terminal rotating toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image captured when the terminal is located at the first position, the first image is an image captured when the terminal is located at the first position in the first direction, the third image is an image captured when the terminal is located at the first position in the second direction, and the second direction is opposite to the first direction;

[0008] At least the first image, the second image and the third image are stitched together to obtain a panoramic image.

[0009] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0010] During the process of the terminal rotating from the first position toward the first direction, displaying first indication information on a display interface of the terminal, the first indication information including first position indication information and second position indication information, the first position indication information being used to indicate the current position of the terminal in the first direction of the first position;

[0011] The second position indication information is used to indicate that the terminal is located at a second position in a second direction of the first position;

[0012] The second position and the current position are arranged symmetrically with respect to the center of the first position.

[0013] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0014] When the terminal rotates toward the second direction to the second position, the terminal sends out a first prompt message, where the first prompt message is used to prompt the user to stop rotating and end the shooting process.

[0015] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0016] Based on the first instruction, second indication information is issued, where the second indication information is used to instruct the user to rotate the terminal.

[0017] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0018] During the process of the terminal rotating from the first position toward the first direction, when the terminal rotates to a third position, the terminal issues a second prompt message, where the second prompt message is used to prompt the user to stop rotating.

[0019] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0020] When the terminal rotates to the third position and then continues to rotate in the first direction to a fourth position, the terminal exits the photographing process.

[0021] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0022] During the rotation of the terminal toward the second direction, a first image and a preview image of the current position of the terminal are displayed in real time on the display interface of the terminal, wherein the first image is formed by splicing images that have been captured through frame splicing.

[0023] In some exemplary embodiments of the present disclosure, the triggering mode of the first instruction includes at least one of the following:

[0024] receiving first touch information of a first shooting control on a display interface of the terminal; or,

[0025] Receiving first pressing information of a first physical key of the terminal; or,

[0026] receiving a first voice message; or,

[0027] The first gesture information is received.

[0028] In some exemplary embodiments of the present disclosure, the triggering mode of the second instruction includes at least one of the following:

[0029] receiving second touch information of a first shooting control on a display interface of the terminal; or,

[0030] receiving second pressing information of a second physical key of the terminal; or,

[0031] receiving a second voice message; or,

[0032] Receiving second gesture information;

[0033] It is detected that the terminal stops rotating at the current position during the process of rotating from the first position toward the first direction and continues rotating for a preset time period.

[0034] In some exemplary embodiments of the present disclosure, the image capturing method further includes:

[0035] Based on the third instruction, the shooting is ended;

[0036] The triggering method of the third instruction includes at least one of the following:

[0037] receiving third touch information of a second shooting control on a display interface of the terminal; or,

[0038] receiving third pressing information of a third physical key of the terminal; or,

[0039] A third voice message is received; or,

[0040] Receiving third gesture information; or,

[0041] It is detected that the terminal arrives at the second location.

[0042] According to a second aspect of an embodiment of the present disclosure, there is provided an image capturing device, the image capturing device comprising:

[0043] An acquisition module, configured to acquire a first location of a terminal based on a first instruction;

[0044] a shooting module, configured to shoot at least three images in a process in which the terminal rotates from the first position toward the first direction, based on a second instruction, in a process in which the terminal rotates toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image shot when the terminal is located at the first position, the first image is an image shot when the terminal is located at the first position in the first direction, and the third image is an image shot when the terminal is located at the first position in a second direction, and the second direction is opposite to the first direction;

[0045] A processing module is used to stitch at least the first image, the second image and the third image to obtain a panoramic image.

[0046] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including:

[0047] Camera, display, processor and memory;

[0048] The camera is used to capture images;

[0049] The memory is used to store processor executable instructions;

[0050] The processor is used to perform the following steps:

[0051] Based on the first instruction, obtaining a first location of the terminal;

[0052] During the process of the terminal rotating from the first position toward the first direction, based on the second instruction, at least three images are captured during the process of the terminal rotating toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image captured when the terminal is located at the first position, the first image is an image captured when the terminal is located at the first position in the first direction, and the third image is an image captured when the terminal is located at the first position in a second direction, and the second direction is opposite to the first direction;

[0053] At least the first image, the second image and the third image are stitched together to obtain a panoramic image.

[0054] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the image capturing method provided by the first aspect of the present disclosure is implemented.

[0055] Adopting the above-mentioned method of the present invention has the following beneficial effects: the present invention determines the first position based on the first instruction, starts shooting based on the second instruction, and shoots images at least at the first position, at a position in the first direction of the first position, and at a position in the second direction of the first position, and stitches at least three images obtained to obtain a panoramic image, thereby improving the shooting experience of panoramic images.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] Figure 1 is a flowchart of an image capturing method according to an exemplary embodiment.

[0059] Figure 2 is a schematic diagram of an image capturing method according to an exemplary embodiment.

[0060] Figure 3 It is a schematic diagram showing displaying second indication information according to an exemplary embodiment.

[0061] Figure 4 It is a schematic diagram showing displaying second indication information according to an exemplary embodiment.

[0062] Figure 5 is a schematic diagram showing displaying second prompt information according to an exemplary embodiment.

[0063] Figure 6 is a schematic diagram showing a second position according to an exemplary embodiment.

[0064] Figure 7 is a schematic diagram showing a second position according to an exemplary embodiment.

[0065] Figure 8 The figure is a schematic diagram showing displaying first prompt information according to an exemplary embodiment.

[0066] Fig. 9 The diagram is a schematic diagram showing real-time display of a preview image and a first image of a current position according to an exemplary embodiment.

[0067] Fig.10 is a block diagram of an image capturing apparatus according to an exemplary embodiment.

[0068] Fig.11It is a block diagram of a terminal device according to an exemplary embodiment. DETAILED DESCRIPTION

[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0070] In order to solve the above problems, the present disclosure provides an image shooting method, which determines the shooting subject based on a first instruction, starts shooting based on a second instruction, and at least splices the first image, the second image and the third image. The first position can be highlighted as the center position in the obtained panoramic image, thereby improving the display effect of the panoramic image.

[0071] An exemplary embodiment of the present disclosure provides an image capturing method, and the terminal may be a smart electronic device with a camera, such as a mobile phone, a tablet computer, a smart robot, or a smart wearable device.

[0072] Figure 2 Schematic diagram of the image capturing method. Before describing the specific method of the image capturing method disclosed in the present invention, Figure 2 In the example, the camera is used as the front camera of the terminal to roughly describe the shooting process in the present disclosure. Figure 2 X1, user 2 can trigger the first instruction to start the front panoramic image shooting mode, and then user 2 can operate the terminal to rotate the terminal 1 in a certain direction around a rotation axis passing through the center of the terminal 1 according to the prompt information displayed on the display interface of the terminal 1. Figure 2 In X2, when the terminal 1 is rotated to a suitable angle, the user 2 can trigger the second instruction to rotate the terminal 1 around the rotation axis in the opposite direction of the previous rotation direction. For example, after the terminal 1 receives the first instruction, the user 2 operates the terminal 1 to rotate to the left of the user 2. After receiving the second instruction, the terminal 1 will issue a prompt message on the display interface of the terminal 1 to prompt the user 2 to rotate the terminal 1 to the right of the user 2. Figure 2 In X3, when the terminal 1 is rotated to a suitable angle, the user 2 can trigger the third instruction to stop shooting, wherein the moment when the terminal 1 receives the third instruction can be determined by the user. If the user still does not instruct the terminal 1 to stop shooting when the position exceeds the limit of the front panoramic image shooting mode, the terminal can stop shooting on its own.

[0073] In some embodiments of the present disclosure, the camera for capturing images may be a front camera of the terminal or a rear camera of the terminal. Figure 1 As shown, the image capturing method shown in the embodiment of the present disclosure includes:

[0074] S101, acquiring a first location of a terminal based on a first instruction;

[0075] S102, during the process of the terminal rotating from the first position toward the first direction, based on the second instruction, during the process of the terminal rotating toward the second direction, capturing at least three images; wherein the at least three images include a first image, a second image, and a third image;

[0076] S103 , stitching at least the first image, the second image, and the third image to obtain a panoramic image.

[0077] In step S101, the control device maintains a communication connection with the display screen to obtain the user's touch operation on the display screen. When the user applies pressure to the shooting button on the display screen by clicking, the display screen sends a first instruction to the control device. The first instruction can also be triggered by other touch operations such as the user sliding down the display screen with three fingers. The control device takes the position of the terminal when receiving the first instruction as the first position, obtains the position information of the first position of the terminal, and uses it to calculate the rotation angle of the terminal later, wherein the position information is the angle information determined by the control device through sensors such as gyroscopes. For example, if the display screen is facing the user's face when the control device receives the first instruction, then the position of the terminal facing the user's face is the first position; if the display screen is tilted toward the left relative to the user when the control device receives the first instruction, then the terminal tilting toward the left is the first position.

[0078] In addition, the first instruction may also be a voice instruction. The control device obtains the voice content input by the user by maintaining a communication connection with the microphone. When the voice content input by the user is consistent with the voice instruction content preset in the control device, the control device will use the voice content to trigger the first instruction. For example, taking the front camera shooting as an example, the voice instruction preset in the control device is "turn on the front panoramic image shooting". Then, when the control device receives the user input voice content "turn on the front panoramic image shooting" through the microphone, the first instruction is triggered. The first instruction may also be a gesture instruction. The control device obtains the user's gesture by maintaining a communication connection with the gesture tracking sensor. When the user's gesture is consistent with the gesture preset in the control device, the control device will use the gesture to trigger the first instruction. For example, the gesture preset in the control device to turn on the front panoramic image shooting is to approach the display screen from far to near with the display screen as a reference. Then, when the control device receives the user's gesture from far to near through the gesture tracking sensor, the first instruction is triggered.

[0079] In step S102, after obtaining the first position of the terminal, the control device may control the terminal to rotate from the first position toward a first direction, wherein the first direction may be any direction. For example, if the display screen is facing the user's face when the control device receives the first instruction, then the position of the terminal facing the user's face is the first position, and the terminal may be controlled to rotate from the user's face toward the left, toward the right, toward the bottom, or toward the bottom.

[0080] After the terminal rotates a certain angle in the first direction, the user can trigger the second instruction, which can be a touch instruction of the user on the shooting button of the display screen, or a voice instruction of the user inputting a specified voice content. The control device turns on the shooting function of the front camera based on the acquired second instruction, and rotates the terminal in a second direction opposite to the first direction. During the rotation of the terminal in the second direction, the shooting function of the front camera is always in the turned-on state. In order to ensure that the panoramic image obtained by the final stitching can completely include all the scenes in the process of starting and stopping shooting, the front camera needs to take at least three images, including the second image taken when the terminal is located at the first position, the first image taken in the first direction of the first position, and the third image taken in the second direction of the first position. Since the first image and the third image are obtained by being located on both sides of the first position respectively, the first image and the second image are the image contents on the left and right sides of the panoramic image obtained by the final stitching. As a part of the panoramic figure, the second image can seamlessly stitch the first image and the second image together to avoid obvious stitching marks, and ensure that the panoramic image has a high-quality stitching effect. For example, the position of the terminal facing the user's face is the first position, and the terminal is rotated leftward from the user's face. Then the first direction is leftward. Since the second direction is opposite to the first direction, the second direction is rightward. The second image is an image taken at the first position facing the user's face. The first image is an image taken at the first position in the first direction, i.e., the left side of the user's face. The third image is an image taken at the first position in the second direction, i.e., the right side of the user's face. In addition, it can be set that every time the terminal rotates a fixed angle, the front camera will take a picture of the terminal's current position and save it as an image. In addition, it can also be set that the front camera takes a picture of the terminal's current position at a fixed interval.

[0081] In step S103, the images acquired during the rotation of the terminal toward the second direction are stitched using a panoramic image stitching algorithm, wherein at least the first image, the second image, and the third image are stitched to acquire a panoramic image that can highlight the first position as the center. If, in addition to the first image, the second image, and the third image, images of the terminal at other positions are also captured and saved during the rotation process, the control device can select an image that is clear or has good image quality and stitch it together with the first image, the second image, and the third image using a panoramic image stitching algorithm, so that the final panoramic image can have more detailed picture information.

[0082] In the present disclosure, the shooting subject is determined based on the first instruction, and shooting is started based on the second instruction. At least the first image, the second image and the third image are stitched together, and the first position can be highlighted as the center position in the obtained panoramic image, thereby improving the display effect of the panoramic image.

[0083] In some embodiments, the image capturing method further includes:

[0084] During the process of the terminal rotating from the first position toward the first direction, first indication information is displayed on the display interface of the terminal, the first indication information includes first position indication information and second position indication information, and the first position indication information is used to indicate the current position of the terminal in the first direction of the first position;

[0085] The second position indication information is used to indicate that the terminal is located at a second position in a second direction of the first position;

[0086] The second position and the current position are arranged symmetrically relative to the center of the first position.

[0087] During the process of the terminal rotating from the first position toward the first direction, the control device obtains the rotation angle of the current position relative to the first position through the communication connection with the gyroscope, and displays the first indication information on the display interface of the terminal, wherein the first indication information includes the first position indication information and the second position indication information, the first position indication information is used to indicate the current position of the terminal in the first direction of the first position, and the second position indication information is used to indicate the second position of the terminal in the second direction of the first position. In order to ensure that the subject photographed at the first position can be located in the middle position of the stitched panoramic image, the control device will determine the second position of the terminal in the process of rotating to the second direction based on the rotation angle, wherein the angle between the second position and the first position is the same as the angle between the current position and the first position, and both are the rotation angles of the terminal. After determining the current position, the display screen will display the corresponding second position to remind the user to stop rotating at the second position in time during the rotation to the second direction.

[0088] In some exemplary embodiments, Figure 6 and Figure 7 As shown, two methods for displaying the first indication information are provided, wherein the first direction is leftward, and the terminal chooses to rotate the terminal in the first direction. Figure 6 D1- Figure 6 As shown in D3, Figure 6 D1 determines that the current terminal location is the first location based on the first instruction of the user's touch operation, and the user starts to rotate the terminal. As the terminal rotates, the preview image in the front camera will continue to change. Figure 6 The box 3 in the middle of the display screen in D1 is the angle range that allows the terminal to rotate. The maximum angle corresponding to the box boundary is the first preset threshold. The preview image will cover the box 3 indicating the terminal rotation angle. The box will record the terminal rotation position in another color or fill method. At the same time, the box in the second direction will also record the rotation position. Figure 6 As shown in D2, the position that the terminal rotates through is represented by a box 4 filled with a grid, and the second position and the current position are set symmetrically relative to the center of the first position. Since the preview image covers the box, only the second position indication information indicating that the terminal is located at the second position in the second direction of the first position can be seen, that is, the box 4 in the figure. The position that the terminal has not rotated through is still represented by the same filling method as box 3. Figure 6 As shown in D3, when the current position of the terminal is rotated to a first preset threshold relative to the first position, the box will be filled with squares 4. Figure 6 The position corresponding to D2 triggers the second instruction, then box 4 is the second position indication information, and the right edge of box 4 is the second position. Figure 6 The position corresponding to D3 triggers the second instruction, so box 4 is the second position indication information, and the right boundary of box 4 is the second position.

[0089] like Figure 7 E1- Figure 7 As shown in E3, Figure 7 Based on the first instruction of the user's touch operation, E1 determines that the current terminal location is the first location, and the user starts to rotate the terminal. As the terminal rotates, the preview image in the front camera will continuously change. Figure 7 The box 3 located above the display screen in E1 is the angle range that allows the terminal to rotate. The center line of the box 3 is the first position, and the maximum angle corresponding to the box boundary is the first preset threshold. The preview image will not cover the box 3 indicating the terminal rotation angle. The box will record the terminal rotation position in another color or filling method. At the same time, the box in the second direction will also record the rotation position accordingly. Figure 7As shown in E2, the position where the terminal rotates past is indicated by a box 4 filled with a grid, the second position and the current position are set symmetrically relative to the center of the first position, and the position where the terminal has not rotated past is still indicated by the same filling method as box 3, that is, the box 4 on the left side of the center line is the first position indication information, and the box 4 on the right side of the center line is the second position indication information. Figure 7 As shown in E3, when the terminal is rotated to a first preset threshold relative to the first position, the box will be filled with squares. Figure 7 The position corresponding to E2 triggers the second instruction, then the box 4 on the left side of the center line is the second position indication information, and the right boundary of the box 4 is the second position. Figure 7 The position corresponding to E3 triggers the second instruction, so the box 4 on the left side of the center line is the second position indication information, and the right boundary of the box 4 is the second position.

[0090] In addition, in order to further illustrate the beneficial effects of the present disclosure, a comparative embodiment is provided. In the comparative embodiment, after obtaining the panoramic shooting instruction triggered by the user, it is necessary to shoot the first image as the initial position, shoot the images on the left and right sides of the background corresponding to the first image according to the preset movement guidance strategy, and use the first image as the center to seamlessly stitch them using the stitching method to obtain a panoramic image. Since when shooting the front panoramic image using the method in the comparative embodiment, it is necessary to shoot the image at the initial position and the images on the left and right sides to obtain the panoramic image, the user must complete the entire rotation process and shooting operation according to the guidance strategy to obtain the final panoramic image, and the user cannot obtain the panoramic image he wants to shoot according to his own shooting needs. The shooting process lacks flexibility and cannot provide the user with a good shooting experience. However, using the method in the present disclosure, since the present disclosure does not shoot when it is in the first position, it only obtains the first position for marking. When the user control terminal rotates in the first direction or in the second direction based on the first position, the user can stop shooting at any time and stitch according to the multiple images obtained during the shooting process, thereby improving the shooting flexibility. Therefore, the present disclosure can not only obtain a panoramic image centered on the first position, but also obtain a panoramic image not centered on the first position according to the user's shooting needs, and provides a variety of shooting methods for users to choose.

[0091] In some embodiments, the image capturing method further includes:

[0092] When the terminal rotates to the second position toward the second direction, the terminal sends a first prompt message, and the first prompt message is used to prompt the user to stop rotating and end the shooting process.

[0093] After the second instruction is triggered, during the rotation of the terminal in the second direction, the front camera is always in the shooting state, and will shoot images of all positions that the terminal passes during the rotation process. In order to ensure that the subject photographed at the first position can be located in the middle of the panoramic image, when the terminal rotates to the second position in the second direction, the terminal sends a first prompt message to prompt the user to stop rotating the terminal and end the shooting of the panoramic image. The first prompt message can be displayed on the display screen in the form of text, or can be used to remind the user in the form of vibration or voice.

[0094] like Figure 8 F1- Figure 8 As shown in F6, the left is set as the first direction, and the user rotates the terminal from the first position to the first direction. Figure 8 F1 triggers the current position of the second instruction. After the second instruction is triggered, the user gradually rotates the terminal to the second direction, that is, to the right. The progress bar is the angle range within which the terminal can rotate. The right edge of the progress bar is the second position of the terminal. Figure 8 As shown in F5, when the user rotates the terminal to the second position, the display screen will display a first prompt message "Please stop shooting" in text form to prompt the user to stop rotating the terminal. Figure 8 The third instruction is triggered in F6 to end the panoramic image shooting. In addition, the first prompt information can also be that the motor of the terminal drives the terminal to vibrate, or the speaker of the terminal sends a voice prompt with the content of "please stop shooting".

[0095] In some embodiments, the image capturing method further includes:

[0096] Based on the first instruction, second indication information is issued, where the second indication information is used to instruct the user to rotate the terminal.

[0097] After receiving the first instruction, the control device will make the display screen display the preset second indication information, and the second indication information is used to instruct the user to rotate the terminal so that the terminal can be rotated to a suitable shooting angle. In the process of the user rotating the terminal, the user can only choose one direction to rotate, and cannot choose multiple directions for repeated rotation. Among them, the second indication information can be displayed in the form of text or in the form of symbols. Among them, when the display screen is facing the user's face, the first direction can be the user's left side, and the second direction is the user's right side; when the first direction is the user's right side, the second direction is the user's left side.

[0098] like Figure 3 As shown in A1, when the second instruction information is text, "Please rotate the phone" can be displayed on the display screen. When the user chooses to rotate the terminal to the left, the display screen will display "Please rotate left", that is, Figure 3The screen process shown in A1 and A2 in FIG. When the user chooses to rotate the terminal to the right, the display will display "Please rotate right", that is, Figure 3 The screen process shown in A1 and A3 in the figure is to prompt the user to keep rotating in the same direction to avoid rotating in different directions. It should be noted here that the text prompt message "Please rotate the phone" can be displayed on the display screen first, and then the user can rotate the phone according to his or her shooting habits. After the terminal detects that the user starts to rotate, it will continue to display "Please continue to rotate to the left" on the display screen according to the user's rotation direction. For example, if the user rotates the terminal to the left, "Please continue to rotate to the right" will continue to be displayed on the display screen. The prompt information can also be displayed in a combination of text and images to facilitate users to operate according to the prompts.

[0099] like Figure 4 As shown in B1, when the second indication information is a symbol, a hollow solid arrow pointing left or right can be displayed on the display screen. When the user chooses to rotate the terminal to the left, a black solid arrow pointing left and a hollow dashed arrow pointing right will be displayed on the display screen, that is, Figure 4 The screen process shown in B1 and B2 in the figure is to remind the user that the terminal cannot be rotated right after rotating it to the left. When the user chooses to rotate the terminal to the right, a solid black arrow pointing to the right and a hollow dashed arrow pointing to the left will be displayed on the display screen, that is, Figure 4 The screen processes shown in B1 and B3 are to remind the user that after rotating the terminal to the right, the terminal cannot be rotated to the left again to avoid the situation of rotating in different directions.

[0100] In some embodiments, the image capturing method further includes:

[0101] During the process of the terminal rotating from the first position toward the first direction, when the terminal rotates to the third position, the terminal issues a second prompt message, and the second prompt message is used to prompt the user to stop the rotation.

[0102] The control device can obtain the rotation angle of the terminal by maintaining a communication connection with the gyroscope of the terminal. Due to the performance limitation of the terminal in processing images, the terminal cannot be rotated indefinitely, and when the rotation angle of the terminal relative to the first position is too large, the user is prone to hand shaking during the subsequent rotation of the terminal in the opposite direction, and it is impossible to ensure that all the captured images are on the same horizontal line, which is not conducive to outputting high-quality seamless panoramic images. Therefore, in order to ensure that high-quality panoramic images can be output, when the terminal rotates from the first position to the first direction, the control device detects the rotation angle of the terminal relative to the first position. When the rotation angle exceeds the first preset threshold, that is, when it rotates to the third position, the terminal sends a second prompt message to remind the user to stop rotating. The first preset threshold is the rotation angle of the third position relative to the first position. The first preset threshold can be set according to the performance of the terminal. For example, the first preset threshold can be set to 75°, 60° or 45°, etc. Among them, the second prompt message can be displayed on the display screen in the form of text, or it can be used to remind the user in the form of vibration or voice.

[0103] like Figure 5 C1- Figure 5 As shown in C3, if the user chooses to rotate the terminal to the left, the display screen will display "Please rotate to the left" in text to prompt the user to rotate the terminal to a suitable current position. When the control device detects that the rotation angle of the current position of the terminal relative to the first position exceeds the first preset threshold, as shown in Figure 5 As shown in C3, the display screen will display "Please stop rotating" in text to remind the user to stop rotating the terminal. For example, the second prompt information can also prompt the user to stop rotating by prompting the user to perform the next operation, for example, displaying prompt information such as "Please click the shutter" and "Please start shooting". In addition, the second prompt information can also remind the user in the form of vibration or sound. For example, when the first preset threshold is 45° and the rotation angle of the current position of the terminal relative to the first position is detected to be 46°, the motor of the terminal can drive the terminal to vibrate, or the speaker of the terminal can issue a voice prompt with the content "Please stop rotating".

[0104] In some embodiments, the image capturing method further includes:

[0105] When the terminal rotates to the third position and then continues to rotate in the first direction to the fourth position, the terminal exits the shooting process.

[0106] The control device is also provided with a second preset threshold value, which is the rotation angle of the fourth position relative to the first position, wherein the second preset threshold value is greater than the first preset threshold value, and the second preset threshold value is the limit value of the terminal rotation angle. When the rotation angle of the current position of the terminal relative to the first position exceeds the first preset threshold value, the terminal only issues a second prompt message, but does not exit the front panoramic image shooting, and when the rotation angle of the current position of the terminal relative to the first position exceeds the second preset threshold value, the terminal directly exits the foreground panoramic image shooting. For example, the first preset threshold value is 45°, the second preset threshold value is 60°, and the left side of the terminal is taken as the first direction. In the process of rotating from the first position to the left, when the rotation angle of the current position of the terminal relative to the first position exceeds 45°, the terminal displays a second prompt message of "Please stop rotating" on the display screen to remind the user to stop rotating. If the user does not follow the prompt and continues to rotate the terminal to the left to the fourth position, that is, when the rotation angle of the current position of the terminal relative to the first position exceeds 60°, the terminal will automatically exit the front panoramic image shooting.

[0107] In some embodiments, the image capturing method further includes:

[0108] During the rotation of the terminal toward the second direction, the first image and a preview image of the current position of the terminal are displayed in real time on the display interface of the terminal, wherein the first image is formed by splicing images that have been captured by frame splicing.

[0109] After triggering the second instruction, the front camera is always in a shooting state during the rotation of the terminal in the second direction, and will capture images of all positions passed by the terminal during the rotation process. The preview image and the first image of the current position can be displayed in real time on the display screen, wherein the preview image is an image of the terminal's current position taken by the front camera, and the first image is an image formed by splicing the images that have been captured through frame splicing. Fig. 9 Schematic diagram of real-time display of the preview image and the first image of the current position, the first direction is leftward, the solid line frame 5 is the preview image, the dotted line frame 6 is the first image, as shown in FIG. Fig. 9 As shown in G1, the user triggers the second instruction, the front camera starts the shooting function, and when the user gradually rotates the terminal to the second direction, that is, to the right, Fig. 9 G1- Fig. 9 The preview image of the current position displayed in the solid line frame 5 in G5 is constantly changing, and the first image formed by stitching the images that have been taken does not change. Fig. 9 The first image of G2 is a combination of the preview images of Figure 99G1 and Figure 99G2. Fig. 9 The first image of G3 is Fig. 9 G1, Fig. 9 G2 and Fig. 9 G3 preview images are stitched together. Fig. 9 The first image of G4 is Fig. 9 G1, Fig. 9 G2, Fig. 9 G3 and Fig. 9 G4 preview images are stitched together. Fig. 9 The first image of G5 is Fig. 9 G1, Fig. 9 G2, Fig. 9 G3, Fig. 9 The preview images of G4 and 9G5 are stitched together.

[0110] It should be noted that the first image is only a reference for the user during the front panoramic image shooting process. The user can determine the angle to trigger the third instruction based on the first image. The first image is not a panoramic image obtained by stitching after stopping shooting. The first image is stitched by all the images that have been taken during the rotation to the second direction through frame stitching. For example, Fig. 9 The first image in G5 is composed by Fig. 9 G1, Fig. 9 G2, Fig. 9 G3, Fig. 9 The preview images of G4 and 9G5 are stitched together. The panoramic image is obtained by using the stitching algorithm to filter all the images obtained after stopping shooting, discarding the blurred or poor quality images, seamlessly stitching the images that have been screened and retained, and performing smoothing and noise reduction operations on the stitched images. The quality of the final panoramic image will be significantly better than the first image. For example, Fig. 9 The images in G6 are panoramic images. After stopping the front panoramic image shooting, the stitching algorithm screens the obtained images. Fig. 9 G2 and Fig. 9 The captured image corresponding to the G4 preview image is not clear enough, so it is discarded Fig. 9 G2 and Fig. 9 The images obtained by G4 are Fig. 9 G1, Fig. 9 The captured images corresponding to the preview images in G3 and 9G5 are stitched together and then post-processed to obtain Fig. 9 Panoramic images from the G6.

[0111] In some embodiments, the triggering method of the first instruction includes at least one of the following:

[0112] Receiving first touch information of a first shooting control on a display interface of the terminal; or,

[0113] Receiving first pressing information of a first physical key of the terminal; or,

[0114] receiving a first voice message; or,

[0115] The first gesture information is received.

[0116] The control device uses the position of the terminal when receiving the first instruction as the first position, determines and records the first position. Since the first instruction does not turn on the shooting function of the front camera, the first instruction is a pre-shooting instruction, which is used to determine the subject to be shot. The control device can use the image corresponding to the terminal in the first position as the subject in the panoramic image. For example, if the user wants to use the front panoramic image to take a photo of the user and the scenery, the first instruction can be triggered when the user determines that the position of the user and the current scenery is the first position. The way to trigger the first instruction can be receiving touch information, voice information or gesture information as mentioned in the above step S101, or it can be receiving the first pressing information of the first physical button of the terminal. For example, the left side of the terminal has a first physical button that turns on the pre-shooting of the panoramic image. When the control device receives the pressure information applied by the user on the button, it receives the first pressing information of the terminal and triggers the first instruction.

[0117] In some embodiments, the triggering method of the second instruction includes at least one of the following:

[0118] receiving second touch information of a first shooting control on a display interface of the terminal; or,

[0119] receiving second pressing information of a second physical key of the terminal; or,

[0120] receiving a second voice message; or,

[0121] receiving second gesture information; or,

[0122] It is detected that the terminal stops rotating at the current position during the process of rotating toward the first direction at the first position and continues rotating for a preset time period.

[0123] Since the second instruction turns on the shooting function of the front camera, the image corresponding to the current position is one of the side edges of the panoramic image, so the second instruction is the shooting instruction. The second instruction can be based on the user's touch operation, pressing operation, gesture information or voice trigger. For example, the control device can trigger the second instruction when receiving the user's touch information on the shooting button on the display interface, that is, the second touch information of the first shooting control; the control device can trigger the second instruction information when receiving the user's second pressing information on the second physical button on the left side of the terminal that turns on the panoramic image shooting; the control device can trigger the second instruction information when receiving the user input including the voice content of "start panoramic image shooting". In addition, the second instruction can also be the terminal in the process of rotating from the first position to the first direction. The current position stops rotating and continues for a preset time to trigger the second instruction, where the preset time can be set by the terminal when it leaves the factory, or it can be set based on the user's usage habits. For example, the first direction can be set to the left, and the preset time is 3s. The terminal stops rotating after rotating 40° in the first direction. If the stop time exceeds 3s, the terminal automatically triggers the second instruction to start the front panoramic image shooting.

[0124] In some embodiments, the image capturing method further comprises:

[0125] Based on the third instruction, the shooting is ended;

[0126] The triggering method of the third instruction includes at least one of the following:

[0127] receiving third touch information of a second shooting control on a display interface of the terminal; or,

[0128] receiving third pressing information of a third physical key of the terminal; or,

[0129] A third voice message is received; or,

[0130] Receiving third gesture information; or,

[0131] It is detected that the terminal arrives at the second location.

[0132] During the rotation of the terminal to the second direction, the terminal can stop shooting based on the third instruction. For example, the first direction is set to rotate to the left. If the terminal is rotated to the first direction, i.e., to the left, after the first instruction, then after the second instruction is triggered, the front camera is always in a shooting state and will capture images of all positions passed by the terminal during the rotation to the second direction, i.e., to the right. During the rotation of the terminal to the right, the user can choose to trigger the third instruction to stop shooting based on the expected position of the subject photographed at the first position in the panoramic image. If the user wants the subject photographed at the first position to be located on the right side of the panorama, the third instruction can be triggered when the terminal passes the first position but has not reached the second position during the rotation of the terminal to the right. After receiving the third instruction triggered based on the user operation, the control device will stop shooting, so that in the final stitched panoramic image, the subject photographed at the first position is located on the right.

[0133] The third instruction may be triggered by receiving touch information, press information, voice information or gesture information. The touch information may be the third touch information of the second shooting control on the display interface of the terminal applied by the user. For example, the user may trigger the third instruction by clicking the shooting button on the display screen. The press information may be the third press information of the third physical button on the side of the terminal used to end the front panoramic image shooting. The voice information may be the third voice information including "end the front panoramic image shooting" input by the user through the microphone. The gesture information may be the third gesture information of the user moving the palm from near to far with the display screen as a reference. In addition, the control device may also automatically trigger the third instruction to stop shooting when the terminal is rotated to the second position in the second direction.

[0134] An exemplary embodiment of the present disclosure provides an image capturing device. Fig.10 As shown, a block diagram of an image capturing device shown in the present disclosure.

[0135] The shooting device includes: an acquisition module 1001, a shooting module 1002 and a processing module 1003. The acquisition module 1001 is used to acquire the first position of the terminal based on a first instruction; the shooting module 1002 is used to shoot at least three images based on a second instruction when the terminal rotates from the first position to the first direction and when the terminal rotates to the second direction; wherein the at least three images include a first image, a second image and a third image, the second image is an image shot when the terminal is located at the first position, the first image is an image shot when the terminal is located at the first position in a first direction, and the third image is an image shot when the terminal is located at the first position in a second direction, and the second direction is opposite to the first direction; the processing module 1003 is used to stop shooting based on the third instruction and stitch the multiple images obtained by shooting to obtain a panoramic image.

[0136] In an exemplary embodiment of the present disclosure, the processing module 1003 is also used to: display first indication information on the display interface of the terminal during rotation of the terminal from a first position toward a first direction, the first indication information including first position indication information and second position indication information, the first position indication information being used to indicate the current position of the terminal in the first direction of the first position; the second position indication information being used to indicate the second position of the terminal in the second direction of the first position; the second position and the current position being arranged symmetrically relative to the center of the first position.

[0137] In an exemplary embodiment of the present disclosure, the processing module 1003 is further used for: when the terminal is rotated to a second position in a second direction, the terminal issues a first prompt message, and the first prompt message is used to prompt the user to stop rotating and end the shooting process.

[0138] In an exemplary embodiment of the present disclosure, the processing module 1003 is further used to: issue second indication information based on the first instruction, where the second indication information is used to instruct the user to rotate the terminal.

[0139] In an exemplary embodiment of the present disclosure, the processing module 1003 is further used for: when the terminal rotates from the first position toward the first direction to the third position, the terminal issues a second prompt message, and the second prompt message is used to prompt the user to stop rotating.

[0140] In an exemplary embodiment of the present disclosure, the processing module 1003 is further configured to: when the terminal rotates to the third position and then continues to rotate in the first direction to the fourth position, the terminal exits the shooting process.

[0141] In an exemplary embodiment of the present disclosure, the processing module 1003 is also used to: during the rotation of the terminal toward the second direction, display the first image and a preview image of the current position of the terminal in real time on the display interface of the terminal, wherein the first image is spliced ​​from images that have been captured by frame splicing.

[0142] In an exemplary embodiment of the present disclosure, the triggering method of the first instruction includes at least one of the following: receiving first touch information of a first shooting control acting on the display interface of the terminal; or, receiving first pressing information of a first physical button of the terminal; or, receiving first voice information; or, receiving first gesture information.

[0143] In an exemplary embodiment of the present disclosure, the triggering method of the second instruction includes at least one of the following: receiving second touch information of a first shooting control acting on the display interface of the terminal; or, receiving second pressing information of a second physical key of the terminal; or, receiving second voice information; or, receiving second gesture information; or, detecting that the terminal stops rotating at the current position during the rotation process from the first position to the first direction and continues for a preset time.

[0144] In an exemplary embodiment of the present disclosure, the processing module 1003 is further configured to: end shooting based on a third instruction;

[0145] The triggering method of the third instruction includes at least one of the following: receiving third touch information of the second shooting control acting on the display interface of the terminal; or, receiving third pressing information of the third physical key of the terminal; or, receiving third voice information; or, receiving third gesture information; or, detecting that the terminal has reached the second position.

[0146] Regarding the image capturing device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0147] Fig.11 1 is a block diagram of a terminal device 1100 according to an exemplary embodiment. For example, the terminal device 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0148] Reference Fig.11 The terminal device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , and a communication component 1116 .

[0149] The processing component 1102 generally controls the overall operation of the terminal device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102.

[0150] The memory 1104 is configured to store various types of data to support operations on the terminal device 1100. Examples of such data include instructions for any application or method operating on the terminal device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0151] The power supply component 1106 provides power to various components of the terminal device 1100. The power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 1100.

[0152] The multimedia component 1108 includes a screen that provides an output interface between the terminal device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the terminal device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0153] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the terminal device 1100 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.

[0154] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0155] The sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for the terminal device 1100. For example, the sensor assembly 1114 can detect the open / closed state of the terminal device 1100, the relative positioning of components, such as the display and keypad of the terminal device 1100, and the sensor assembly 1114 can also detect the position change of the terminal device 1100 or a component of the terminal device 1100, the presence or absence of contact between the user and the terminal device 1100, the orientation or acceleration / deceleration of the terminal device 1100, and the temperature change of the terminal device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1114 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0156] The communication component 1116 is configured to facilitate wired or wireless communication between the terminal device 1100 and other devices. The terminal device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0157] In an exemplary embodiment, the terminal device 1100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0158] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the instructions can be executed by a processor 1120 of a terminal device 1100 to complete the above-mentioned image capturing method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0159] A non-temporary computer-readable storage medium, when instructions in the storage medium are executed by a processor of a terminal device, enables a processing device of the terminal device to execute an image capturing method provided by an exemplary embodiment of the present disclosure.

[0160] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0161] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An image capturing method, characterized in that: The image capturing method comprises: Based on the first instruction, obtaining a first location of the terminal; During the process of the terminal rotating from the first position toward the first direction, based on the second instruction, at least three images are captured during the process of the terminal rotating toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image captured when the terminal is located at the first position, the first image is an image captured when the terminal is located at the first position in the first direction, the third image is an image captured when the terminal is located at the first position in the second direction, and the second direction is opposite to the first direction; At least the first image, the second image and the third image are stitched together to obtain a panoramic image.

2. The image capturing method according to claim 1, wherein: The image capturing method further comprises: During the process of the terminal rotating from the first position toward the first direction, displaying first indication information on a display interface of the terminal, the first indication information including first position indication information and second position indication information, the first position indication information being used to indicate the current position of the terminal in the first direction of the first position; The second position indication information is used to indicate that the terminal is located at a second position in a second direction of the first position; The second position and the current position are arranged symmetrically with respect to the center of the first position.

3. The image capturing method according to claim 2, wherein: The image capturing method further comprises: When the terminal rotates toward the second direction to the second position, the terminal sends out a first prompt message, where the first prompt message is used to prompt the user to stop rotating and end the shooting process.

4. The image capturing method according to claim 1, wherein: The image capturing method further comprises: Based on the first instruction, second indication information is issued, where the second indication information is used to instruct the user to rotate the terminal.

5. The image capturing method according to claim 1, wherein: The image capturing method further comprises: During the process of the terminal rotating from the first position toward the first direction, when the terminal rotates to a third position, the terminal issues a second prompt message, where the second prompt message is used to prompt the user to stop rotating.

6. The image capturing method according to claim 5, wherein: The image capturing method further comprises: When the terminal rotates to the third position and then continues to rotate in the first direction to a fourth position, the terminal exits the photographing process.

7. The image capturing method according to any one of claims 1 to 6, characterized in that: The image capturing method further comprises: During the rotation of the terminal toward the second direction, a first image and a preview image of the current position of the terminal are displayed in real time on the display interface of the terminal, wherein the first image is formed by splicing images that have been captured through frame splicing.

8. The image capturing method according to any one of claims 1 to 6, characterized in that: The triggering method of the first instruction includes at least one of the following: receiving first touch information of a first shooting control on a display interface of the terminal; or, Receiving first pressing information of a first physical key of the terminal; or, Receiving a first voice message; or, The first gesture information is received.

9. The image capturing method according to claim 8, wherein: The triggering method of the second instruction includes at least one of the following: receiving second touch information of a first shooting control on a display interface of the terminal; or, receiving second pressing information of a second physical key of the terminal; or, receiving a second voice message; or, Receiving second gesture information; or, It is detected that the terminal stops rotating at the current position during the process of rotating from the first position toward the first direction and continues rotating for a preset time period.

10. The image capturing method according to any one of claims 2 to 6, characterized in that: The image capturing method further comprises: Based on the third instruction, the shooting is ended; The triggering method of the third instruction includes at least one of the following: receiving third touch information of a second shooting control on a display interface of the terminal; or, receiving third pressing information of a third physical key of the terminal; or, A third voice message is received; or, Receiving third gesture information; or, It is detected that the terminal arrives at the second location.

11. An image capturing device, characterized in that: The image capturing device comprises: An acquisition module, configured to acquire a first location of a terminal based on a first instruction; a shooting module, configured to shoot at least three images in a process in which the terminal rotates from the first position toward the first direction, based on a second instruction, in a process in which the terminal rotates toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image shot when the terminal is located at the first position, the first image is an image shot when the terminal is located at the first position in the first direction, and the third image is an image shot when the terminal is located at the first position in a second direction, and the second direction is opposite to the first direction; A processing module is used to stitch at least the first image, the second image and the third image to obtain a panoramic image.

12. A terminal, characterized in that: The terminal comprises: Camera, display, processor and memory; The camera is used to capture images; The memory is used to store processor executable instructions; The processor is used to perform the following steps: Based on the first instruction, obtaining a first location of the terminal; During the process of the terminal rotating from the first position toward the first direction, based on the second instruction, at least three images are captured during the process of the terminal rotating toward the second direction; wherein the at least three images include a first image, a second image, and a third image, the second image is an image captured when the terminal is located at the first position, the first image is an image captured when the terminal is located at the first position in the first direction, and the third image is an image captured when the terminal is located at the first position in a second direction, and the second direction is opposite to the first direction; At least the first image, the second image and the third image are stitched together to obtain a panoramic image.

13. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by a processor, the image capturing method according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Method for obtaining panoramic image and terminal

    CN106210539A

  • Photographing method and electronic device

    CN106605403A

  • Image processing device, image processing method, and photographing assist equipment

    CN107026973A

  • Imaging control apparatus and method for controlling imaging control apparatus

    CN110475061A

  • Portable terminal having rotary camera and method for photographing panorama image of portable terminal

    KR100836618B1