A method and device for presenting AR tag information
By combining sparse point cloud maps and texture maps in the spatial positioning database, the problem of data isolation between the large space positioning system and the target detection system is solved, the unified management of AR tag information and the efficiency and accuracy of target detection are achieved, solving the current problem of There is a problem of insufficient data interoperability in technology.
Patent Information
- Application Number
- CN202311771011.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-12-20
AI Technical Summary
In the existing technology, there is a lack of correlation between the data of the large space positioning system and the target detection system, resulting in the inability to effectively manage dynamic targets in the scene, and the target detection system cannot fully utilize the texture map and sparse map in large space positioning, affecting the target. Detection efficiency and accuracy.
By establishing and updating the spatial positioning database, combined with sparse point cloud maps and texture maps, the interoperability of large space positioning and target detection module data is achieved, the AR label information in the augmented reality scene is unified managed, and the three-dimensional map is used to mark target training samples. and rapid identification.
It achieves unified management of AR tag information and efficient use of three-dimensional maps by the target detection module, improves the accuracy and efficiency of target detection, and can quickly and accurately present and identify AR tag information in the current scene.
Smart Images

Figure CN117745988B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to a technology for presenting AR tag information. Background Art
[0002] In the prior art, the large-space positioning system is responsible for generating sparse point cloud maps and texture maps. The sparse point cloud map is a map that describes the point features or line features in the scene. The point features and line features stored in the sparse point cloud map can be used for positioning and target recognition; the texture map is used to describe the dense texture structure in the scene and is a digital three-dimensional model of the scene. Based on the texture map, target editing and AR label editing of the scene can be realized. Summary of the invention
[0003] One object of the present application is to provide a method and device for presenting AR tag information.
[0004] According to one aspect of the present application, a method for presenting AR tag information is provided, wherein the method includes:
[0005] Establishing or updating a spatial positioning database, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information;
[0006] Acquire a scene positioning image of the current scene, and determine the camera position information corresponding to the scene positioning image;
[0007] Acquire tag position information of one or more scene AR tag information based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database;
[0008] According to the camera posture information and the tag position information of the one or more scene AR tag information, tag content information of the one or more scene AR tag information is superimposed and presented in the scene positioning image.
[0009] According to another aspect of the present application, a device for identifying AR tag information is provided, wherein the device includes:
[0010] A module for establishing or updating a spatial positioning database, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information;
[0011] Module one and module two are used to obtain a scene positioning image of the current scene and determine the camera position information corresponding to the scene positioning image;
[0012] A module 3 is used to obtain tag position information of one or more scene AR tag information based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database;
[0013] A module 4 is used to overlay and present the tag content information of the one or more scene AR tag information in the scene positioning image according to the camera posture information and the tag position information of the one or more scene AR tag information.
[0014] According to one aspect of the present application, a computer device is provided, wherein the device includes:
[0015] Processor; and
[0016] A memory arranged to store computer executable instructions, which when executed cause the processor to perform the steps of any of the methods described above.
[0017] According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program / instruction is stored, characterized in that when the computer program / instruction is executed, the system performs the steps of any of the methods described above.
[0018] According to one aspect of the present application, a computer program product is provided, including a computer program / instruction, characterized in that the computer program / instruction implements the steps of any of the above methods when executed by a processor.
[0019] Compared with the existing technology, the present application realizes the mutual utilization and association between map data in large space positioning and target detection module data through the spatial positioning database. On the one hand, it realizes the unified management of AR tag information in augmented reality scenes, and on the other hand, it realizes the utilization of three-dimensional maps in large spaces by target detection modules. It can efficiently and accurately mark target training samples, and use them to quickly and accurately overlay and present corresponding AR tag information in the current scene. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0021] Figure 1 A flow chart of a method for presenting AR tag information according to an embodiment of the present application is shown;
[0022] Figure 2A device structure diagram showing a computer device according to another embodiment of the present application;
[0023] Figure 3 An exemplary system is shown that can be used to implement the various embodiments described in this application.
[0024] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0025] The present application is described in further detail below in conjunction with the accompanying drawings.
[0026] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (eg, a central processing unit (CPU), an input / output interface, a network interface and a memory.
[0027] Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory. Memory is an example of a computer-readable medium.
[0028] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0029] The devices referred to in this application include but are not limited to user devices, network devices, or devices formed by integrating user devices and network devices through a network. The user devices include but are not limited to any mobile electronic products that can interact with users (for example, interact with users through a touchpad), such as smart phones, tablet computers, smart glasses, etc. The mobile electronic products can use any operating system, such as Android operating system, iOS operating system, etc. Among them, the network device includes an electronic device that can automatically perform numerical calculations and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), digital signal processors (Digital Signal Processor, DSP), embedded devices, etc. The network devices include but are not limited to computers, network hosts, single network servers, multiple network server sets or multiple servers. The cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a type of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless self-organizing network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the network device, the touch terminal, or the network device and the touch terminal through a network.
[0030] Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or future devices that are applicable to the present application should also be included in the scope of protection of the present application and are included here by reference.
[0031] In the description of the present application, “plurality” means two or more, unless otherwise clearly and specifically defined.
[0032] Figure 1A method for presenting AR tag information according to one aspect of the present application is shown, wherein the method is applied to a computer device, and includes steps S101, S102, S103, and S104. In step S101, a spatial positioning database is established or updated, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene, and one or more AR tag information of the scene, and the AR tag information includes tag content information; in step S102, a scene positioning image of the current scene is obtained, and the camera pose information corresponding to the scene positioning image is determined; in step S103, tag position information of one or more scene AR tag information is obtained based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database; in step S104, according to the camera pose information and the tag position information of the one or more scene AR tag information, the tag content information of the one or more scene AR tag information is superimposed and presented in the scene positioning image. Wherein, the computer device includes but is not limited to a user device, a network device, or a collection of a user device and a network device; wherein, the user device includes but is not limited to any electronic product that can interact with a user, such as a smart phone, a tablet computer, smart glasses, a drone, a surveillance camera, etc.; the network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud composed of a plurality of servers, for example, a ground control center server, a business platform, etc., wherein the computer device can use different devices in different steps, which is not limited here. Here, the following embodiments are described by taking the smart glasses of this application as an example, and those skilled in the art should understand that the following embodiments are also applicable to other computer devices, etc. Usually, the large space positioning technology and the target detection technology are executed independently. The main defect of this independent execution implementation scheme is that there is no association between the data of the large space positioning system and the target detection system, resulting in the large space positioning system being unable to manage dynamic targets in the scene, and the target detection system cannot effectively utilize the texture map in the large space positioning on the one hand, and on the other hand, it cannot utilize the sparse map in the large space positioning to achieve more efficient target detection. This solution integrates the map data and target detection module in large-space positioning to achieve intercommunication between the two data. On the one hand, it realizes the unified management of static and dynamic AR (augmented reality) tags in augmented reality scenes, and on the other hand, it realizes the use of three-dimensional maps in large spaces by the target detection module. For example, the target detection module can efficiently mark the target training samples using the three-dimensional texture map, and can quickly detect and identify the target using the three-dimensional sparse map.
[0033] In step S101, a spatial positioning database is established or updated, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map of the corresponding scene, a texture map and one or more AR tag information of the scene, and the AR tag information includes tag content information. For example, the computer device realizes data interconnection between the map data of large spatial positioning and the target detection module by establishing or updating the corresponding spatial positioning database. Here, the spatial positioning database can be established on the computer device side, or it can be established on other device sides and provided for the computer device to implement data call, and can realize database update based on the map data uploaded by the computer device. The spatial positioning database is used to store and update scene records corresponding to one or more mapping scenes, and the scene record includes a sparse point cloud map and a texture map of each mapping scene, etc. The sparse point cloud map includes a map for describing point features or line features in the scene, and the point features and line features stored in the sparse point cloud map can be used for positioning and target detection. The texture map includes a digital three-dimensional model of the corresponding scene for describing the dense texture structure in the scene, and the texture map can be used to realize target editing and AR tag editing of the scene. In some cases, the scene record of each mapping scene also includes one or more AR tag information contained in the mapping scene, and the AR tag information includes annotation information for indicating a point, line, surface, object or area in the corresponding scene, and each AR tag information includes tag content information of the tag, for example, pictures, videos, 3D models, PDF files, office documents, form information, audio, hyperlinks, application call information (used to execute relevant instructions of the application, such as opening the application, calling specific functions of the application - such as making a call, etc.), real-time sensor information (used to connect to the sensor and obtain sensor data of the target object), graffiti and other annotation information added to a certain point, line, surface, object or area. The spatial positioning database can be created by a computer device by importing map data corresponding to an initial mapping scene, or it can be that after subsequent superposition calculation of other scenes, the relevant data of other scenes are used as mapping scene data to update the spatial positioning database, etc.
[0034] In some embodiments, the method further includes step S105 (not shown), in which a scene image corresponding to the mapping scene is obtained, and a sparse point cloud map of the mapping scene corresponding to the scene image and a texture map of the mapping scene are obtained; a scene record of the mapping scene is established based on the sparse point cloud map and texture map of the mapping scene. For example, the scene image of the mapping scene includes multiple images of the mapping scene, such as an image sequence or video of the mapping scene, etc. For another example, the scene image of the mapping scene includes corresponding depth information (such as obtaining the corresponding image and depth information through a depth camera, etc.) in addition to the image of the mapping scene. The scene image of the mapping scene can be collected by a corresponding camera device (for example, a local camera or an external camera, etc.), and can also be an image sequence / video of the mapping scene obtained from other devices based on a communication connection with other devices. The computer device can perform data processing on the scene image, for example, three-dimensional reconstruction, etc., to obtain the corresponding sparse point cloud map and texture map. For example, the sparse map is first constructed, and then the texture map is constructed. The construction of the sparse map can be based on the existing incremental motion structure recovery technology (Srtucture From Motion, SFM), and the construction of the texture map can be based on the traditional multi-view stereo vision technology (Multi-view stereo, MVS). The construction of the sparse map and the texture map is only for example and not limited here. After the computer device obtains the sparse point cloud map and texture map of the mapping scene, on the one hand, a scene record of the mapping scene can be established based on the sparse point cloud map and texture map, so as to facilitate the subsequent establishment or update of the spatial positioning database based on the scene record. On the other hand, scene AR tag information management (such as addition, modification, deletion, etc.) of the mapping scene can be performed based on the sparse point cloud map and / or texture map, and then a scene record of the mapping scene can be established based on the sparse point cloud map, texture map and scene AR tag information, so as to facilitate the subsequent establishment or update of the spatial positioning database based on the scene record, for example, corresponding mapping AR tag information can be generated based on the current user's editing operation on the sparse point cloud map and / or texture map.In some embodiments, the method further includes step S106 (not shown), in which, based on the sparse point cloud map and / or the texture map of the mapping scene, mapping AR tag information in the mapping scene is obtained, wherein the mapping AR tag information includes tag content information; wherein, in step S105, the scene record of the mapping scene is established based on the sparse point cloud map and the texture map of the mapping scene, including: establishing the scene record of the mapping scene based on the sparse point cloud map, the texture map and the mapping AR tag information of the mapping scene; wherein, in step S101, a spatial positioning database is established or updated based on the scene record of the mapping scene, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, the AR tag information includes tag content information, and the mapping scene is included in the one or more scenes. In some embodiments, after obtaining the sparse point cloud map and the texture map of the mapping scene, the user (for example, the user corresponding to the mapping scene, etc.) can perform editing operations on the sparse point cloud map and / or texture map of the mapping scene, etc. to generate mapping AR tag information about the mapping scene, etc., thereby establishing a scene record of the mapping scene based on the sparse point cloud map, texture map and mapping AR tag information of the mapping scene, and further, establishing or updating the spatial positioning database based on the scene record. In other embodiments, the method further includes step S107 (not shown), in which, based on the sparse point cloud map and / or the texture map of the mapping scene, the mapping AR tag information in the mapping scene is obtained, wherein the mapping AR tag information includes tag content information; and the scene record corresponding to the mapping scene in the spatial positioning database is updated according to the mapping AR tag information. In some cases, the computer device may also first upload the sparse point cloud map and texture map of the mapping scene to the spatial positioning database, and generate mapping AR tag information about the mapping scene based on the editing operation of the sparse point cloud map and / or texture map of the mapping scene by subsequent users (e.g., the user corresponding to the mapping scene or other users accessing the spatial positioning database, etc.). In other words, the mapping AR tag information of the mapping scene may include the information obtained by the corresponding user performing an editing operation on the sparse point cloud map and / or texture map before uploading the sparse point cloud map and texture map obtained for mapping to the spatial positioning database, and may also include the information obtained after the user calls the sparse point cloud map and / or texture map and performs an editing operation after uploading the sparse point cloud map and texture map obtained for mapping to the spatial positioning database.The computer device can establish a scene record of the mapping scene based on the sparse point cloud map and texture map of the mapping scene. In some cases, the process of establishing the scene record can also include the mapping AR tag information obtained before uploading to the spatial positioning database. In some cases, after the scene record is uploaded to the spatial positioning database, it can also be updated based on the subsequent user's call for scene data and the mapping AR tag information obtained by editing operations. Accordingly, the spatial positioning database can be established or updated based on the creation of the scene record of the mapping scene, and updated with the update of subsequent scene records. Here, the texture map can be open to users for visual editing, and users can complete the editing of AR tags and target areas on the texture map; sparse point cloud maps can be used for positioning and target detection.
[0035] In some embodiments, the mapping AR tag information includes but is not limited to: static AR tag information, wherein the static AR tag information also includes corresponding tag location information; dynamic AR tag information, wherein the dynamic AR tag information also includes target area identification information corresponding to the dynamic target. For example, when performing an editing operation of AR tag information on a sparse point cloud map and / or a texture map, multiple tag types can be set based on different types of editing objects. The multiple tag types can be determined based on the user's selection operation on the tag type, or can be determined based on target detection to determine the corresponding editing object type so as to classify and determine the AR tag information. For example, if the target detection determines that the AR tag information editing object is a static object whose spatial position and physical structure will not change at all (for example, a wall, a ground, a street lamp on the road, etc.), the corresponding AR tag information is determined to be static AR tag information. For another example, if the target detection determines that the AR tag information editing object is a dynamic rigid object whose spatial position will change (for example, a chair, a pedestrian on the road, a vehicle, etc.), the corresponding AR tag information is determined to be dynamic AR tag information. Among them, for static AR tag information, usually when the corresponding AR tag information is stored or updated, the tag location information of the AR tag information is also stored, and the tag location information is used to indicate the location information of the point, line, surface, area or object edited by the tag, such as the world coordinates of the absolute position, the image coordinates of the relative position, or the annotation position on the sparse point cloud map and / or texture map, etc. In some cases, the static AR tag information includes the storage of text descriptions, AR models, and 6-dimensional pose data + 1-dimensional scale data of the AR model in the map, etc. For dynamic AR tag information, usually when the corresponding AR tag information is stored or updated, the target area identification information of the dynamic target edited by the AR tag information is also stored, and the target area identification information is used to indicate the unique identification of the dynamic target edited by the dynamic AR tag information, such as the name, serial number or identification feature, etc.; in some cases, the dynamic AR tag information includes the storage of target ID, text description and AR model, etc.
[0036] In some embodiments, the method further includes step S108 (not shown), in which the sparse point cloud map of the mapping scene is subjected to mask optimization processing to obtain an optimized sparse point cloud map after optimization; wherein, in step S105, a scene record of the mapping scene is established based on the optimized sparse point cloud map and texture map of the mapping scene. For example, in order to save computing resources and improve computing efficiency, the computer device can perform mask optimization processing on the sparse point cloud map, wherein the mask technology is a technology for selecting, filtering or hiding specific areas in an image, and the optimized sparse point cloud map after mask optimization processing is a matrix with the same dimension as the original sparse point cloud map, wherein there is an optimized area in the optimized sparse point cloud map, and the optimized area refers to modifying or blocking the image pixels of the corresponding area, so that no calculation is performed when adding labels or feature calculations in the subsequent process. After mask processing, the scene record of the mapping scene is established based on the optimized sparse point cloud map and texture map of the mapping scene.
[0037] In step S102, a scene positioning image of the current scene is obtained, and the camera posture information corresponding to the scene positioning image is determined. For example, the computer device can shoot the scene positioning image of the current scene through a camera device, or receive the scene positioning image of the current scene transmitted by other devices based on the communication connection with other devices. Here, the scene positioning image can be one or more images of the current scene. We take a single image as an example to illustrate the following embodiments. If the corresponding scene positioning image is a plurality of images, the processing process of each image is similar to the processing process of the single image, and the embodiments are also applicable to the processing process of multiple images. The computer device can perform scene positioning on the current scene based on the scene positioning image to determine the corresponding camera posture information, for example, by extracting features from the scene positioning image and matching to determine the corresponding camera posture information; or, by obtaining a scene feature map of the scene positioning image, and using the scene feature map to match feature points and calculate PNP to obtain the camera posture information of the scene positioning image, the camera posture information includes the camera position information and camera posture information of the camera device when the corresponding scene positioning image is taken.
[0038] In step S103, tag location information of one or more scene AR tag information is obtained based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database. For example, after the computer device obtains the camera pose information of the scene positioning image, it can overlay and present part / all of the AR tag information in the spatial positioning database in the scene positioning image based on the camera pose information. For example, the computer device can directly call all static AR tag information in the spatial positioning database. Since the static AR tag information includes tag location information, all static AR tag information can be overlaid and presented based on the tag location information and camera pose information of the static AR tag information. Alternatively, the computer device can also first perform scene matching to determine the scene AR tag information stored in the spatial positioning database and included in the current scene positioning image, such as determining the static AR tag information in the scene included in the current scene and the target area identification information and the location information of the target area in the scene positioning image identified by target detection, obtaining the corresponding dynamic AR tag information through the identification information of the target area, and determining the location information of the target area as the tag location information of the dynamic AR tag information, thereby overlaying and presenting the scene AR tag information based on the camera pose information and the tag location information. Here, the scene AR tag information determined in the scene positioning image is included in the AR tag information stored in the spatial positioning database. In other words, the one or more scene AR tag information includes part / all of the AR tag information in the spatial positioning database.
[0039] In step S104, the tag content information of the one or more scene AR tag information is superimposed and presented in the scene positioning image according to the camera pose information and the tag position information of the one or more scene AR tag information. For example, after the computer device obtains the camera pose information and the one or more scene AR tag information of the scene positioning image of the current scene, the scene AR tag information can be superimposed and presented. For example, for static AR tag information, the computer device calculates the image position of the static AR tag information in the scene positioning image based on the camera pose information and the tag position information of the static AR tag information, thereby superimposing and presenting the corresponding AR tag information at the image position. For dynamic AR tag information, the target area identification information and the position information of the target area in the scene positioning image identified by target detection are used to obtain the corresponding dynamic AR tag information through the identification information of the target area, and the position information of the target area is determined as the tag position information of the dynamic AR tag information, and the corresponding image position is calculated based on the camera pose information and the tag position information, thereby realizing the superimposed presentation of the AR tag information.
[0040] In some embodiments, the method further includes step S109 (not shown), in which an editing operation of the user in the texture map of the scene is obtained, and one or more AR tag information of the scene is determined based on the editing operation, and the AR tag information includes tag content information. For example, after obtaining the texture map of the mapping scene, the computer device can perform an editing operation of the AR tag information based on the texture map. The editing operation can be before the texture map is stored in the spatial positioning database, or after the texture map is stored in the spatial positioning database for the user to call and perform the editing operation of the corresponding AR tag. The editing operation includes but is not limited to selecting points, lines, surfaces, objects or three-dimensional areas in the texture map and adding, modifying, deleting marks / markings, etc. The computer device can generate AR tag information corresponding to the editing operation based on the points, lines, surfaces, objects or three-dimensional areas selected by the editing operation and the added, modified, deleted marks / marking contents.
[0041] In some embodiments, the AR tag information includes static AR tag information; wherein the method further includes step S110 (not shown), in which, according to the editing position information of the editing operation in the texture map of the scene, the tag position information of the static AR tag information is determined and stored; wherein, in step S103, according to the scene positioning image, one or more corresponding scene AR tag information is determined in one or more static AR tag information in the spatial positioning database, and the tag position information of the one or more scene AR tag information is queried. For example, after the computer device obtains the user's editing operation in the three-dimensional texture map, if the tag information corresponding to the editing operation is static AR tag information, the computer device can directly determine the tag position information of the static AR tag information according to the position of the point, line, surface or three-dimensional area corresponding to the editing operation in the three-dimensional texture map, such as directly determining the position information of the static AR tag based on the position in the three-dimensional texture map, or further calculating the corresponding spatial position based on the position in the three-dimensional texture map to determine the position information of the static AR tag, etc. The editing position information is used to indicate the indicated position of the point, line, surface or three-dimensional area corresponding to the editing operation in the three-dimensional texture map, which may be the positions of all points of the point, line, surface or three-dimensional area corresponding to the editing operation, or the positions of some points (e.g., endpoints and / or center points, etc.) of the point, line, surface or three-dimensional area corresponding to the editing operation, etc. After the computer device acquires the scene positioning image, it may directly call one or more static AR tag information in the spatial positioning database, such as directly determining all static AR tag information in the spatial positioning data as scene AR tag information, and for example, determining the static AR tag information contained in the current scene positioning image as the corresponding scene AR tag information through position matching.
[0042] In some embodiments, the AR tag information includes dynamic AR tag information; wherein the method further includes step S111 (not shown), in which, according to the editing operation, an area is edited in the texture map of the scene, and target area identification information of the target area is determined; wherein, the step S103 includes sub-step S1031 (not shown) and sub-step S1032 (not shown), in which, according to the scene positioning image, target detection is performed to determine at least one target area identification information in the scene positioning image, and position information of the at least one target area identification information; in step S1032, according to the at least one target area identification information, at least one corresponding dynamic AR tag information is determined, the at least one dynamic AR tag information is determined as the corresponding scene AR tag information, and the position information of the at least one target area identification information is determined as the tag position information of the at least one scene AR tag information, wherein the at least one scene AR tag information is included in the AR tag information of the spatial positioning database. For example, the computer device presents a visual texture map of the scene, and the user can select the area of a specific dynamic object in the texture map and annotate the area identification information of the area (thereby completing the determination of the target area and the target area identification information of the target area). Further, the AR tag information of the target area can be edited to generate corresponding dynamic AR tag information, wherein the dynamic AR tag information includes target area identification information for indicating the target area of the dynamic object, such as directly using the name of the dynamic object as the target area identification information or obtaining the corresponding serial number as the target area identification information of the target area. After the computer device determines the target area identification information of the target area, the target area identification information and the corresponding dynamic AR tag information are stored in the spatial positioning database for subsequent target detection of the scene positioning image to determine the target area identification information and then match the dynamic AR tag. After the computer device obtains the scene positioning image, it can perform target detection on the scene positioning image, identify at least one target area identification information contained in the scene positioning image, and can also detect and determine the position information of the at least one target area identification information identified, such as the image position information / spatial position information in the scene positioning image. The computer device can query and match at least one target area identification information in the spatial positioning database, determine the dynamic AR tag information that matches the at least one target area identification information, determine the at least one dynamic AR tag information as the corresponding scene AR tag information, and determine the location information of the at least one target area identification information as the tag location information of the at least one scene AR tag information.Specifically, the spatial positioning database stores each dynamic AR tag information and the corresponding target area identification information. If the target area identification information determined by target detection matches the target area identification information stored in the spatial positioning database, the dynamic AR tag information corresponding to the target area identification information stored in the spatial positioning database is determined as the matching dynamic AR tag information, and is used as the scene AR tag information of the scene positioning image, etc.
[0043] In some embodiments, the method further includes step S112 (not shown), in which sparse point cloud feature information of the target area of the editing operation in the sparse point cloud map of the scene is determined according to the target area, and a corresponding target detection database is established or updated according to the sparse point cloud feature information of the target area; wherein, in step S1031, the scene sparse point cloud feature information corresponding to the scene positioning image is extracted, and the scene sparse point cloud feature information is matched with the target area sparse point cloud feature information in the target detection database to determine at least one target area identification information contained in the scene positioning image, and the location information of the at least one target area identification information. For example, in order to speed up the detection process, the target detection of the target area can be performed relying on a specific target detection database, and the target detection database can be other databases independent of the spatial positioning database, or part / sub-data of the spatial positioning database, etc. For example, there are corresponding sparse point cloud maps and texture maps for the corresponding scenes. When the user edits the target area in the texture map, the target sparse area of the target area in the sparse point cloud map can be determined based on the target area through the correspondence between the sparse point cloud map and the texture map, and the point features, line features, etc. contained in the target sparse area are determined as the target area sparse point cloud feature information, etc. That is, the computer device can automatically obtain the target area sparse point cloud feature information of the target area on the sparse point cloud map after completing the annotation of the target area in the scene (such as the determination of the target area and the target area identification information of the target area, etc.) and editing of the AR tag information on the texture map. The computer device can store multiple target area sparse point cloud feature information corresponding to multiple editing operations in the target detection database for subsequent scene positioning images to perform feature matching, etc., wherein each target area sparse point cloud feature information has a mapping relationship with the corresponding target area identification information. For example, after the computer device acquires the scene positioning image, it extracts the scene sparse point cloud feature information of the scene positioning image, and performs similarity matching on the scene sparse point cloud feature information with the target area sparse point cloud feature information stored in the target detection database, for example, by nearest neighbor, deep learning, etc., so as to determine at least one target area identification information contained in the scene positioning image, and determine the at least one target area identification information as the target area identification information contained in the scene positioning image, and determine the identification position information of the target area identification information in the scene positioning image as the position information corresponding to the target area identification information, etc.
[0044] In some embodiments, the method further includes step S113 (not shown), in which the regional sample information of the editing operation in the texture map of the scene is determined according to the target area, and the corresponding target detection network model is trained according to the regional sample information; wherein, in step S1031, the scene positioning image is input into the target detection network model to determine at least one target area identification information contained in the scene positioning image, and the position information of the at least one target area identification information. For example, target detection and recognition speed by feature matching is fast, but detection robustness is poor, and the corresponding recognition rate is low because the posture or background environment of the dynamic target is easy to change. Here, the computer device can also obtain the regional sample information of the target area and train the corresponding target detection network model to achieve accurate recognition of target detection. For example, after the target area is marked in the three-dimensional texture map, the three-dimensional target area can be quickly and batch mapped to the image through an image projection process (such as perspective projection, etc.), and an image set containing the target area is generated as a training sample for target detection. In some embodiments, the image set containing the target area can also be stored in the target detection database for training the target detection network model. The target detection network model may be included in the target detection database, or may be independent of the target detection database, etc. The target detection network model includes a deep learning model for inputting an image and outputting an object category and position coordinates, such as YOLO (You Only Look Once), Faster R-CNN, SSD (Single Shot MultiBox Detector) models, etc. Compared with the traditional method of obtaining an atlas containing the target area by photographing the target area (such as the area where the target object is located) with a camera and marking the target area of each image on the atlas, the training sample generation scheme in the present invention is fast and efficient. After the computer device obtains the scene positioning image, the scene positioning image is input into the target detection network model, and the target area identification information contained in the model output result is determined as at least one target area identification information contained in the scene positioning image, etc., and the recognition position information contained in the output result is determined as the position information corresponding to the target area identification information, etc.
[0045] In some embodiments, the method further includes step S114 (not shown), in which sparse point cloud feature information of the target area of the editing operation in the sparse point cloud map of the scene is determined according to the target area, and a corresponding target detection database is established or updated according to the sparse point cloud feature information of the target area; regional sample information of the editing operation in the texture map of the scene is determined according to the target area, and a corresponding target detection network model is trained according to the regional sample information; wherein, in step S1031, the scene sparse point cloud feature information corresponding to the scene positioning image is extracted, and the scene sparse point cloud feature information is matched with the target area sparse point cloud feature information in the target detection database, and if the match is successful, at least one target area identification information contained in the scene positioning image and the identification position information of the at least one target area identification information are determined; if the match fails, the scene positioning image is input into the target detection network model to determine at least one target area identification information contained in the scene positioning image and the identification position information of the at least one target area identification information. For example, on the one hand, the advantage of the target detection method based on feature point cloud is that it can be created and used immediately, and the recognition speed is fast. The disadvantage is that the robustness is poor. When the posture of the target or the background environment changes, the recognition rate of this method will decrease. Due to the poor robustness of feature point cloud, the target detection module needs to use feature point cloud for recognition on the one hand, and needs to use deep learning model for recognition on the other hand. Therefore, the computer device can first perform target detection of the scene positioning image through feature point matching, such as through sparse point cloud features when the target position and scene do not occur, the target detection task can be completed quickly. If the position or scene changes significantly, the feature matching fails, and the target detection based on the deep learning model continues to have the characteristics of high robustness, and the target area identification information contained in the model output result is determined as at least one target area identification information contained in the scene positioning image, and the recognition position information contained in the output result is determined as the position information corresponding to the target area identification information, etc.
[0046] In some embodiments, in step S102, a scene positioning image of the current scene is obtained, and the camera posture information corresponding to the scene positioning image is determined by using feature point matching and PNP algorithm according to the scene positioning image and the scene sparse point cloud map of one or more scene records in the spatial positioning database. Among them, the feature point matching is an image matching method that uses points with certain local special properties extracted from the image (called feature points) as conjugate entities, attribute parameters of feature points, i.e., feature descriptions, as matching entities, and realizes conjugate entity registration by calculating similarity measures. The PNP algorithm is a method for solving the correspondence between three-dimensional space and two-dimensional points, usually given the coordinates of 3D points and the coordinates of corresponding 2D points and the internal parameter matrix, to solve the posture of the camera, etc. The computer device first extracts features from the scene positioning image, then matches it with the scene sparse point cloud map in the spatial positioning database, and then obtains the camera posture information, etc. through PNP calculation.
[0047] In some implementations, in step S104, the label image position information of the one or more scene AR label information is determined based on the camera posture information and the label position information of the one or more scene AR label information, so that the label image position information of the one or more scene AR label information is superimposed and presented in the scene positioning image with the label content information of the one or more scene AR label information. For example, after the computer device obtains the label position information of the scene AR label information, it can perform coordinate conversion based on the camera posture information and the label position information to determine the label image position information of the AR label information in the image coordinate system of the scene positioning image, so as to superimpose and present the label content of the AR label position at the corresponding position in the scene positioning image.
[0048] The above mainly introduces the various embodiments of a method for presenting AR tag information in one aspect of the present application. In addition, the present application also provides a specific device capable of implementing the above embodiments. Figure 2 Make an introduction.
[0049] Figure 2A device for presenting AR tag information according to one aspect of the present application is shown, wherein the device includes a first module 101, a second module 102, a third module 103 and a fourth module 104. The first module 101 is used to establish or update a spatial positioning database, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information; the first module 102 is used to obtain a scene positioning image of the current scene and determine the camera pose information corresponding to the scene positioning image; the first module 103 is used to obtain tag position information of one or more scene AR tag information based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database; the fourth module 104 is used to overlay and present the tag content information of the one or more scene AR tag information in the scene positioning image according to the camera pose information and the tag position information of the one or more scene AR tag information. The computer device includes but is not limited to user equipment, network equipment or a combination of user equipment and network equipment; the user equipment includes but is not limited to any electronic product that can interact with the user, such as smart phones, tablet computers, smart glasses, drones, surveillance cameras, etc.; the network equipment includes but is not limited to computers, network hosts, single network servers, multiple network server sets or clouds composed of multiple servers, such as ground control center servers, business platforms, etc. Here, the smart glasses of this application are used as an example to illustrate the following embodiments, and those skilled in the art should understand that the following embodiments are also applicable to other computer equipment, etc.
[0050] Here, the Figure 2 The specific implementations of the one-to-one module 101, the one-to-two module 102, the one-to-three module 103, and the one-to-four module 104 are similar to those described above. Figure 1 The illustrated embodiments of step S101 , step S102 , step S103 , and step S104 are the same or similar, and thus will not be described in detail, but are included herein by reference.
[0051] In some embodiments, the device also includes a module (not shown) for acquiring a scene image corresponding to a mapping scene, and acquiring a sparse point cloud map of the mapping scene corresponding to the scene image and a texture map of the mapping scene; and establishing a scene record of the mapping scene based on the sparse point cloud map and texture map of the mapping scene. In some embodiments, the device further includes a module 101 (not shown) for acquiring mapping AR tag information in the mapping scene based on the sparse point cloud map and / or the texture map of the mapping scene, wherein the mapping AR tag information includes tag content information; wherein the establishing a scene record of the mapping scene based on the sparse point cloud map and the texture map of the mapping scene includes: establishing a scene record of the mapping scene based on the sparse point cloud map, the texture map and the mapping AR tag information of the mapping scene; wherein a module 101 is used to establish or update a spatial positioning database based on the scene record of the mapping scene, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, the AR tag information includes tag content information, and the mapping scene is included in the one or more scenes. In some embodiments, the device also includes a module (not shown) for obtaining mapping AR tag information in the mapping scene based on the sparse point cloud map and / or the texture map of the mapping scene, wherein the mapping AR tag information includes tag content information; and updating the scene record corresponding to the mapping scene in the spatial positioning database according to the mapping AR tag information.
[0052] In some embodiments, the mapping AR tag information includes but is not limited to: static AR tag information, wherein the static AR tag information also includes corresponding tag location information; dynamic AR tag information, wherein the dynamic AR tag information also includes target identification information of corresponding dynamic targets.
[0053] In some embodiments, the device also includes an eight-module (not shown) for performing Mask optimization processing on the sparse point cloud map of the mapping scene to obtain an optimized sparse point cloud map after optimization; wherein, establishing a scene record of the mapping scene based on the sparse point cloud map and texture map of the mapping scene includes: establishing a scene record of the mapping scene based on the optimized sparse point cloud map and texture map of the mapping scene.
[0054] In some embodiments, the device also includes a module (not shown) for obtaining a user's editing operation in the texture map of the scene, and determining one or more AR tag information of the scene based on the editing operation, wherein the AR tag information includes tag content information.
[0055] In some embodiments, the AR tag information includes static AR tag information; wherein the device also includes a module (not shown) for determining and storing tag position information of the static AR tag information based on the editing position information of the editing operation in the texture map of the scene; wherein the module 103 is used to determine corresponding one or more scene AR tag information in one or more static AR tag information in the spatial positioning database based on the scene positioning image, and query the tag position information of the one or more scene AR tag information.
[0056] In some embodiments, the AR tag information includes dynamic AR tag information; wherein the device also includes an eleventh module (not shown) for editing an area in a texture map of the scene according to the editing operation, and determining target area identification information of the target area; wherein the one-three module 103 includes a one-three-one unit (not shown) and a one-three-two unit (not shown); the one-three-one unit is used to perform target detection according to the scene positioning image, determine at least one target area identification information in the scene positioning image, and position information of the at least one target area identification information; the one-three-two unit is used to query and determine at least one corresponding dynamic AR tag information according to the at least one target area identification information, determine the at least one dynamic AR tag information as the corresponding scene AR tag information, and determine the position information of the at least one target area identification information as the tag position information of the at least one scene AR tag information, wherein the at least one scene AR tag information is included in the AR tag information of the spatial positioning database.
[0057] In some embodiments, the device also includes a module (not shown) for determining, based on the target area, the target area sparse point cloud feature information corresponding to the target area in the sparse point cloud map of the scene for the editing operation, and establishing or updating a corresponding target detection database based on the target area sparse point cloud feature information; wherein, a unit 131 is used to extract the scene sparse point cloud feature information corresponding to the scene positioning image, and match the scene sparse point cloud feature information with the target area sparse point cloud feature information in the target detection database, to determine at least one target area identification information contained in the scene positioning image, and the location information of the at least one target area identification information.
[0058] In some embodiments, the device also includes a thirteenth module (not shown), which is used to determine the regional sample information of the target area in the texture map of the scene according to the target area determined by the editing operation, and train the corresponding target detection network model according to the regional sample information; wherein, the one-three-one unit is used to input the scene positioning image into the target detection network model, determine at least one target area identification information contained in the scene positioning image, and the location information of the at least one target area identification information.
[0059] In some embodiments, the device also includes a fourteenth unit (not shown), which is used to determine the sparse point cloud feature information of the target area of the editing operation in the sparse point cloud map of the scene according to the target area, and establish or update the corresponding target detection database according to the sparse point cloud feature information of the target area; determine the regional sample information of the editing operation in the texture map of the scene according to the target area, and train the corresponding target detection network model according to the regional sample information; wherein, the one three one unit is used to extract the scene sparse point cloud feature information corresponding to the scene positioning image, and match the scene sparse point cloud feature information with the target area sparse point cloud feature information in the target detection database. If the match is successful, at least one target area identification information contained in the scene positioning image and the identification position information of the at least one target area identification information are determined; if the match fails, the scene positioning image is input into the target detection network model to determine at least one target area identification information contained in the scene positioning image and the identification position information of the at least one target area identification information.
[0060] In some embodiments, module 102 is used to obtain a scene positioning image of the current scene, and determine the camera posture information corresponding to the scene positioning image by using feature point matching and PNP algorithm based on the scene positioning image and the scene sparse point cloud map recorded in one or more scenes in the spatial positioning database.
[0061] In some embodiments, module 104 is used to determine the tag image position information of the one or more scene AR tag information based on the camera posture information and the tag position information of the one or more scene AR tag information, so as to superimpose the tag image position information of the one or more scene AR tag information in the scene positioning image to present the tag content information of the one or more scene AR tag information.
[0062] Here, the specific implementations corresponding to the modules 15 to 14 are the same as or similar to the embodiments of the aforementioned steps S105 to S114, and thus are not described in detail and are included herein by reference.
[0063] In addition to the methods and devices described in the above embodiments, the present application also provides a computer-readable storage medium, which stores computer code. When the computer code is executed, the method described in any of the preceding items is executed.
[0064] The present application also provides a computer program product. When the computer program product is executed by a computer device, the method described in any of the preceding items is executed.
[0065] The present application also provides a computer device, the computer device comprising:
[0066] one or more processors;
[0067] a memory for storing one or more computer programs;
[0068] When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any of the preceding items.
[0069] Figure 3 An exemplary system that can be used to implement various embodiments described in this application is shown;
[0070] like Figure 3 In some embodiments shown, the system 300 can be used as any of the above-mentioned devices in each of the described embodiments. In some embodiments, the system 300 may include one or more computer-readable media (e.g., system memory or non-volatile memory (NVM) / storage device 320) with instructions and one or more processors (e.g., (one or more) processors 305) coupled to the one or more computer-readable media and configured to execute instructions to implement modules to perform the actions described in this application.
[0071] For one embodiment, system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 305 and / or any suitable device or component in communication with system control module 310 .
[0072] The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. The memory controller module 330 may be a hardware module, a software module, and / or a firmware module.
[0073] The system memory 315 may be used, for example, to load and store data and / or instructions for the system 300. For one embodiment, the system memory 315 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (Double Data Rate 4 SDRAM, DDR4 SDRAM).
[0074] For one embodiment, system control module 310 may include one or more input / output (I / O) controllers to provide interfaces to NVM / storage device 320 and communication interface(s) 325 .
[0075] For example, NVM / storage device 320 may be used to store data and / or instructions. NVM / storage device 320 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDD), one or more compact disc (CD) drives, and / or one or more digital versatile disc (DVD) drives).
[0076] NVM / storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 320 may be accessed over a network via communication interface(s) 325.
[0077] Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and / or with any other suitable devices. System 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and / or protocols.
[0078] For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers of the system control module 310 to form a System In a Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 to form a System On Chip (SoC).
[0079] In various embodiments, the system 300 may be, but is not limited to: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the system 300 may have more or fewer components and / or different architectures. For example, in some embodiments, the system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application specific integrated circuit (ASIC), and a speaker.
[0080] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0081] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes but is not limited to source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0082] Communication media include media by which communication signals containing, for example, computer readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media may include guided transmission media such as cables and wires (e.g., fiber optic, coaxial, etc.) and wireless (unguided transmission) media that can propagate energy waves, such as acoustic, electromagnetic, radio frequency (RF), microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal in, for example, a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal whose one or more characteristics are changed or set in such a manner as to encode information in the signal. Modulation may be analog, digital, or a hybrid modulation technique.
[0083] By way of example and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other media now known or later developed that can store computer-readable information / data for use by a computer system.
[0084] Here, according to an embodiment of the present application, a device is included, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, the device is triggered to run the methods and / or technical solutions based on the aforementioned multiple embodiments of the present application.
[0085] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for presenting AR tag information, wherein: The method includes: Establishing or updating a spatial positioning database, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information; Acquire a scene positioning image of the current scene, and determine the camera position information corresponding to the scene positioning image; Acquire tag position information of one or more scene AR tag information based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database; According to the camera posture information and the tag position information of the one or more scene AR tag information, tag content information of the one or more scene AR tag information is superimposed and presented in the scene positioning image; The AR tag information includes dynamic AR tag information, and the method further includes: Acquire an editing operation of a user in the texture map of a scene, and determine one or more AR tag information of the scene based on the editing operation, wherein the AR tag information includes tag content information; Editing an area in a texture map of the scene according to the editing operation, and determining target area identification information of the target area; The step of acquiring tag location information of one or more scene AR tag information based on the scene positioning image includes: Performing target detection according to the scene positioning image, determining at least one target area identification information in the scene positioning image, and position information of the at least one target area identification information; According to the at least one target area identification information, at least one corresponding dynamic AR tag information is queried in the spatial positioning database, the at least one dynamic AR tag information is determined as corresponding to at least one scene AR tag information, and the position information of the at least one target area identification information is determined as the tag position information of the at least one scene AR tag information, wherein the spatial positioning database stores one or more dynamic AR tag information and the target area identification information corresponding to each dynamic AR tag information.
2. The method according to claim 1, wherein: The method further comprises: Acquire a scene image corresponding to a mapping scene, and acquire a sparse point cloud map of the mapping scene corresponding to the scene image and a texture map of the mapping scene; A scene record of the mapping scene is established based on the sparse point cloud map and the texture map of the mapping scene.
3. The method according to claim 2, wherein: The method further comprises: Based on the sparse point cloud map and / or the texture map of the mapping scene, obtaining mapping AR tag information in the mapping scene, wherein the mapping AR tag information includes tag content information; Wherein, the step of establishing a scene record of the mapping scene based on the sparse point cloud map and the texture map of the mapping scene includes: Establishing a scene record of the mapping scene based on the sparse point cloud map, the texture map and the mapping AR tag information of the mapping scene; Wherein, the establishing or updating of a spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information, including: A spatial positioning database is established or updated based on the scene record of the mapping scene, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene, and one or more AR tag information of the scene, the AR tag information includes tag content information, and the mapping scene is included in the one or more scenes.
4. The method according to claim 2, wherein: The method further comprises: Based on the sparse point cloud map and / or the texture map of the mapping scene, obtaining mapping AR tag information in the mapping scene, wherein the mapping AR tag information includes tag content information; The scene record corresponding to the mapping scene in the spatial positioning database is updated according to the mapping AR tag information.
5. The method according to claim 3 or 4, wherein: The mapping AR tag information includes at least one of the following: Static AR tag information, wherein the static AR tag information also includes corresponding tag location information; Dynamic AR tag information, wherein the dynamic AR tag information also includes target area identification information corresponding to the dynamic target.
6. The method according to claim 2, wherein: The method further comprises: Performing Mask optimization processing on the sparse point cloud map of the mapping scene to obtain an optimized sparse point cloud map; Wherein, the step of establishing a scene record of the mapping scene based on the sparse point cloud map and the texture map of the mapping scene includes: A scene record of the mapping scene is established based on the optimized sparse point cloud map and the texture map of the mapping scene.
7. The method according to claim 1, wherein: The AR tag information includes static AR tag information; wherein the method further includes: Determining and storing tag position information of the static AR tag information according to the editing position information of the editing operation in the texture map of the scene; The step of acquiring tag location information of one or more scene AR tag information based on the scene positioning image includes: According to the scene positioning image, one or more corresponding scene AR tag information is determined from one or more static AR tag information in the spatial positioning database, and tag position information of the one or more scene AR tag information is queried.
8. The method according to claim 1, wherein: The method further comprises: Determine, according to the target area, sparse point cloud feature information of the target area of the editing operation in the sparse point cloud map of the scene, and establish or update a corresponding target detection database according to the sparse point cloud feature information of the target area; The performing of target detection according to the scene positioning image to determine at least one target area identification information in the scene positioning image and the position information of the at least one target area identification information includes: Extract scene sparse point cloud feature information corresponding to the scene positioning image, and match the scene sparse point cloud feature information with the target area sparse point cloud feature information in the target detection database to determine at least one target area identification information contained in the scene positioning image and the position information of the at least one target area identification information.
9. The method according to claim 1, wherein: The method further comprises: Determine the editing operation according to the target area, determine the area sample information of the target area in the texture map of the scene, and train a corresponding target detection network model according to the area sample information; The performing of target detection according to the scene positioning image to determine at least one target area identification information in the scene positioning image and the position information of the at least one target area identification information includes: The scene localization image is input into the target detection network model to determine at least one target area identification information contained in the scene localization image and the position information of the at least one target area identification information.
10. The method according to claim 1, wherein: The method further comprises: Determine, according to the target area, sparse point cloud feature information of the target area of the editing operation in the sparse point cloud map of the scene, and establish or update a corresponding target detection database according to the sparse point cloud feature information of the target area; Determine, according to the target area, regional sample information of the editing operation in the texture map of the scene, and train a corresponding target detection network model according to the regional sample information; The performing of target detection according to the scene positioning image to determine at least one target area identification information in the scene positioning image and the position information of the at least one target area identification information includes: Extracting scene sparse point cloud feature information corresponding to the scene positioning image, and matching the scene sparse point cloud feature information with the target area sparse point cloud feature information in the target detection database, and if the match is successful, determining at least one target area identification information contained in the scene positioning image, and identification position information of the at least one target area identification information; If the matching fails, the scene localization image is input into the target detection network model to determine at least one target area identification information contained in the scene localization image and the identification position information of the at least one target area identification information.
11. The method according to claim 1, wherein: The acquiring of a scene positioning image of the current scene and determining the camera position information corresponding to the scene positioning image includes: Obtain a scene positioning image of the current scene, and determine the camera posture information corresponding to the scene positioning image by using feature point matching and PNP algorithm based on the scene positioning image and the scene sparse point cloud map recorded in one or more scenes in the spatial positioning database.
12. The method according to claim 1, wherein: The step of superimposing and presenting the tag content information of the one or more scene AR tag information in the scene positioning image according to the camera posture information and the tag position information of the one or more scene AR tag information includes: According to the camera posture information and the tag position information of the one or more scene AR tag information, the tag image position information of the one or more scene AR tag information is determined, so that the tag image position information of the one or more scene AR tag information is superimposed on the tag content information of the one or more scene AR tag information in the scene positioning image.
13. A device for presenting AR tag information, wherein: The equipment includes: A module for establishing or updating a spatial positioning database, wherein the spatial positioning database includes scene records of one or more scenes, each scene record includes a sparse point cloud map and a texture map of the corresponding scene and one or more AR tag information of the scene, and the AR tag information includes tag content information; Module one and module two are used to obtain a scene positioning image of the current scene and determine the camera position information corresponding to the scene positioning image; A module 3 is used to obtain tag position information of one or more scene AR tag information based on the scene positioning image, wherein the one or more scene AR tag information is included in the AR tag information of the spatial positioning database; A module 4, configured to overlay and present tag content information of the one or more scene AR tag information in the scene positioning image according to the camera posture information and the tag position information of the one or more scene AR tag information; The AR tag information includes dynamic AR tag information, and the device further includes: Module 19, configured to obtain an editing operation of a user in the texture map of a scene, and determine one or more AR tag information of the scene based on the editing operation, wherein the AR tag information includes tag content information; An eleventh module is used to edit an area in the texture map of the scene according to the editing operation, and determine target area identification information of the target area; The step of acquiring tag location information of one or more scene AR tag information based on the scene positioning image includes: Performing target detection according to the scene positioning image, determining at least one target area identification information in the scene positioning image, and position information of the at least one target area identification information; According to the at least one target area identification information, at least one corresponding dynamic AR tag information is queried in the spatial positioning database, the at least one dynamic AR tag information is determined as corresponding to at least one scene AR tag information, and the position information of the at least one target area identification information is determined as the tag position information of the at least one scene AR tag information, wherein the spatial positioning database stores one or more dynamic AR tag information and the target area identification information corresponding to each dynamic AR tag information.
14. A computer device, wherein: The equipment includes: Processor; and A memory arranged to store computer executable instructions which, when executed, cause the processor to perform the steps of the method as claimed in any one of claims 1 to 12.
15. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: The computer program / instructions, when executed, cause the system to perform the steps of the method as claimed in any one of claims 1 to 12.
16. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
