Visual slam method and apparatus for indoor environment, device, and storage medium

Through the visual SLAM method, semantic information and Manhattan world constraints are used to extract point and line features of the indoor environment and establish a semantic octree map, which solves the problem of limited accuracy of laser SLAM in the indoor environment and improves the accuracy of pose estimation. and robustness, reducing costs.

WO2024212559A1PCT designated stage expired Publication Date: 2024-10-17SHENZHEN INST OF ADVANCED TECH

Patent Information

Application Number
PCT/CN2023/137694
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-11
Filing Date
2023-12-09
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing laser SLAM systems fail to make full use of point-line features and geometric constraints in indoor environments, resulting in limited SLAM positioning accuracy in indoor environments and high costs.

Method used

The visual SLAM method is used to obtain the RGB image of the indoor environment, use the semantic segmentation algorithm to obtain semantic information, the feature extraction algorithm extracts point and line features, and combine the Manhattan world constraints to perform inter-frame pose estimation, establish a semantic octree map, and realize indoor Visual SLAM of the environment.

Benefits of technology

It improves the accuracy and robustness of camera pose estimation, reduces costs, and overcomes the problem of limited accuracy of laser SLAM in indoor environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137694_17102024_PF_FP_ABST
    Figure CN2023137694_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a visual SLAM method and apparatus for an indoor environment, a device, and a storage medium. The method comprises: acquiring an RGB image of an indoor environment, and acquiring semantic information of the RGB image; extracting point and line features of the RGB image, and matching the point and line features to obtain a visual constraint of the RGB image; detecting a planar object in the RGB image on the basis of the semantic information of the RGB image, and acquiring a Manhattan world constraint of the RGB image; and performing inter-frame pose estimation on the RGB image on the basis of the visual constraint and the Manhattan world constraint, and constructing visual SLAM of the indoor environment according to an inter-frame pose estimation result. According to embodiments of the present application, the visual SLAM of the indoor environment is constructed by adding a geometric constraint of the indoor environment and combining low-level geometric features of points, lines and surfaces and high-level semantic features, thereby improving the pose estimation accuracy and robustness of a camera.
Need to check novelty before this filing date? Find Prior Art

Description

A visual SLAM method, device, equipment and storage medium for indoor environments Technical Field

[0001] The present application relates to the field of computer vision technology, and in particular to a visual SLAM method, apparatus, device, and storage medium for indoor environments. Background Art

[0002] SLAM (Simultaneous Localization and Mapping) is a robotic perception technology that involves a sensor-equipped object modeling its environment and estimating its own motion during movement. SLAM technology is categorized into two types: visual SLAM and laser SLAM. Traditional visual SLAM typically estimates and optimizes the camera's pose by correlating features or optical flow between camera frames, and then constructs a map that meets the task requirements based on the estimated trajectory. However, indoor environments often lack texture, making traditional visual SLAM systems difficult to operate effectively. Therefore, laser SLAM and other SLAM systems equipped with non-camera sensors are currently used for robot pose estimation and positioning in indoor environments. Technical issues

[0003] However, the existing laser SLAM does not fully utilize the point-line features and geometric constraints in indoor environments, resulting in limited SLAM positioning accuracy in indoor environments. At the same time, the cost of using laser SLAM is relatively high. Technical Solutions

[0004] The present application provides a visual SLAM method, apparatus, device, and storage medium for indoor environments, aiming to solve at least one of the above-mentioned technical problems in the prior art to a certain extent.

[0005] In order to solve the above problems, this application provides the following technical solutions:

[0006] A visual SLAM method for indoor environments, comprising:

[0007] Acquire an RGB image of the indoor environment, and use a semantic segmentation algorithm to obtain semantic information of the RGB image;

[0008] extracting point and line features from the RGB image using a feature extraction algorithm, and matching the point and line features to obtain visual constraints of the RGB image;

[0009] Detecting a planar object in the RGB image based on semantic information of the RGB image, and obtaining a Manhattan world constraint of the RGB image according to a normal of the planar object;

[0010] The visual constraint and the Manhattan world constraint are combined to perform inter-frame pose estimation on the RGB image, and a visual SLAM of the indoor environment is constructed according to the inter-frame pose estimation result.

[0011] The technical solution adopted in the embodiment of the present application also includes: obtaining an RGB image in an indoor environment and using a semantic segmentation algorithm to obtain semantic information of the RGB image includes:

[0012] Acquire an RGB image containing color information and depth information in an indoor environment through a sensor data acquisition device; the sensor data acquisition device is an RGB-D camera;

[0013] The Deeplabv3+ algorithm is used to perform semantic segmentation on the RGB image to obtain semantic information of the RGB image.

[0014] The technical solution adopted in the embodiment of the present application further includes: extracting point and line features from the RGB image using a feature extraction algorithm, and matching the point and line features to obtain the visual constraints of the RGB image, specifically:

[0015] The ORB algorithm is used to extract point features from the RGB image, and the BRIEF descriptor is used to construct a descriptor of the point features;

[0016] The LSD algorithm is used to extract line features from the RGB image, and the LBD descriptor is used to construct a descriptor of the line features;

[0017] Point and line feature matching is performed based on the point feature descriptor and the line feature descriptor.

[0018] The technical solution adopted in the embodiment of the present application further includes: before detecting the planar object in the RGB image based on the semantic information of the RGB image, the method further includes:

[0019] detecting potential dynamic objects in the RGB image based on the semantic information;

[0020] A motion consistency check is performed on the dynamic objects to screen out the dynamic objects in motion, and point and line features of the dynamic objects in motion are eliminated.

[0021] The technical solution adopted in the embodiment of the present application further includes: detecting a planar object in the RGB image based on the semantic information of the RGB image, and obtaining the Manhattan world constraint of the RGB image according to the normal of the planar object, specifically:

[0022] Detecting planar objects in the RGB image based on the semantic information, the planar objects including walls, ceilings, and floors;

[0023] The normals of the wall, ceiling, and ground are solved, and the normals of the wall are perpendicular to the normals of the ceiling and the ground respectively as the Manhattan world constraints of the RGB image.

[0024] The technical solution adopted in the embodiment of the present application further includes: the visual SLAM of the indoor environment is constructed according to the inter-frame pose estimation result, specifically:

[0025] Based on the inter-frame pose estimation results, representative frames in the RGB image are selected as key frames, and redundant points in the key frames are eliminated using a quadtree algorithm;

[0026] A sliding window is created, and after performing bundle adjustment optimization on key frames within the sliding window, a semantic octree map of the indoor environment is established.

[0027] The technical solution adopted in the embodiment of the present application further includes: after establishing the semantic octree map of the indoor environment, the following steps are further included:

[0028] The bag-of-words model is used for closed-loop detection, and the semantic octree map is globally optimized and corrected according to the detection results to complete the visual SLAM of the indoor environment.

[0029] Another technical solution adopted in the embodiment of the present application is: a visual SLAM device for an indoor environment, comprising:

[0030] Semantic segmentation module: used to obtain RGB images of indoor environments and obtain semantic information of the RGB images using a semantic segmentation algorithm;

[0031] Feature extraction module: used to extract point and line features from the RGB image using a feature extraction algorithm, and match the point and line features to obtain visual constraints of the RGB image;

[0032] A plane detection module is configured to detect planar objects in the RGB image based on the semantic information of the RGB image, and obtain the Manhattan world constraint of the RGB image according to the normal of the planar object;

[0033] A pose estimation module is used to perform inter-frame pose estimation on the RGB image in combination with the visual constraint and the Manhattan world constraint, and to construct a visual SLAM of the indoor environment according to the inter-frame pose estimation result.

[0034] Another technical solution adopted by the embodiment of the present application is: a device, the device comprising a processor and a memory coupled to the processor, wherein:

[0035] The memory stores program instructions for implementing the visual SLAM method for the indoor environment;

[0036] The processor is configured to execute the program instructions stored in the memory to control a visual SLAM method for an indoor environment.

[0037] Another technical solution adopted in the embodiment of the present application is: a storage medium storing program instructions executable by a processor, wherein the program instructions are used to execute the visual SLAM method for the indoor environment. Beneficial effects

[0038] Compared with the prior art, the beneficial effects produced by the embodiments of the present application are as follows: the visual SLAM method, apparatus, device and storage medium of the indoor environment of the embodiments of the present application obtain an RGB image of the indoor environment, adopt a semantic segmentation algorithm to obtain the semantic information of the RGB image, adopt a feature extraction algorithm to extract point and line features from the RGB image, and match the point and line features to obtain the visual constraints of the RGB image, detect the planar objects in the RGB image based on the semantic information of the RGB image, and obtain the Manhattan world constraints of the RGB image according to the normal of the planar object, combine the visual constraints and the Manhattan world constraints to estimate the inter-frame pose of the RGB image, and establish a semantic octree map of the indoor environment to complete the visual SLAM of the indoor environment. The embodiments of the present application construct the visual SLAM of the indoor environment by adding geometric constraints in the indoor environment and combining low-level geometric features of points, lines and surfaces with high-level semantic features, which greatly improves the pose estimation, accuracy and robustness of the camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] FIG1 is a flow chart of a visual SLAM method for an indoor environment according to a first embodiment of the present application;

[0040] FIG2 is a flow chart of a visual SLAM method for an indoor environment according to a second embodiment of the present application;

[0041] FIG3 is a schematic diagram of the structure of a visual SLAM device for an indoor environment according to an embodiment of the present application;

[0042] FIG4 is a schematic diagram of the device structure of an embodiment of the present application;

[0043] FIG5 is a schematic diagram of the structure of a storage medium according to an embodiment of the present application. Best Mode for Carrying Out the Invention

[0044] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0045] The terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features identified. Therefore, features identified as "first," "second," or "third" may explicitly or implicitly include at least one of such features. In the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined. All directional designations in the embodiments of this application (such as up, down, left, right, front, back, etc.) are intended only to illustrate the relative positional relationships and movement of components in a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional designations will also change accordingly. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to such process, method, product, or apparatus.

[0046] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0047] Specifically, please refer to Figure 1, which is a flow chart of the visual SLAM method for an indoor environment of the first embodiment of the present application. The visual SLAM method for an indoor environment of the first embodiment of the present application includes the following steps:

[0048] S100: Acquire an RGB image of an indoor environment, and use a semantic segmentation algorithm to acquire semantic information of the RGB image;

[0049] S110: extracting point and line features from the RGB image using a feature extraction algorithm, and matching the point and line features to obtain visual constraints of the RGB image;

[0050] S120: Detecting a planar object in the RGB image based on semantic information of the RGB image, and obtaining a Manhattan world constraint of the RGB image according to a normal of the planar object;

[0051] S130: performing inter-frame pose estimation on the RGB image in combination with the visual constraint and the Manhattan world constraint, and constructing a visual SLAM of the indoor environment according to the inter-frame pose estimation result. Modes for Carrying Out the Invention

[0052] Please refer to Figure 2, which is a flow chart of the visual SLAM method for an indoor environment according to the second embodiment of the present application. The visual SLAM method for an indoor environment according to the second embodiment of the present application comprises the following steps:

[0053] S200: Acquire an RGB image containing color information and depth information in an indoor environment through a sensor data acquisition device;

[0054] In this step, the sensor data acquisition device is an RGB-D camera. RGB-D cameras acquire 3D information based on triangulation principles. Specifically, a triangle is formed between the image planes of the two cameras and the object being measured. Three-dimensional information of the target object is obtained based on the camera baseline distance, focal length, geometric relationships within the image, and coordinate system transformations. This yields an RGB image and depth map containing both color and depth information for the indoor environment. It is understood that other types of sensor data acquisition devices, such as depth cameras, can also be used to capture RGB images. The specific configuration depends on the actual application scenario.

[0055] S210: Use the Deeplabv3+ algorithm to perform semantic segmentation on the RGB image, obtain the semantic information of the RGB image, and pass the RGB image and semantic information to the front-end visual odometry;

[0056] In this step, the Deeplabv3+ algorithm is a semantic segmentation algorithm. This algorithm introduces the idea of ​​​​Ecoder-Decoder based on DilatedFCN and adds a Decoder module. It further integrates low-level features with high-level features to achieve high-precision pixel-level segmentation and run faster.

[0057] S210: Using the front-end visual odometry, a feature extraction algorithm is used to extract point and line features from the RGB image, and the point and line features are matched to obtain visual constraints of the RGB image.

[0058] In this step, the feature extraction algorithm is used to extract point and line features from the RGB image. Specifically, the ORB (Oriented Fast and Rotated Brief) algorithm is first used to extract point features from the RGB image, and the BRIEF descriptor is used to construct a point feature descriptor for subsequent point and line feature matching. Then, the LSD (Line Segment Detector) algorithm is used to extract line features from the RGB image, and the LBD descriptor is used to construct a line feature descriptor for subsequent point and line feature matching.

[0059] S220: Detecting potential dynamic objects in the RGB image based on the semantic information of the RGB image, performing motion consistency check on the dynamic objects, screening out dynamic objects in motion, and removing point and line features of the dynamic objects;

[0060] In this step, the RGB image may contain dynamic objects such as walking people, cats and / or dogs that may appear indoors. In order to avoid interference with posture estimation caused by these dynamic objects, the embodiment of the present application detects possible potential dynamic objects in the RGB image based on the semantic information in the RGB image, performs motion consistency check on the dynamic object, and determines whether the motion point of the dynamic object is greater than the set threshold. If so, it is determined that the dynamic object is in motion, and the point and line features in the dynamic object are removed, so as to achieve the purpose of eliminating interference caused by dynamic objects to posture estimation.

[0061] S230: Detecting planar objects such as walls, ceilings, and the ground in the RGB image based on semantic information of the RGB image, and solving normals of the planar objects. The normals of the walls are perpendicular to the normals of the ceiling and the ground, respectively, as Manhattan world constraints of the RGB image.

[0062] In this step, the Manhattan world constraint assumes that the reconstructed surface obeys three mutually perpendicular orthogonal directions. The structural characteristics of the Manhattan world can provide useful scene geometry information, such as parallel, orthogonal and coplanar relationships, which can improve the accuracy of camera pose estimation.

[0063] S240: Estimating inter-frame pose of RGB images by combining visual constraints and Manhattan world constraints of RGB images;

[0064] S250: Based on the inter-frame pose estimation results, representative frames in the RGB image are selected as key frames, and redundant points in the key frames are eliminated using a quadtree algorithm;

[0065] In this step, the keyframe selection strategy for the RGB image is to determine whether the number of tracked points in the current frame and the previous keyframe is less than a set point threshold. If so, a new keyframe is created. After selecting the keyframe, a quadtree algorithm is used to filter the points in the keyframe to reduce the computational complexity of subsequent optimization.

[0066] S260: Create a sliding window, perform bundle adjustment optimization on the key frames in the sliding window, and then establish a semantic octree map of the indoor environment;

[0067] In this step, the sliding window size can be set based on the actual application scenario. If a new keyframe is created, the old keyframes within the sliding window are discarded to reduce the computational effort. Bundle Adjustment uses the camera pose and the 3D coordinates of the measurement points as unknown parameters and the coordinates of the feature points detected in the image for forward intersection as observation data to adjust and obtain the optimal camera parameters and world point coordinates.

[0068] S270: Uses the Bag of Words (BoW) model for loop closure detection, and globally optimizes and modifies the semantic octree map based on the detection results to complete visual SLAM of indoor environments.

[0069] In this step, closed loop detection compares the similarity of several features in the image to determine whether the camera has returned to a position it has previously reached. If so, a closed loop has occurred. If a closed loop is detected, global optimization is performed to correct the drift caused by long-term SLAM work. After the optimization is completed, the established local semantic octree map is corrected to complete the visual SLAM of the indoor environment.

[0070] Based on the above, the visual SLAM method for an indoor environment in the second embodiment of the present application obtains an RGB image containing color information and depth information in the indoor environment, uses the Deeplabv3+ algorithm to segment the RGB image, obtains the semantic information of the RGB image, uses a feature extraction algorithm to extract point and line features from the RGB image, and matches the point and line features to obtain the visual constraints of the RGB image, detects potential dynamic objects in the RGB image based on the semantic information of the RGB image, and removes the point and line features of the dynamic objects, detects planar objects in the RGB image based on the semantic information of the RGB image, obtains the Manhattan world constraints of the RGB image according to the normal of the planar object, combines the visual constraints of the RGB image and the Manhattan world constraints to estimate the inter-frame pose of the RGB image, and establishes a semantic octree map of the indoor environment to complete the visual SLAM of the indoor environment. The embodiment of the present application eliminates the interference caused by dynamic objects on pose estimation by removing the point and line features of dynamic objects in the indoor environment, and adds geometric constraints in the indoor environment, combining low-level geometric features of points, lines, and surfaces with high-level semantic features to construct a visual SLAM of the indoor environment, greatly improving the pose estimation and accuracy and robustness of the camera.

[0071] Please refer to FIG3 , which is a schematic diagram of the structure of a visual SLAM device for an indoor environment according to an embodiment of the present application. The visual SLAM device 40 for an indoor environment according to an embodiment of the present application includes:

[0072] Semantic segmentation module 41: used to obtain an RGB image of the indoor environment and obtain semantic information of the RGB image using a semantic segmentation algorithm;

[0073] Feature extraction module 42: used to extract point and line features from the RGB image using a feature extraction algorithm, and match the point and line features to obtain visual constraints of the RGB image;

[0074] Plane detection module 43: configured to detect planar objects in the RGB image based on semantic information of the RGB image, and obtain Manhattan world constraints of the RGB image according to the normals of the planar objects;

[0075] The pose estimation module 44 is configured to perform inter-frame pose estimation on the RGB image in combination with the visual constraint and the Manhattan world constraint, and construct a visual SLAM of the indoor environment according to the inter-frame pose estimation result.

[0076] Please refer to Figure 4, which is a schematic diagram of the device structure of an embodiment of the present application. The device 50 includes:

[0077] A memory 51 storing executable program instructions;

[0078] a processor 52 connected to the memory 51;

[0079] The processor 52 is used to call the executable program instructions stored in the memory 51 and perform the following steps: obtaining an RGB image of the indoor environment, and using a semantic segmentation algorithm to obtain semantic information of the RGB image; using a feature extraction algorithm to extract point and line features from the RGB image, and matching the point and line features to obtain visual constraints of the RGB image; detecting planar objects in the RGB image based on the semantic information of the RGB image, and obtaining Manhattan world constraints of the RGB image based on the normals of the planar objects; performing inter-frame pose estimation on the RGB image in combination with the visual constraints and Manhattan world constraints, and constructing a visual SLAM of the indoor environment based on the inter-frame pose estimation results.

[0080] The processor 52 may also be referred to as a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip with signal processing capabilities. The processor 52 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.

[0081] Please refer to Figure 5, which is a schematic diagram of the structure of a storage medium in an embodiment of the present application. The storage medium in an embodiment of the present application stores program instructions 61 capable of implementing the following steps: obtaining an RGB image of an indoor environment and obtaining semantic information of the RGB image using a semantic segmentation algorithm; extracting point and line features from the RGB image using a feature extraction algorithm and matching the point and line features to obtain visual constraints of the RGB image; detecting planar objects in the RGB image based on the semantic information of the RGB image and obtaining Manhattan world constraints of the RGB image based on the normals of the planar objects; and performing inter-frame pose estimation on the RGB image based on the visual constraints and Manhattan world constraints, and constructing a visual SLAM of the indoor environment based on the inter-frame pose estimation results. The program instructions 61 can be stored in the above-mentioned storage medium in the form of a software product, including several instructions for causing a device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage media include: USB flash drives, mobile hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks, and other media that can store program instructions, or terminal devices such as computers, servers, mobile phones, and tablets. The server can be a standalone server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0082] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0083] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. The above is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A visual SLAM method for indoor environments, characterized in that: include: Acquire an RGB image of the indoor environment, and use a semantic segmentation algorithm to acquire semantic information of the RGB image; Extracting point and line features from the RGB image using a feature extraction algorithm, and matching the point and line features to obtain visual constraints of the RGB image; Detecting a planar object in the RGB image based on semantic information of the RGB image, and obtaining a Manhattan world constraint of the RGB image according to a normal of the planar object; The inter-frame pose estimation is performed on the RGB image in combination with the visual constraint and the Manhattan world constraint, and the visual SLAM of the indoor environment is constructed according to the inter-frame pose estimation result.

2. The visual SLAM method for indoor environment according to claim 1, characterized in that: The step of acquiring an RGB image in an indoor environment and acquiring semantic information of the RGB image using a semantic segmentation algorithm includes: Acquire an RGB image containing color information and depth information in an indoor environment through a sensor data acquisition device; the sensor data acquisition device is an RGB-D camera; The Deeplabv3+ algorithm is used to perform semantic segmentation on the RGB image to obtain semantic information of the RGB image.

3. The visual SLAM method for indoor environment according to claim 2, characterized in that: The feature extraction algorithm is used to extract point and line features from the RGB image, and the point and line features are matched to obtain the visual constraints of the RGB image. Specifically, the visual constraints are: The ORB algorithm is used to extract point features from the RGB image, and the BRIEF descriptor is used to construct a descriptor of the point features; The LSD algorithm is used to extract line features from the RGB image, and the LBD descriptor is used to construct a descriptor of the line features; Point and line feature matching is performed based on the point feature descriptor and the line feature descriptor.

4. The visual SLAM method for indoor environments according to any one of claims 1 to 3, characterized in that: Before detecting the planar object in the RGB image based on the semantic information of the RGB image, the method further includes: Detecting potential dynamic objects in the RGB image based on the semantic information; A motion consistency check is performed on the dynamic objects to screen out the dynamic objects in motion, and point and line features of the dynamic objects in motion are eliminated.

5. The visual SLAM method for indoor environment according to claim 4, characterized in that: The method of detecting a planar object in the RGB image based on the semantic information of the RGB image and obtaining the Manhattan world constraint of the RGB image according to the normal of the planar object is specifically: Detecting a planar object in the RGB image according to the semantic information, wherein the planar object includes a wall, a ceiling, and a ground; The normals of the wall, ceiling and ground are solved, and the normals of the wall are perpendicular to the normals of the ceiling and the ground respectively as the Manhattan world constraints of the RGB image.

6. The visual SLAM method for indoor environment according to claim 5, characterized in that: The visual SLAM of the indoor environment is constructed according to the inter-frame pose estimation result as follows: Based on the inter-frame pose estimation result, a representative frame in the RGB image is selected as a key frame, and a quadtree algorithm is used to remove redundant points in the key frame; A sliding window is created, and after performing bundle adjustment optimization on key frames in the sliding window, a semantic octree map of the indoor environment is established.

7. The visual SLAM method for indoor environment according to claim 6, characterized in that: After the semantic octree map of the indoor environment is established, the method further includes: The bag-of-words model is used for closed-loop detection, and the semantic octree map is globally optimized and corrected according to the detection results to complete the visual SLAM of the indoor environment.

8. A visual SLAM device for an indoor environment, characterized in that: include: Semantic segmentation module: used to obtain an RGB image of the indoor environment and use a semantic segmentation algorithm to obtain semantic information of the RGB image; Feature extraction module: used to extract point and line features from the RGB image using a feature extraction algorithm, and match the point and line features to obtain visual constraints of the RGB image; Plane detection module: used to detect planar objects in the RGB image based on the semantic information of the RGB image, and obtain the Manhattan world constraint of the RGB image according to the normal of the planar object; A pose estimation module is used to perform inter-frame pose estimation on the RGB image in combination with the visual constraint and the Manhattan world constraint, and to construct a visual SLAM of the indoor environment according to the inter-frame pose estimation result.

9. A device, characterized in that: The device comprises a processor and a memory coupled to the processor, wherein: The memory stores program instructions for implementing the visual SLAM method for an indoor environment according to any one of claims 1 to 7; The processor is used to execute the program instructions stored in the memory to control the visual SLAM method of the indoor environment.

10. A storage medium, characterized in that: The device stores program instructions executable by a processor, wherein the program instructions are used to execute the visual SLAM method for an indoor environment as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Visual SLAM method based on semantic segmentation of deep learning

    CN112132897A

  • Visual positioning method and system based on semantic ORB-SLAM technology

    CN113537208A

  • Indoor binocular visual odometer method based on point, line and surface features

    CN114004900A

  • Semantic vision SLAM positioning method based on target detection in indoor dynamic scene

    CN114677323A

  • Structured scene vision SLAM (Simultaneous Localization and Mapping) method based on point-line-surface features

    CN114862949A

Cited By

  • Dynamic environment navigation method and system based on semantic and geometric fusion information

    CN119374599A

  • RGBD mobile device stair detection method based on deep learning, storage medium and electronic device

    CN119399277A

  • Dynamic environment dense point cloud SLAM method and system based on YOLOv11 and ORB-SLAM3

    CN119540942A

  • Multi-robot collaborative semantic SLAM and dynamic exploration method

    CN120765918A

  • Robot algorithm facing depth constraint in dynamic scene, storage medium and equipment

    CN121582336A