Information acquisition method, device, mobile terminal and storage medium
By using radar wave detection to obtain spatial structure information on mobile terminals, the problem of information errors in augmented reality and virtual reality scenes is solved, and the accuracy of information and user experience are improved.
Patent Information
- Application Number
- CN202010054123.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-17
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-01-17
AI Technical Summary
In augmented reality and virtual reality scenes, there are errors between the information of objects in the real environment and the information obtained by image processing algorithms, which affects the user experience.
By transmitting radar waves on the mobile terminal and receiving echoes, the spatial structure information of the image collection object is determined, and augmented reality or virtual reality information is obtained based on this information and the image, and a three-dimensional spatial model is established to improve the accuracy of the information.
Directly using radar wave detection to obtain spatial structure information reduces the error with real information and improves the authenticity and user experience of objects in augmented reality or virtual reality scenes.
Smart Images

Figure CN113138660B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of mobile terminal technology, and in particular to a method, device, mobile terminal and storage medium for acquiring augmented reality (AR) information or virtual reality (VR) information. Background Art
[0002] Augmented reality (AR) technology superimposes the real environment and virtual objects on the same screen or space in real time. Virtual reality (VR) technology simulates a virtual environment to give people a sense of environmental immersion. Augmented reality and virtual reality technologies are increasingly being applied to different scenarios in daily life. For example, based on virtual reality technology, people can judge in advance whether the purchased objects are suitable for the current space; they can directly see the effect of trying on a certain piece of clothing. Augmented reality and virtual reality technologies are increasingly being used to enhance the user experience.
[0003] However, in augmented reality and virtual reality scenarios, there are often various errors between the AR information or VR information obtained using objects in the real environment based on image processing algorithms such as deep learning and the information of the objects in the real environment, which affects the user experience. Summary of the invention
[0004] According to a first aspect of an embodiment of the present disclosure, a method for acquiring augmented reality (AR) information or virtual reality (VR) information is provided, which is applied to a mobile terminal, and the method includes:
[0005] When performing image acquisition, radar waves are emitted and echoes formed based on the radar waves are received;
[0006] Determining spatial structure information of an acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo;
[0007] According to the spatial structure information and the collected images, augmented reality AR information or virtual reality VR information of the collected object is obtained.
[0008] In one embodiment, obtaining augmented reality (AR) information or virtual reality (VR) information of the collected object according to the spatial structure information and the collected image includes:
[0009] Establishing a three-dimensional spatial model of the acquisition object according to the spatial structure information and the acquired image, wherein the three-dimensional spatial model includes: structural features of the acquisition object indicated by the spatial structure information and texture features of the acquisition object acquired by the image;
[0010] The AR information and the VR information are obtained according to the three-dimensional space model.
[0011] In one embodiment, the method further comprises:
[0012] Determining a collection direction for collecting the image;
[0013] When collecting images, emitting radar waves includes:
[0014] When performing image acquisition, the radar wave is emitted along the acquisition direction.
[0015] In one embodiment, the transmission parameters include: transmission time; the echo parameters include: reception time;
[0016] The determining, according to the emission parameters of the radar wave and the echo parameters of the echo, the spatial structure information of the acquisition object of the image acquisition comprises:
[0017] Determine a time difference between the transmitting time and the receiving time;
[0018] Based on the time difference, determining the position information of different positions of the acquisition object relative to the mobile terminal;
[0019] Based on the position information, the spatial structure information of the acquisition object is determined.
[0020] In one embodiment, determining the time difference between the transmitting time and the receiving time includes:
[0021] Determine an average value of the time difference between the transmitting time and the receiving time obtained N times in succession; wherein N is a positive integer greater than 1;
[0022] The determining, based on the time difference, the position information of different positions of the acquisition object relative to the mobile terminal includes:
[0023] Based on the average value, position information of different positions of the acquisition object relative to the mobile terminal is determined.
[0024] According to a second aspect of an embodiment of the present disclosure, a device for acquiring augmented reality (AR) information or virtual reality (VR) information is provided, which is applied to a mobile terminal. The device includes a transceiver module and a processing module, wherein:
[0025] The transceiver module is used to transmit radar waves and receive echoes formed based on the radar waves when performing image acquisition;
[0026] The processing module is used to determine the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo;
[0027] According to the spatial structure information and the collected images, augmented reality AR information or virtual reality VR information of the collected object is obtained.
[0028] In one embodiment, the transceiver module is also used to
[0029] A three-dimensional spatial model of the collected object is established according to the spatial structure information and the collected image, wherein the three-dimensional spatial model includes: structural features of the collected object indicated by the spatial structure information and texture features of the collected object collected by the image; and the AR information and the VR information are obtained according to the three-dimensional spatial model.
[0030] In one embodiment, the device further comprises a determination module, the determination module being configured to determine a collection direction for collecting the image;
[0031] The transceiver module is also used to transmit the radar wave along the acquisition direction when performing image acquisition.
[0032] In one embodiment, the transmission parameters include: transmission time; the echo parameters include: reception time; the processing module is also used to determine the time difference between the transmission time and the reception time; based on the time difference, determine the position information of different positions of the acquisition object relative to the mobile terminal; based on the position information, determine the spatial structure information of the acquisition object.
[0033] In one embodiment, the processing module is also used to determine the average value of the time difference between the transmission time and the reception time obtained N times in succession; wherein N is a positive integer greater than 1; and based on the average value, determine the position information of different positions of the acquisition object relative to the mobile terminal.
[0034] According to a third aspect of an embodiment of the present disclosure, there is provided a mobile terminal, including:
[0035] processor;
[0036] a memory for storing processor-executable instructions;
[0037] Wherein, when the processor is configured to execute executable instructions, it implements any of the method steps described above.
[0038] According to a fourth aspect of an embodiment of the present disclosure, there is provided a non-temporary computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to implement any of the method steps described above.
[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0040] In an embodiment of the present disclosure, when performing image acquisition, radar waves are emitted and echoes formed based on the radar waves are received; according to the emission parameters of the radar waves and the echo parameters of the echoes, the spatial structure information of the acquisition object of the image acquisition is determined; here, compared with the use of deep learning models to obtain spatial structure information in related technologies, it is more accurate to directly use radar wave detection to obtain the spatial structure information of the acquisition object. According to the spatial structure information and the acquired image, the augmented reality AR information or virtual reality VR information of the acquisition object is obtained. Here, since the spatial structure information of the acquisition object is directly obtained based on the detection of radar waves, the error between the spatial structure information and the real information of the acquisition object will be smaller. The AR information and VR information of the acquisition object obtained according to the spatial structure information and the acquired image can more accurately describe the acquisition object, improve the authenticity of the acquisition object in the augmented reality or virtual reality scene, and improve the user experience.
[0041] 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
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0043] Figure 1 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to an exemplary embodiment.
[0044] Figure 2 The figure is a schematic diagram showing a mobile terminal with a radar sensor according to an exemplary embodiment.
[0045] Figure 3 The present invention is a schematic diagram of an application scenario in which a mobile terminal with a radar sensor transmits radar waves and receives echoes according to an exemplary embodiment.
[0046] Figure 4 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment.
[0047] Figure 5 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment.
[0048] Figure 6 The figure is a schematic diagram of a picture in augmented reality (AR) or virtual reality (VR) according to an exemplary embodiment.
[0049] Figure 7 It is a schematic diagram of a space model obtained by processing using the method of an embodiment of the present disclosure according to an exemplary embodiment.
[0050] Figure 8 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment.
[0051] Fig. 9 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment.
[0052] Fig.10 The present invention is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment.
[0053] Fig.11 The present invention is a block diagram of a device for acquiring augmented reality (AR) information or virtual reality (VR) information according to an exemplary embodiment.
[0054] Fig.12 It is a block diagram of a mobile terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0055] 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 invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0056] Figure 1 is a flow chart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to an exemplary embodiment. Figure 1 As shown, the method is applied in a mobile terminal, and the method comprises the following steps:
[0057] Step 101 , when performing image acquisition, radar waves are emitted and echoes formed based on the radar waves are received.
[0058] Here, the mobile terminal may be a terminal such as a mobile phone, a tablet computer or a laptop computer; the mobile terminal may also be a wearable device, such as a smart watch, a smart bracelet, etc. In short, any mobile terminal having an image acquisition module and capable of image acquisition may be used. Here, an augmented reality AR and / or virtual reality VR application may be run on the mobile terminal, and the application may be to acquire image data through the image acquisition module.
[0059] Here, the radar wave may be emitted by a radar sensor installed on the mobile terminal. Figure 2 , Figure 2 FIG. 1 is a schematic diagram showing a mobile terminal having a radar sensor according to an exemplary embodiment. Figure 2 As shown, at least one radar sensor may be installed on the mobile terminal. For example, two radar sensors may be installed on the mobile terminal, and the two radar sensors may include: a front radar sensor 21 installed on the same side as the front camera in the mobile terminal 2, and a rear radar sensor 22 installed on the same side as the rear camera in the mobile terminal 2. Of course, in other embodiments, the radar sensor may also be installed at other locations of the mobile terminal, and no limitation is made to this.
[0060] In one embodiment, the front camera and the front radar sensor form a functional module group for implementing image processing. The rear camera and the rear radar sensor form another functional module group for implementing image processing. In one embodiment, radar sensors installed on different sides of the mobile terminal can emit radar waves at any angle in front of different sides of the mobile terminal. For example, the front radar sensor 21 installed on the same side of the mobile terminal as the front camera can be used to emit radar waves to objects in the image information that can be collected by the front camera; and the rear radar sensor 22 installed on the same side of the mobile terminal as the rear camera can be used to emit radar waves to objects in the image information that can be collected by the rear camera.
[0061] In one embodiment, the radar sensor may be disposed on a rotating component of the mobile terminal, and may change direction based on the driving of the rotating component in the mobile terminal. For example, the driving of the rotating component may cause the radar sensor to face one side of the display screen; or, the driving of the rotating component may cause the radar sensor to emit radar waves in a set direction.
[0062] In practical applications, there may be one or more radar sensors. The radar sensor may be arranged on any side of the mobile terminal.
[0063] Here, the echo is a radar wave signal that is reflected on the surface of an object and then reflected back to the mobile terminal after the radar wave encounters an object during propagation.
[0064] Step 102: determining the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo.
[0065] See also Figure 3 , Figure 3 It is a schematic diagram of an application scenario in which a mobile terminal with a radar sensor transmits radar waves and receives echoes according to an exemplary embodiment. In this application scenario, a mobile terminal with a radar sensor and a collection object are included. The collection objects include a first object 31, a second object 32, and a third object 33. After the mobile terminal transmits the radar wave through the radar wave sensor, it will receive the radar wave reflected at one or more positions on the outer surface of the first object 31, and obtain echo 1; it will receive the radar wave reflected at one or more positions on the outer surface of the second object 32, and obtain echo 2; it will receive the radar wave reflected at one or more positions on the outer surface of the third object 33, and obtain echo 3.
[0066] In one embodiment, the transmission parameter may be a time parameter when the radar wave is transmitted. For example, the transmission parameter is 10:10:10. The echo parameter may be a time parameter when the echo is received. For example, the echo parameter is 10:10:11. The transmission parameter may also include an angle parameter for transmitting the radar wave. The echo parameter may also be an angle parameter for receiving the echo.
[0067] In one embodiment, the spatial structure information may be coordinate information including different positions of the acquisition object. The coordinate information may be coordinate information in a spatial coordinate system with a reference point set on the mobile terminal as the origin. For example, coordinate information in a three-dimensional spatial coordinate system with the setting point of the radar sensor as the reference origin. For example, coordinate information A (x, y, z) of the corner point A of the first object. Here, the x, y, and z correspond to the coordinates of the three dimensions in the coordinate system, respectively. Here, the spatial structure information of the acquisition object may be a collection of coordinate information at different positions of the acquisition object. In one embodiment, the coordinate information at different positions in the collection may be formed into a virtual space model 34. The virtual space model 34 may be used to display a virtual space model in augmented reality or virtual reality.
[0068] Here, the spatial structure information may include the contour shape of the acquisition object, for example, the outer contour shape. For example, if the acquisition object is a human body, the shape of the outer contour indicated by the spatial structure information is consistent with the shape of the human body; if the acquisition object is a square book, the shape of the outer contour indicated by the contour information is a square. In some embodiments, the spatial structure information may include the size of the outer contour of the acquisition object, etc. In short, the spatial structure information can roughly describe the appearance of the acquisition object.
[0069] Step 103: Obtain augmented reality (AR) information or virtual reality (VR) information of the collected object based on the spatial structure information and the collected image.
[0070] Here, the image may be a grayscale image, and the image includes feature information related to the color, texture, etc. of the collected object. Here, the augmented reality (AR) information or virtual reality (VR) information of the collected object includes the spatial model information of the collected object.
[0071] In one embodiment, the augmented reality AR information may be the information contained in the virtual space model after the real environment and the virtual space model determined according to the spatial structure information and the collected images are superimposed on the same screen or space. In another embodiment, the virtual reality VR information may be the information of the virtual space model determined according to the spatial structure information and the collected images. It should be noted that the augmented reality AR information may also contain information about other objects besides the collected objects. For example, in the augmented reality facial makeup application scenario, the augmented reality information may also include information about the cosmetic components used on different parts of the face.
[0072] In one embodiment, taking a mobile phone as an example, see Figure 4 , is a flowchart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment, the method comprising the following steps:
[0073] Step S1, the mobile phone enters AR mode or VR mode.
[0074] Step S2, when performing image acquisition, the mobile phone transmits radar waves and receives echoes formed based on the radar waves.
[0075] Step S3, the mobile phone determines the position information of different positions of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo.
[0076] Step S4, the mobile phone obtains augmented reality (AR) information or virtual reality (VR) information of the collected object according to the position information of different positions of the collected object and the collected images.
[0077] In this embodiment, when performing image acquisition, radar waves are emitted and echoes formed based on the radar waves are received; according to the emission parameters of the radar waves and the echo parameters of the echoes, the spatial structure information of the acquisition object of the image acquisition is determined; here, compared with the use of deep learning models to obtain spatial structure information in related technologies, it is more accurate to directly use radar wave detection to obtain the spatial structure information of the acquisition object. According to the spatial structure information and the acquired image, the augmented reality AR information or virtual reality VR information of the acquisition object is obtained. Here, since the spatial structure information of the acquisition object is directly obtained based on the detection of radar waves, the error between the spatial structure information and the real information of the acquisition object will be smaller. The AR information and VR information of the acquisition object obtained according to the spatial structure information and the acquired image can more accurately describe the acquisition object, improve the authenticity of the acquisition object in the augmented reality or virtual reality scene, and improve the user experience.
[0078] Figure 5 is a flow chart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment. Figure 5 As shown, in step 103, obtaining augmented reality (AR) information or virtual reality (VR) information of the collected object according to the spatial structure information and the collected image includes:
[0079] Step 401, establishing a three-dimensional spatial model of the acquisition object according to the spatial structure information and the acquired image, wherein the three-dimensional spatial model includes: structural features of the acquisition object indicated by the spatial structure information and texture features of the acquisition object acquired by the image.
[0080] In one embodiment, the three-dimensional space model may be a mathematical model generated based on the spatial structure information and the acquired image, which can reflect the spatial structure, texture and other characteristics of the acquired object. The mathematical model may be visualized on an augmented reality or virtual reality application software.
[0081] In one embodiment, the feature information of each pixel in the image can be represented by a feature vector (r, g, b). Here, r, g, and b represent the brightness values corresponding to the three channels of red, green, and blue, respectively. The image may contain feature information of multiple pixels. In one embodiment, the position information of different positions of the acquisition object relative to the mobile terminal is represented by (x, y, z), where x, y, and z are the coordinate values of each dimension in the three-dimensional rectangular space coordinate system. Each pixel in the image can correspond to a position on the acquisition object. The spatial structure information may be coordinate information containing multiple positions.
[0082] In one embodiment, the establishment of the three-dimensional spatial model of the acquisition object may include: merging the position information of different positions of the acquisition object and the feature information of the pixel points. For example, the position information of the target position on the acquisition object is represented by coordinates (x, y, z), and the feature information of the corresponding pixel points is represented by feature vectors (r, g, b). Then, the position information of the target position on the acquisition object and the feature information of the pixel points can be represented as a feature vector B (x, y, z, r, g, b) after merging, and the feature vector B can be used to display the three-dimensional spatial model. In one embodiment, the set of feature vectors B can be used to visualize the augmented reality AR or virtual reality VR spatial model of the acquisition object.
[0083] Here, the texture feature may be a visual feature reflecting the acquisition object, and may reflect the slowly changing or periodically changing surface structure organization arrangement property of the acquisition object surface.
[0084] Step 402: Obtain the AR information and the VR information according to the three-dimensional space model.
[0085] In one embodiment, the coordinate information of different positions of the acquisition object and the texture information of the surface of the acquisition object can be obtained according to the three-dimensional space model.
[0086] In one embodiment, see Figure 6 , is a schematic diagram of an image in augmented reality (AR) or virtual reality (VR) according to an exemplary embodiment. The image is relatively simple and only has color and texture information. Figure 7 , is a schematic diagram of a spatial model obtained by processing using the method of an embodiment of the present disclosure according to an exemplary embodiment. It includes not only color and texture information but also spatial coordinate information. For example, taking position C on the acquisition object as an example, the feature vector corresponding to point C is C(x, y, z, r, g, b), where x, y, z are the spatial coordinate information.
[0087] Figure 8is a flow chart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment. Figure 8 As shown, the method further comprises the following steps:
[0088] Step 701, determining a direction for acquiring the image.
[0089] In one embodiment, the direction of the acquisition object relative to the mobile terminal may be determined as the acquisition direction.
[0090] Step 702: When performing image acquisition, the radar wave is emitted along the acquisition direction.
[0091] In one embodiment, the direction of the acquisition object relative to the mobile terminal can be determined first, and radar waves can be emitted along the direction of the acquisition object relative to the mobile terminal during image acquisition. For example, taking the above-mentioned front radar sensor as an example, if the acquisition object is directly in front of the mobile terminal, it is only necessary to control the radar wave to scan and emit within a certain range directly in front. If the acquisition object is in a direction 30 degrees to the right of the front direction of the mobile terminal, it is only necessary to control the radar wave to scan and emit within a certain range 30 degrees to the right of the front direction. In this way, the emission range of the radar wave can be reduced, which can not only improve the speed of detecting the spatial structure information of the acquisition object, but also save the power consumption of the mobile terminal.
[0092] In some embodiments, determining the direction of the acquisition object relative to the mobile terminal may include: first performing an initial scan of the area corresponding to the acquired image using radar waves to roughly determine the direction of the acquisition object.
[0093] Fig. 9 is a flow chart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment. The transmission parameters include: transmission time; the echo parameters include: receiving time. Fig. 9 As shown, in step 102, determining the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo includes:
[0094] Step 801, determining the time difference between the transmitting time and the receiving time.
[0095] In one embodiment, the transmitting time is 10 hours, 10 minutes, and 10 seconds, and the receiving time is 10 hours, 10 minutes, and 10 seconds, and the time difference is 1 second.
[0096] Step 802: Determine the position information of different positions of the acquisition object relative to the mobile terminal based on the time difference.
[0097] In one embodiment, the distances of different positions of the acquisition object relative to the mobile terminal may be determined based on the propagation speed of the radar wave and the time difference, and then the position information of different positions of the acquisition object relative to the mobile terminal may be determined based on the distance. In one embodiment, the position information of different positions of the acquisition object relative to the mobile terminal may also be determined based on the distance and the angle at which the radar wave is emitted. Here, the position information may be the coordinate information of different positions of the acquisition object relative to the mobile terminal.
[0098] Step 803: Determine the spatial structure information of the acquisition object based on the position information.
[0099] In one embodiment, the location information includes coordinate information of multiple different positions of the acquisition object relative to the mobile terminal, and the set of coordinate information of multiple different positions of the acquisition object relative to the mobile terminal can constitute the spatial structure information of the acquisition object.
[0100] In one embodiment, the first position corresponding to the distance difference greater than the difference threshold may be determined based on the distance difference between the distance information of the first position of the acquisition object relative to the mobile terminal and the distance information of the second position adjacent to the first position relative to the mobile terminal; and the contour information of the acquisition object may be determined based on the first position corresponding to the difference greater than the difference threshold.
[0101] Fig.10 FIG. 1 is a flow chart of a method for obtaining augmented reality (AR) information or virtual reality (VR) information according to another exemplary embodiment. Fig.10 In step 801, determining the time difference between the transmitting time and the receiving time includes:
[0102] Step 901, determining an average value of the time difference between the transmitting time and the receiving time obtained N times in succession; wherein N is a positive integer greater than 1.
[0103] In one embodiment, the time difference may be acquired N times in succession at a sampling frequency greater than a sampling frequency threshold and the average value may be determined.
[0104] Step 902: Based on the average value, determine the position information of different positions of the acquisition object relative to the mobile terminal.
[0105] Here, the position information of different positions of the acquisition object relative to the mobile terminal is determined based on the average value, so that the determined position information is more accurate.
[0106] Fig.11 1 is a block diagram of a device for acquiring augmented reality (AR) information or virtual reality (VR) information according to an exemplary embodiment. Fig.11 , applied to a mobile terminal, the device comprises a transceiver module 111 and a processing module 112, wherein,
[0107] The transceiver module 111 is used to transmit radar waves and receive echoes formed based on the radar waves when performing image acquisition;
[0108] The processing module 112 is used to determine the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo;
[0109] According to the spatial structure information and the collected images, augmented reality AR information or virtual reality VR information of the collected object is obtained.
[0110] In one embodiment, the transceiver module 111 is also used to map the spatial structure information to the collected image, establish a correspondence between the position information of the reflection point in the spatial structure information and the feature information of the feature point of the collected object in the image, and obtain an augmented reality AR space model or a virtual reality VR space model of the collected object; wherein the position information of the reflection point includes the position information of the reflection point on the collected object that emits the radar wave relative to the mobile terminal.
[0111] In one embodiment, the device further includes a determination module 113, wherein the determination module 113 is configured to determine a collection direction for collecting the image;
[0112] The transceiver module 111 is also used to transmit the radar wave along the acquisition direction when acquiring images.
[0113] In one embodiment, the transmission parameters include: transmission time; the echo parameters include: reception time; the processing module 112 is also used to determine the time difference between the transmission time and the reception time; based on the time difference, determine the position information of different positions of the acquisition object relative to the mobile terminal; based on the position information, determine the spatial structure information of the acquisition object.
[0114] In one embodiment, the processing module 112 is also used to determine the average value of the time difference between the transmission time and the reception time obtained N times in succession; wherein N is a positive integer greater than 1; and based on the average value, determine the position information of different positions of the acquisition object relative to the mobile terminal.
[0115] The present disclosure also provides a mobile terminal, including:
[0116] processor;
[0117] a memory for storing processor-executable instructions;
[0118] Wherein, when the processor is configured to execute executable instructions, the method steps described in any embodiment of the present disclosure are implemented.
[0119] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium having a computer program stored thereon, wherein the program is used by a processor to execute the method steps described in any embodiment of the present disclosure.
[0120] Fig.12 is a block diagram of a test mobile terminal 600 according to an exemplary embodiment. For example, the test mobile terminal 600 may be a mobile phone, a computer, a digital broadcast mobile terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0121] Reference Fig.11 The test mobile terminal 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0122] The processing component 602 generally controls the overall operation of the test mobile terminal 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0123] The memory 604 is configured to store various types of data to support operations on the test mobile terminal 600. Examples of such data include instructions for any application or method operating on the test mobile terminal 600, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0124] The power component 606 provides power to various components of the test mobile terminal 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the test mobile terminal 600.
[0125] The multimedia component 608 includes a screen that provides an output interface between the mobile terminal 600 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 608 includes a front camera and / or a rear camera. When the test mobile terminal 600 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.
[0126] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the test mobile terminal 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0127] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as 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.
[0128] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the mobile terminal 600. For example, the sensor assembly 614 can detect the open / closed state of the mobile terminal 600, the relative positioning of components, such as the display and keypad of the mobile terminal 600, and the sensor assembly 614 can also detect the position change of the mobile terminal 600 or a component of the mobile terminal 600, the presence or absence of contact between the user and the mobile terminal 600, the orientation or acceleration / deceleration of the mobile terminal 600, and the temperature change of the mobile terminal 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0129] The communication component 616 is configured to facilitate wired or wireless communication between the mobile terminal 600 and other devices. The mobile terminal 600 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 616 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 616 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.
[0130] In an exemplary embodiment, the mobile terminal 600 may 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.
[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of a mobile terminal 600 to perform the above 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, etc.
[0132] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute the information processing methods described in the above embodiments.
[0133] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0134] It should be understood that the present invention is not limited to the exact construction that has 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 invention is limited only by the appended claims.
Claims
1. A method for obtaining augmented reality (AR) information or virtual reality (VR) information, characterized in that: Applied to a mobile terminal, the method comprises: When performing image acquisition, radar waves are emitted and echoes formed based on the radar waves are received; Determining the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo; wherein determining the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo includes: Determine the time difference between the transmission time and the reception time; the transmission parameters include: the transmission time; the echo parameters include: the reception time; Based on the time difference, determining the position information of different positions of the acquisition object relative to the mobile terminal; Determine, according to a distance difference between the distance information of a first position of the acquisition object relative to the mobile terminal and the distance information of a second position adjacent to the first position relative to the mobile terminal, a first position corresponding to the distance difference being greater than a difference threshold; Determining contour information of the acquisition object according to the first position; According to the spatial structure information and the collected images, augmented reality AR information or virtual reality VR information of the collected object is obtained.
2. The method according to claim 1, characterized in that The obtaining of augmented reality (AR) information or virtual reality (VR) information of the collected object according to the spatial structure information and the collected image includes: Establishing a three-dimensional spatial model of the acquisition object according to the spatial structure information and the acquired image, wherein the three-dimensional spatial model includes: structural features of the acquisition object indicated by the spatial structure information and texture features of the acquisition object acquired by the image; The AR information and the VR information are obtained according to the three-dimensional space model.
3. The method according to claim 1, characterized in that The method further comprises: Determining a collection direction for collecting the image; When performing image acquisition, emitting radar waves includes: When performing image acquisition, the radar wave is emitted along the acquisition direction.
4. The method according to claim 1, characterized in that: Determining the time difference between the transmitting time and the receiving time comprises: Determine an average value of the time difference between the transmitting time and the receiving time obtained N times in succession; wherein N is a positive integer greater than 1; The determining, based on the time difference, the position information of different positions of the acquisition object relative to the mobile terminal includes: Based on the average value, position information of different positions of the acquisition object relative to the mobile terminal is determined.
5. A device for acquiring augmented reality (AR) information or virtual reality (VR) information, characterized in that: Applied to a mobile terminal, the device comprises a transceiver module and a processing module, wherein: The transceiver module is used to transmit radar waves and receive echoes formed based on the radar waves when performing image acquisition; The processing module is used to determine the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo; wherein the determining the spatial structure information of the acquisition object of the image acquisition according to the emission parameters of the radar wave and the echo parameters of the echo includes: Determine the time difference between the transmission time and the reception time; the transmission parameters include: the transmission time; the echo parameters include: the reception time; Based on the time difference, determining the position information of different positions of the acquisition object relative to the mobile terminal; Determine, according to a distance difference between the distance information of a first position of the acquisition object relative to the mobile terminal and the distance information of a second position adjacent to the first position relative to the mobile terminal, a first position corresponding to the distance difference being greater than a difference threshold; Determining contour information of the acquisition object according to the first position; According to the spatial structure information and the collected images, augmented reality AR information or virtual reality VR information of the collected object is obtained.
6. The device according to claim 5, characterized in that The transceiver module is also used to establish a three-dimensional spatial model of the collected object based on the spatial structure information and the collected image, wherein the three-dimensional spatial model includes: structural features of the collected object indicated by the spatial structure information and texture features of the collected object collected by the image; and obtain the AR information and the VR information based on the three-dimensional spatial model.
7. The device according to claim 5, characterized in that The device further comprises a determination module, the determination module being used to determine a collection direction for collecting the image; The transceiver module is also used to transmit the radar wave along the acquisition direction when performing image acquisition.
8. The device according to claim 5, characterized in that The processing module is also used to determine an average value of the time difference between the transmission time and the reception time obtained N times in succession; wherein N is a positive integer greater than 1; and based on the average value, determine the position information of different positions of the acquisition object relative to the mobile terminal.
9. A mobile terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, when the processor is configured to execute executable instructions, the method steps described in any one of claims 1 to 4 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method steps of any one of claims 1 to 4.
