Image preview method and device, terminal equipment and readable storage medium

By performing three-dimensional processing and providing operation prompts on video call images, the problem of cumbersome image viewing is solved, the correspondence between images and scenes is achieved, and the user's immersive experience is enhanced.

CN120786012APending Publication Date: 2025-10-14MIGU COMIC CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510981860.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-16
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

During a video call, the operation of viewing the received images is cumbersome and cannot establish a correspondence with the user's current scene, affecting the user's immersive experience.

Method used

The received target image is processed into three dimensions, a three-dimensional model is constructed, and the three-dimensional model is displayed in the video call interface. Operations are indicated through prompt information, and the image is switched to the three-dimensional space of the real-time scene according to the operation.

Benefits of technology

It simplifies the image viewing operation, establishes the corresponding relationship between the image and the user scene, and improves the user's immersive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120786012A_ABST
    Figure CN120786012A_ABST
Patent Text Reader

Abstract

The invention provides an image preview method and device, terminal equipment and a readable storage medium. The method comprises the following steps: performing three-dimensional processing on a target image received in a video call process to obtain a three-dimensional model corresponding to the target image; displaying the three-dimensional model in a first three-dimensional space; displaying prompt information on an interface of the video call; and when the first operation is detected, switching a display interface of the terminal to the target image displayed in a second three-dimensional space. According to the image preview method provided by the embodiment of the invention, the received target image can be viewed in the video call process through the first operation, and the virtual target image can be displayed in a real three-dimensional scene by displaying the three-dimensional model in the first three-dimensional space; the corresponding relation between the target image and the first scene can be established, and the experience of viewing the target image in an immersive manner by a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer vision, in particular to an image preview method and device, a terminal device and a readable storage medium. BACKGROUND

[0002] In a conventional video call process, if an image is received, a user needs to exit a video interface and return to an application interface for viewing the image. Therefore, the user needs to operate the screen multiple times to view the image, which is relatively cumbersome and inconvenient for users who cannot operate the screen (for example, people with poor eyesight or people wearing gloves). Moreover, the conventional method cannot establish a corresponding relationship between the image to be viewed and the current scene of the user, and cannot meet the requirement of the user for immersive experience of the image in the current scene. SUMMARY

[0003] The present application aims to provide an image preview method, device, terminal device and readable storage medium, to solve the problem that the operation for viewing a received image in a conventional video call process is cumbersome, and a corresponding relationship between the image to be viewed and the current scene of the user cannot be established.

[0004] In a first aspect, an embodiment of the present application provides an image preview method, comprising:

[0005] performing three-dimensional processing on a target image received in a video call process to obtain a three-dimensional model corresponding to the target image;

[0006] displaying the three-dimensional model in a first three-dimensional space; the first three-dimensional space is constituted by an image in a first scene collected by a terminal camera at a first time, and the first time is a time when the target image is received;

[0007] displaying prompt information in an interface of the video call, the prompt information being used to indicate a first operation for viewing the target image;

[0008] when the first operation is detected, switching a display interface of the terminal to the target image displayed in a second three-dimensional space; the second three-dimensional space is constituted by an image in the first scene collected by the terminal camera at a second time, and the second time is a time when the first operation is received.

[0009] Optionally, the three-dimensional processing on the target image received in the video call process to obtain the three-dimensional model corresponding to the target image comprises:

[0010] obtaining a photo frame three-dimensional model;

[0011] replace an image region in the photo frame three-dimensional model with the target image to obtain the three-dimensional model;

[0012] The image region is a texture picture in the photo frame three-dimensional model.

[0013] Optionally, the three-dimensional model is displayed in the first three-dimensional space, including:

[0014] A coordinate system is constructed based on the position of the terminal at the first time;

[0015] In the case that there is a plane in the image in the first three-dimensional space, the three-dimensional model is displayed by fitting the plane;

[0016] In the case that there is no plane in the image in the first three-dimensional space, the three-dimensional model is displayed at a preset spatial position according to the coordinate system.

[0017] Optionally, the coordinate system is constructed based on the position of the terminal at the first time, including:

[0018] The coordinate system is established with the position of the terminal at the first time as the origin, a first direction as the X axis, a second direction as the Y axis, and a third direction as the Z axis;

[0019] The first direction is a direction perpendicular to the left and right frames of the terminal, the second direction is a direction perpendicular to the upper and lower frames of the terminal, and the third direction is a direction perpendicular to the display screen of the terminal.

[0020] Optionally, when the first operation is detected, the display interface of the terminal is switched to the target image displayed in a second three-dimensional space, including:

[0021] In the case that the angle deviation between the terminal and a first coordinate axis of the coordinate system is greater than or equal to a preset angle according to the real-time acquired pose information of the terminal, it is determined that the first operation is received; the first coordinate axis is the X axis, the Y axis, or the Z axis;

[0022] The display interface of the terminal is switched from the video call to the target image displayed in the second three-dimensional space, and the video call interface is hidden or reduced.

[0023] Optionally, the method further includes:

[0024] In the case that the angle deviation between the terminal and the first coordinate axis is less than the preset angle according to the real-time acquired pose information of the terminal, the display interface of the terminal is switched to the video call.

[0025] Optionally, the method further includes:

[0026] After receiving the target image, real-time image information captured by the camera is acquired;

[0027] The coordinate system and the second three-dimensional space are corrected according to the image information.

[0028] In a second aspect, an embodiment of the present application provides an image preview device, comprising:

[0029] A processing module is configured to perform three-dimensional processing on a target image received in a process of a video call to obtain a three-dimensional model corresponding to the target image.

[0030] A display module is configured to display prompt information on an interface of the video call, the prompt information being used to indicate a first operation for viewing the target image.

[0031] A display module is configured to display prompt information on an interface of the video call, the prompt information being used to indicate a first operation for viewing the target image.

[0032] A switching module is configured to switch a display interface of the terminal to the target image displayed in a second three-dimensional space when the first operation is detected, the second three-dimensional space being constituted by images of the first scene captured by a terminal camera at a second time, the second time being a time when the first operation is received.

[0033] In a third aspect, an embodiment of the present application provides a terminal device, comprising a transceiver, a processor, a memory, and a program or instruction stored on the memory and executable on the processor; the processor implements the image preview method as described above when executing the program or instruction.

[0034] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, having a program or instruction stored thereon, the program or instruction being executable by a processor to implement steps in the image preview method as described above.

[0035] The image preview method of the embodiment of the present application can place the target image received in the video call process in the three-dimensional model by performing three-dimensional processing on the target image, can show the virtual target image in the real three-dimensional scene by showing the three-dimensional model in the first three-dimensional space, can enable the user to view the target image according to the prompt information by displaying the prompt information, and can show the target image in the real second three-dimensional space by switching the display interface to the target image shown in the second three-dimensional space according to the first operation trigger, thereby establishing the corresponding relationship between the target image and the first scene, and improving the experience of the user in viewing the target image in an immersive manner. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 A flowchart of the image preview method of the embodiment of the present application is shown in FIG. 1.

[0037] Figure 2 A schematic diagram of displaying a thumbnail of a target image in a video call interface is shown in FIG. 2.

[0038] Figure 3 A schematic diagram of displaying prompt information in a video call interface is shown in FIG. 3.

[0039] Figure 4 A schematic diagram of the positional relationship between a coordinate system and a terminal is shown in FIG. 4.

[0040] Figure 5 A module diagram of a data transmission device is shown in FIG. 5.

[0041] Figure 6 A schematic diagram of switching a display interface from a video call interface to the display of a target image is shown in FIG. 6.

[0042] Figure 7 A structural diagram of an image preview device is shown in FIG. 7.

[0043] Figure 8 A structural diagram of an image preview device is shown in FIG. 7.

[0044] Figure 9 A structural diagram of a terminal device is shown in FIG. 8. DETAILED DESCRIPTION

[0045] To make the technical problems, technical solutions and advantages to be solved by the present application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help a comprehensive understanding of embodiments of the present application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. In addition, in order to clarify and simplify, the description of the inhibition function and structure is omitted.

[0046] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.

[0047] In various embodiments of the present application, it should be understood that the size of the serial number of the following processes does not mean the order of execution, and the execution order of the processes should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0048] In addition, the terms "system" and "network" are often used interchangeably herein.

[0049] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.

[0050] As shown in Figure 1 An image preview method according to an embodiment of the present application includes the following steps:

[0051] Step 101, performing three-dimensional processing on a target image received in the process of video call to obtain a three-dimensional model corresponding to the target image;

[0052] Step 102, displaying the three-dimensional model in a first three-dimensional space; the first three-dimensional space is composed of images in a first scene collected by a terminal camera at a first time, and the first time is the time when the target image is received;

[0053] Step 103, displaying prompt information on the interface of the video call, the prompt information being used to indicate a first operation for viewing the target image;

[0054] Step 104: When the first operation is detected, the display interface of the terminal is switched to the target image displayed in a second three-dimensional space; the second three-dimensional space is composed of images of the first scene captured by the terminal camera at a second moment, and the second moment is the moment when the first operation is received.

[0055] Optionally, receiving the target image includes one of the following:

[0056] The target image received via an instant messaging application;

[0057] the target image received via SMS;

[0058] the target image received via Bluetooth;

[0059] By transmitting the received target image.

[0060] Optionally, the camera is a rear camera of the terminal;

[0061] The first scene is the environment scene where the user is currently located.

[0062] like Figure 2 As shown, when a target image is received during a video call, a thumbnail B of the target image is displayed on the interface A of the video call;

[0063] like Figure 3 As shown, in the video call interface, the prompt information is displayed near the thumbnail of the target image, and the prompt information displays the user operation required to view the target image.

[0064] The image preview method of the embodiment of the present invention can place the target image in the three-dimensional model by performing three-dimensional processing on the target image received during the video call; can display the virtual target image in a real three-dimensional scene by displaying the three-dimensional model in the first three-dimensional space; can enable the user to view the target image according to the prompt information by displaying the prompt information; and can switch the display interface to the target image displayed in the second three-dimensional space according to the first operation trigger, so that the target image can be displayed in the real second three-dimensional space, thereby establishing a corresponding relationship between the target image and the first scene, and the viewing operation of the target image is simple, thereby improving the user's immersive viewing experience of the target image.

[0065] Optionally, performing three-dimensional processing on a target image received during a video call to obtain a three-dimensional model corresponding to the target image includes:

[0066] acquire a photo frame three-dimensional model;

[0067] replace an image area in the photo frame three-dimensional model with the target image to obtain the three-dimensional model;

[0068] The image area is a texture picture in the photo frame three-dimensional model.

[0069] Optionally, the photo frame three-dimensional model is a pre-prepared model saved in the terminal.

[0070] As shown in Figure 4 the image area in the photo frame three-dimensional model is a separate texture picture, and the texture picture in the photo frame three-dimensional model D is replaced with the target image F to obtain the three-dimensional model.

[0071] The image preview method in the embodiment of the present application, through the three-dimensional processing of the target image, superimposes the target image in the photo frame three-dimensional model to obtain the three-dimensional model; and displays the target image in the first three-dimensional space through the three-dimensional model, that is, places the virtual three-dimensional model in the real three-dimensional space (the first scene), and improves the experience of the user in immersive viewing of the target image.

[0072] Optionally, displaying the three-dimensional model in the first three-dimensional space comprises:

[0073] constructing a coordinate system according to the position of the terminal at the first time point;

[0074] in the case that there is a plane in the image in the first three-dimensional space, displaying the three-dimensional model by fitting the plane;

[0075] in the case that there is no plane in the image in the first three-dimensional space, displaying the three-dimensional model according to the coordinate system at a preset spatial position.

[0076] In the embodiment of the present application, the scene corresponding to the first three-dimensional space is indoor, and there are many planes (such as tables, chairs, cabinets, and walls) in the image in the first three-dimensional space, and at this time, the three-dimensional model can be displayed by fitting on a selected one of the planes.

[0077] In the embodiment of the present application, the scene corresponding to the first three-dimensional space is outdoor, and the environment in the first three-dimensional space is relatively complex, and it is possible that no plane can be detected, and at this time, the three-dimensional model is displayed according to the coordinate system at a preset spatial position.

[0078] The image preview method of the embodiment of the present application can save the target image in a real three-dimensional scene (the first three-dimensional space) by displaying the target image in the first three-dimensional space, thereby improving the user's immersive viewing experience of the target image.

[0079] like Figure 5 As shown, constructing a coordinate system based on the position of the terminal at the first moment includes:

[0080] Establishing the coordinate system with the position of the terminal at the first moment as the origin, the first direction as the X-axis, the second direction as the Y-axis, and the third direction as the Z-axis;

[0081] The first direction is a direction perpendicular to the left and right frames of the terminal, the second direction is a direction perpendicular to the upper and lower frames of the terminal, and the third direction is a direction perpendicular to the terminal display screen.

[0082] In the embodiment of the present application, the preset spatial position is 45 degrees to the left of the Z axis in the coordinate system and is 0.5 m away from the terminal.

[0083] In the embodiment of the present application, the position of the terminal refers to the position of the center of gravity of the terminal, or the position of the terminal refers to the position of the center of the camera module of the terminal; it depends on the specific needs or the shape design of the terminal.

[0084] The image preview method of the embodiment of the present application establishes the coordinate system through the position of the terminal at the first moment, thereby being able to determine whether the terminal has moved or rotated, and providing a position and posture comparison standard for detecting the first operation.

[0085] Optionally, when the first operation is detected, switching the display interface of the terminal to the target image displayed in the second three-dimensional space includes:

[0086] When it is detected, based on the real-time acquired position information of the terminal, that an angular deviation between the terminal and a first coordinate axis of the coordinate system is greater than or equal to a preset angle, determining that the first operation has been received; the first coordinate axis is an X-axis, a Y-axis, or a Z-axis;

[0087] The display interface of the terminal is switched from the video call to the target image displayed in the second three-dimensional space, and the video call interface is hidden or reduced.

[0088] In the embodiment of the present application, the first coordinate axis is the Z axis; that is, the first operation is an operation of rotating the terminal around the Y axis by an angle greater than or equal to a preset angle.

[0089] It should be noted that if the first coordinate axis is the Z axis and the first operation is to rotate the terminal about the Y axis, the image of the first scene captured by the rotated camera is only an image captured at a different angle, and the captured image is still consistent with the actual scene.

[0090] If the first coordinate axis is the X-axis, and the first operation is rotating the terminal around the Z-axis, then after the rotation, the image of the first scene captured by the camera is rotated compared to the real scene, causing the constructed three-dimensional space to be inconsistent with the real scene, affecting the user's immersive experience;

[0091] If the first coordinate axis is the Y axis, the first operation is to rotate the terminal around the X axis. After the rotation, the image of the first scene captured by the camera is rotated compared to the real scene, resulting in the constructed three-dimensional space being inconsistent with the real scene, affecting the user's immersive experience.

[0092] Therefore, in the embodiment of the present application, the first coordinate axis is the Z axis.

[0093] like Figure 6 As shown, the display interface of the terminal is switched from the video call to the target image F displayed in the second three-dimensional space E, the video call interface is reduced, and displayed in the form of a thumbnail G on the viewing interface of the target image.

[0094] The image preview method of the embodiment of the present application can complete the viewing of the target image by rotating the terminal (the first operation), which is simple to operate and improves the user experience of viewing the image.

[0095] Optionally, the method further includes:

[0096] When it is detected that the angular deviation between the terminal and the first coordinate axis is less than a preset angle based on the position information of the terminal acquired in real time, the display interface of the terminal is switched to the video call.

[0097] In an embodiment of the present application, after the user previews the target image, the terminal is restored to its original position, that is, rotated back to the original position of the coordinate system; at this time, the viewing of the target image is completed, and the display interface of the terminal is switched back to the video call interface through this operation.

[0098] Optionally, the method further includes:

[0099] After receiving the target image, obtaining image information collected by the camera in real time;

[0100] The coordinate system and the second three-dimensional space are corrected according to the image information.

[0101] It should be noted that after the terminal receives the target image, image acquisition of the first scene by the camera is continuously performed, and as the terminal moves, the coordinate system and the second three-dimensional space are corrected according to image information collected by the camera, so that the constructed three-dimensional space is more consistent with the real first scene, thereby improving the immersive experience of the user.

[0102] Optionally, the method further includes:

[0103] The target position and the target pose at which the target image is displayed in the second three-dimensional space are saved to the target position of the terminal.

[0104] It should be noted that saving the target image not only saves the target image, but also saves the target position and the target pose of the target image in the second three-dimensional space.

[0105] The image preview method of the embodiment of the application can enable the user to still immerse in viewing the target image in the first scene when the user views the target image again subsequently, by saving the target position and the target pose at which the target image is displayed in the second three-dimensional space.

[0106] Optionally, the method further includes:

[0107] A second operation is received in the first scene; the second operation is used to access the target image in the target position;

[0108] The target image is displayed in a third three-dimensional space according to the target position and the target pose; the third three-dimensional space is the same as or different from the second three-dimensional space.

[0109] It should be noted that the third three-dimensional space being the same as or different from the second three-dimensional space can be understood as that the first scene is collected in different positions and / or at different angles to form a three-dimensional space.

[0110] In the embodiment of the application, the second operation is received in the first scene, and then the terminal collects images of the first scene by the camera, so as to reconstruct the third three-dimensional space, and display the target image in the target position and the target pose in the third three-dimensional space.

[0111] In the second scenario, the second operation is received in the embodiment of the present application. Since the terminal cannot collect image information in the first scenario, the three-dimensional space cannot be constructed for the first scenario, and the target image cannot be displayed in the three-dimensional space corresponding to the first scenario. Therefore, the target image can only be displayed or cannot be displayed.

[0112] The image preview method in the embodiment of the present application can restore the first scenario in which the user is located when the target image is received, and the display effect of the target image in the first scenario through the access to the target image in the target position in the first scenario, thereby improving the immersive experience of the user.

[0113] As shown in Figure 7 The embodiment of the present application provides an image preview device 700, which comprises:

[0114] A processing module 701 is configured to perform three-dimensional processing on a target image received in the process of a video call to obtain a three-dimensional model corresponding to the target image.

[0115] A display module 702 is configured to display the three-dimensional model in a first three-dimensional space. The first three-dimensional space is composed of images in a first scenario collected by a terminal camera at a first time. The first time is a time when the target image is received.

[0116] A display module 703 is configured to display prompt information on the interface of the video call. The prompt information is used to indicate a first operation for viewing the target image.

[0117] A switching module 704 is configured to switch the display interface of the terminal to the target image displayed in a second three-dimensional space when the first operation is detected. The second three-dimensional space is composed of images in the first scenario collected by the terminal camera at a second time. The second time is a time when the first operation is received.

[0118] The image preview device provided by the embodiment of the present application can place the target image received in the video call process in the three-dimensional model by performing three-dimensional processing on the target image, can display the virtual target image in the real three-dimensional scene by displaying the three-dimensional model in the first three-dimensional space, can enable the user to view the target image according to the prompt information by displaying the prompt information, and can display the target image in the real second three-dimensional space by switching the display interface to the target image displayed in the second three-dimensional space according to the first operation trigger, thereby establishing the corresponding relationship between the target image and the first scene, and the viewing operation of the target image is simple, and the experience of the user in viewing the target image in an immersive manner is improved.

[0119] As Figure 8 shown, the embodiment of the present application also provides an image preview device 800, which comprises a processor 801;

[0120] The processor 801 is configured to perform three-dimensional processing on a target image received in a video call process to obtain a three-dimensional model corresponding to the target image.

[0121] The three-dimensional model is displayed in a first three-dimensional space; the first three-dimensional space is composed of images in a first scene captured by a terminal camera at a first time point; the first time point is the time point at which the target image is received.

[0122] Prompt information is displayed on the interface of the video call; the prompt information is used to indicate a first operation for viewing the target image.

[0123] When the first operation is detected, the display interface of the terminal is switched to the target image displayed in a second three-dimensional space; the second three-dimensional space is composed of images in the first scene captured by the terminal camera at a second time point; the second time point is the time point at which the first operation is received.

[0124] The image preview device provided by the embodiment of the present application can place the target image received in the video call process in the three-dimensional model by performing three-dimensional processing on the target image, can display the virtual target image in the real three-dimensional scene by displaying the three-dimensional model in the first three-dimensional space, can enable the user to view the target image according to the prompt information by displaying the prompt information, and can display the target image in the real second three-dimensional space by switching the display interface to the target image displayed in the second three-dimensional space according to the first operation trigger, thereby establishing the corresponding relationship between the target image and the first scene, and the viewing operation of the target image is simple, and the experience of the user in viewing the target image in an immersive manner is improved.

[0125] like Figure 9 As shown, an embodiment of the present invention provides a terminal device, including a transceiver 99, a processor 900, a memory 920, and a program or instruction stored in the memory 920 and executable on the processor 900; when the processor 900 executes the program or instruction, the image preview method described above is implemented.

[0126] The transceiver 99 is used to receive and send data under the control of the processor 900.

[0127] Among them, Figure 9 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically various circuits of one or more processors represented by processor 900 and memory represented by memory 920, which are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 99 may be a plurality of components, i.e., a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 930 may also be an interface capable of connecting external or internal devices as required, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.

[0128] An embodiment of the present invention provides a computer-readable storage medium having a program or instruction stored thereon. When the program or instruction is executed by a processor, the steps in the image preview method described above are implemented.

[0129] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.

[0130] An embodiment of the present invention provides a computer program product, comprising computer instructions, which implement the steps of the image preview method described above when executed by a processor.

[0131] It should be further noted that the terminals described in this specification include but are not limited to smartphones, tablet computers, etc., and many functional components described are referred to as modules in order to more particularly emphasize the independence of their implementation methods.

[0132] In the embodiments of the invention, modules can be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions. These can be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but can comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.

[0133] Indeed, a module of executable code can be a single instruction, or many instructions, and can even be distributed over several different code segments, among different programs, and across several memory devices. Also, operational data can be identified within the modules and can be

[0134] When a module is implemented in software, the software module is embodied in codes that are executed by a processor. The software codes can be stored in any type of non-transitory computer-readable medium or memory media suitable for the store of information. Similarly, the software can be executed by a computer or a processor, which can include any processing device comprising a computer, a processor, or both. The computer-readable medium or memory media can include alone or in combination memory hardware such as secondary storage devices, volatile memory devices, and / or non-volatile memory devices. The computer-readable medium or memory media can also include propagated signals.

[0135] The foregoing exemplary embodiments are described with reference made to the drawings which are provided for the purpose of explanation and illustration. They are not intended to limit the scope of the invention. Rather, these exemplary embodiments are described in order to enable others skilled in the art to embody the application. As will be understood by those familiar with the art, the application can be embodied in many different forms and should not be limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be complete and fully convey the scope of the application to those skilled in the art. In the drawings, the size and relative sizes of components can be exaggerated for clarity. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used herein, the singular articles "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. Unless otherwise indicated, a value range includes the upper and lower limits of the range and any sub-ranges therebetween.

[0136] The above description is that of the preferred embodiments of the application. Various modifications and changes can be made thereto without departing from the spirit and scope of the application, which is to be understood. The scope of the application is indicated only by the subjoined claims.

Claims

1. An image preview method, characterized in that: include: Performing three-dimensional processing on a target image received during a video call to obtain a three-dimensional model corresponding to the target image; displaying the three-dimensional model in a first three-dimensional space; The first three-dimensional space is composed of an image of a first scene captured by a camera of the terminal at a first moment, where the first moment is the moment when the target image is received; Displaying a prompt message on the video call interface, the prompt message being used to indicate a first operation corresponding to viewing the target image; When the first operation is detected, switching the display interface of the terminal to the target image displayed in the second three-dimensional space; The second three-dimensional space is composed of images of the first scene captured by the terminal camera at a second moment, where the second moment is a moment when the first operation is received.

2. The image preview method according to claim 1, wherein: Performing three-dimensional processing on a target image received during a video call to obtain a three-dimensional model corresponding to the target image includes: Get the three-dimensional model of the photo frame; Replacing the image area in the photo frame three-dimensional model with the target image to obtain the three-dimensional model; The image area is a texture image in the three-dimensional model of the photo frame.

3. The image preview method according to claim 1, wherein: Displaying the three-dimensional model in a first three-dimensional space includes: Constructing a coordinate system based on the position of the terminal at the first moment; When there is a plane in the image in the first three-dimensional space, the three-dimensional model is displayed by fitting the plane; When no plane exists in the image within the first three-dimensional space, the three-dimensional model is displayed at a preset spatial position according to the coordinate system.

4. The image preview method according to claim 3, wherein: Constructing a coordinate system based on the position of the terminal at the first moment includes: Establishing the coordinate system with the position of the terminal at the first moment as the origin, the first direction as the X-axis, the second direction as the Y-axis, and the third direction as the Z-axis; The first direction is a direction perpendicular to the left and right frames of the terminal, the second direction is a direction perpendicular to the upper and lower frames of the terminal, and the third direction is a direction perpendicular to the terminal display screen.

5. The image preview method according to claim 4, characterized in that: When the first operation is detected, switching the display interface of the terminal to the target image displayed in the second three-dimensional space includes: When it is detected, based on the real-time acquired position information of the terminal, that an angular deviation between the terminal and a first coordinate axis of the coordinate system is greater than or equal to a preset angle, determining that the first operation has been received; the first coordinate axis is an X-axis, a Y-axis, or a Z-axis; The display interface of the terminal is switched from the video call to the target image displayed in the second three-dimensional space, and the video call interface is hidden or reduced.

6. The image preview method according to claim 5, characterized in that: The method further comprises: When it is detected that the angular deviation between the terminal and the first coordinate axis is less than a preset angle based on the position information of the terminal acquired in real time, the display interface of the terminal is switched to the video call.

7. The image preview method according to claim 3, characterized in that: The method further comprises: After receiving the target image, obtaining image information collected by the camera in real time; The coordinate system and the second three-dimensional space are corrected according to the image information.

8. An image preview device, characterized in that: include: a processing module, configured to perform three-dimensional processing on a target image received during a video call to obtain a three-dimensional model corresponding to the target image; A display module, configured to display the three-dimensional model in a first three-dimensional space; The first three-dimensional space is composed of an image of a first scene captured by a camera of the terminal at a first moment, where the first moment is the moment when the target image is received; A display module, configured to display a prompt message on the video call interface, wherein the prompt message is used to indicate a first operation corresponding to viewing the target image; a switching module, configured to switch the display interface of the terminal to the target image displayed in the second three-dimensional space when the first operation is detected; The second three-dimensional space is composed of images of the first scene captured by the terminal camera at a second moment, where the second moment is a moment when the first operation is received.

9. A terminal device comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; wherein the processor implements the image preview method according to any one of claims 1 to 7 when executing the program or instruction.

10. A computer-readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the image preview method according to any one of claims 1 to 7 are implemented.