An elevator automatic splicing method, device and product for a robot map
By combining laser scanning and visual recognition technologies, the elevator outline is automatically identified and stitched into the robot map, solving the problem of low efficiency in manually drawing elevator outlines in existing technologies. This achieves fast and accurate elevator position identification and stitching, improving the efficiency of robot map construction.
Patent Information
- Application Number
- CN202210925812.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-08-03
AI Technical Summary
Existing robot mapping technologies require manual drawing of elevator outlines, resulting in low mapping efficiency and an inability to achieve fast and accurate automated elevator location identification and stitching.
By combining laser scanning and visual recognition technologies, the elevator door's position and status information are identified. The SVM classifier and Harris corner detection algorithm are used to extract the elevator door's features. Combined with the FCOS target detection algorithm and backbone network model, the elevator outline is automatically identified and stitched into the robot scene map.
It enables rapid and accurate elevator outline recognition without relying on manual intervention, improves the efficiency of obtaining elevator information in robot scene maps, and fills a gap in existing technologies.
Smart Images

Figure CN115311140B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of image recognition splicing, and particularly relates to an elevator automatic splicing method, device and product for a robot map. BACKGROUND
[0002] When a robot operates in a site, it needs to rely on the positioning map built-in the robot to move, otherwise the robot cannot locate its position and cannot move normally and perform tasks, so the robot needs to build a map of the site environment before entering the site to operate.
[0003] The robot adopts SLAM (Simultaneous Localization and Mapping) technology to generate a map of the environment where the mobile robot is located. Based on this map, the robot performs path planning, autonomous positioning, navigation and other tasks.
[0004] Now, after the robot completes the scene map construction by using the SLAM technology, the robot needs to additionally draw the elevators and their positions in the scene, but the existing technology is to obtain the elevator contour position by using artificial means, and then draw and splice the obtained elevator contour position to the robot scene map, which greatly reduces the efficiency of map construction. Therefore, it is very important to find a technology that can obtain the robot scene map with the elevator contour without using artificial means, relatively quickly and accurately. SUMMARY
[0005] In view of the above problems, the present application provides an elevator automatic splicing method, device and product for a robot map.
[0006] The technical solution adopted by the present application to solve the technical problems is as follows:
[0007] An elevator automatic recognition splicing method for a robot map comprises the following steps:
[0008] S1, recognizing and obtaining the position information of the elevator door, and obtaining the position coordinates of the elevator door in the scene map according to the position information of the elevator door and the robot scene map;
[0009] S2, based on the position coordinates of the elevator door in the scene map, splicing the elevator contour in the scene map to obtain a robot scene map with the elevator contour.
[0010] An elevator automatic recognition splicing device for a robot map comprises:
[0011] A second recognition module is configured to recognize and obtain the position information of the elevator door.
[0012] The position coordinate acquisition module is used to obtain the position coordinates of the elevator door in the scene map based on the elevator door's position information and the robot scene map.
[0013] The stitching module is used to stitch the elevator outline onto the robot scene map based on the position coordinates of the elevator door in the scene map to obtain a robot scene map with the elevator outline.
[0014] A terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the various steps of the elevator automatic recognition and stitching method for robot maps.
[0015] A computer-readable storage medium stores an elevator automatic identification and stitching program for a robot map, which, when executed by a processor, implements the various steps of the elevator automatic identification and stitching method for a robot map.
[0016] A computer program product includes a computer program or instructions that, when executed by a processor, can implement the various steps of the elevator automatic recognition and stitching method for robot maps.
[0017] The beneficial effects of this invention are:
[0018] This invention provides an automatic elevator identification and stitching method, device, terminal, storage medium, and computer program product for robot maps. It can accurately identify the outline of the elevator, realize a method for obtaining robot scene maps with elevator outlines relatively quickly and accurately without manual intervention, improve the efficiency of obtaining robot scene maps with elevator outlines, and fill the gap in the prior art. Attached Figure Description
[0019] Figure 1 This is a flowchart of an automatic elevator identification and stitching method for robot maps according to the present invention.
[0020] Figure 2 This is a laser scan image of an elevator door, used in an automatic elevator recognition and stitching method for robot maps according to the present invention.
[0021] Figure 3 This is a laser scan image of an elevator door, which is part of an automatic elevator identification and stitching method for robot maps according to the present invention.
[0022] Figure 4 The present invention employs a method for automatic elevator recognition and stitching in robot maps, utilizing the Harris corner detection algorithm. Figure 3The result of key feature extraction.
[0023] Figure 5 This is a schematic diagram of the structure of a convolutional block in the backbone network of an automatic elevator recognition and stitching method for robot maps according to the present invention.
[0024] Figure 6 This is a schematic diagram of the backbone network structure of an automatic elevator identification and stitching method for robot maps according to the present invention.
[0025] Figure 7 This is a schematic diagram of the detection head structure of an automatic elevator identification and stitching method for robot maps according to the present invention.
[0026] Figure 8 This is a schematic diagram of the four distances of the detection head bounding box regression branch in an automatic elevator recognition and stitching method for robot maps according to the present invention.
[0027] Figure 9 This is a rendering of an elevator door frame obtained from an elevator door detection model, which is part of an elevator automatic recognition and stitching method for robot maps according to the present invention. Detailed Implementation
[0028] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0029] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0030] Example 1
[0031] An automatic elevator recognition and stitching method for robot maps, such as Figure 1 It includes the following steps:
[0032] S1. Identify and obtain the position information of the elevator door in the laser scan image, and obtain the position coordinates of the elevator door in the scene map based on the position information of the elevator door and the robot scene map.
[0033] S1 also includes: identifying and acquiring the status information of the elevator door, which is the opening and closing status of the elevator door. The opening and closing status of the elevator door can be acquired using different sensors, such as obtaining a photo of the elevator door through vision and determining the current opening and closing status of the elevator door, or obtaining a laser scanning image through laser and determining the opening and closing status of the elevator door.
[0034] Specifically, the elevator door's status information is obtained through image recognition, and its location information is obtained through laser scan image recognition. The laser scan image is a laser scan of the scene containing the elevator; the image is a photograph of the elevator. The laser scan image is real-world laser point cloud data obtained by scanning the real scene using a laser sensor (e.g., a laser on the robot's own device). The image is obtained by capturing the real-world scene using a camera. The elevator door includes both closed and unlocked doors.
[0035] S2. Based on the position coordinates of the elevator door in the scene map, the elevator outline is stitched into the scene map described in step S1 to obtain a robot scene map with the elevator outline.
[0036] The above methods will be described in detail below.
[0037] S0. The robot scans the map to obtain a scene map of the site.
[0038] The robot scans the site to obtain a scene map corresponding to the site; here, a site refers to a location where the robot is about to enter for operation, such as a floor or a building. It should be understood that the scene map obtained by the robot scan lacks the elevator outline.
[0039] It should be understood that the elevator outline can be obtained by scanning an elevator image.
[0040] S1.1 The elevator door position in the laser scan image is identified based on the classification module. The elevator door position can be verified by the elevator door frame.
[0041] S1.1 also includes a step of identifying the open / closed state of the elevator door in the image based on the elevator door detection model.
[0042] The classification module is an SVM classifier. It is used to perform category reasoning on the laser scan image and identify the location of the elevator door in the laser scan image through category reasoning.
[0043] The training process for the SVM classifier is as follows:
[0044] Laser scanning data is obtained through laser scanning;
[0045] Plot the laser scanning data in a coordinate system centered on the robot;
[0046] The laser scanning data is classified and labeled in two categories: "is an elevator door" and "is not an elevator door".
[0047] An SVM classifier is trained using the labeled laser scanning data. The trained SVM classifier can perform category inference on the laser scanning image input to it and directly identify whether it is an elevator door, that is, identify the location of the elevator door. Figure 2 The area shown is the location of the elevator door.
[0048] Based on the elevator door position identified by the classification module, key features are extracted using corner detection and line segment detection algorithms to obtain the corner features and line segment features of the elevator door frame. For example, in this invention, the Harris corner detection algorithm is used to extract corner features, and the Canny line segment detection algorithm is used to extract line segment features. Figure 3 This is a laser scan image of an elevator door. Figure 4 Points A and B in the diagram are the extracted corner points. Based on the relationship between the extracted corner points and line segments, the positions of key points on the elevator door frame are determined. Once the positions of the key points are determined, the position of the elevator door frame can be determined.
[0049] S1.2. Based on the elevator door frame position finally obtained in S1.1 and the laser scan image described in S1.1, obtain the laser point cloud data of the elevator door. That is, extract the laser point cloud data corresponding to the elevator door area from the laser scan image described in S1.1 based on the elevator door frame finally obtained in S1.1. The elevator door frame is used to help determine the specific position coordinates of the elevator outline stitched onto the scene map. The laser point cloud data obtained at this time may only be the laser point cloud data of the elevator door in the closed state, and in some embodiments, it may also be the laser point cloud data of the elevator door in both the open and closed states.
[0050] S1.3. Match the laser point cloud data of the elevator door obtained in S1.2 with the robot scene map to obtain the position coordinates of the elevator door in the scene map. The position coordinates at this time may only be the position coordinates of the elevator door in the scene map when it is closed. In some embodiments, it may also be the position coordinates of the elevator door in the scene map when it is open and closed.
[0051] The above steps S1.1 to S1.3 are a specific embodiment of step S1.
[0052] S2. Based on the position coordinates of the elevator door in the scene map, the elevator outline is stitched into the scene map to obtain a robot scene map with the elevator outline.
[0053] The elevator door detection model described above can identify the opening and closing state of the elevator door in a real-time image. It can also identify the frame of the elevator door in the real-time image. In this embodiment, the correctness of the elevator door frame can be verified based on the opening and closing state and the frame, i.e., the correctness of the elevator door position. The verified elevator door frame is used as the final elevator door frame obtained in step S1.1, and is then used in step S1.2.
[0054] The above S1.1 to S1.3 do not specify when the elevator door detection model's image recognition results should be used. It could be that all laser scan images show the elevator door in a closed state, and based on the elevator door detection model's open / closed state recognition results, the laser sensor scans to obtain a laser scan image of the closed elevator door when the elevator door is closed. In other words, both the image and the laser scan image used in S1 show the elevator door in a closed state. Alternatively, the open / closed state of the elevator door can be ignored when capturing the image and laser scan images. When obtaining the elevator door's position coordinates in the scene map, the image and laser scan images are matched, and only the position coordinates of the closed elevator door in the scene map are obtained / retained, discarding the position coordinates of the open elevator door. Or, when obtaining the elevator door frame based on the elevator door's position, only the position of the closed elevator door is used to obtain the closed state. The elevator door frame can be determined by discarding the frame of the elevator door in the open state; alternatively, only the laser point cloud data of the elevator door in the closed state can be obtained until the laser point cloud data of the elevator door is acquired, while discarding the laser point cloud data of the elevator door in the open state; alternatively, only the laser point cloud data of the elevator door in the closed state can be matched with the scene map of the site until the laser point cloud data is matched with the scene map of the robot; alternatively, the elevator door frame can be determined by combining the frame of the elevator door identified by the elevator door detection model and the frame of the elevator door obtained based on the laser scanning image; alternatively, the elevator door frame can be verified and filtered by using the elevator door frame output by the elevator door detection model and the elevator door open / closed state, with the elevator door frame serving as the verification of the elevator door frame obtained based on the laser scanning image, and the elevator door frame corresponding to the closed state elevator door being more accurate; other possibilities that can be implemented by those skilled in the art are also possible, but will not be exhaustively listed here.
[0055] The following section details the construction and training of the elevator door detection model.
[0056] Elevator door objects are typically rectangular in size. This patent, taking into account this scenario, employs a first-order fully convolutional object detection algorithm (FCOS). FCOS is an anchor-free detection method that extracts features from the input image and performs object classification and bounding box regression centered on each pixel in the feature map. Compared to anchor-bound detectors that require lowering the cross-validation threshold to match more positive samples, the FCOS algorithm defines all points [x, y] in the feature map that fall within the elevator door bounding box as positive samples, thereby improving the recall rate of elevator door detection.
[0057] The elevator door detection model consists of a backbone network and a detection head. The backbone network is composed of stacked convolutional blocks. The structure of the convolutional blocks is as follows: Figure 5 As shown, the structure of the convolutional block, in order of computational unit processing, is: convolutional layer, batch normalization layer, and activation layer, where K represents the convolutional window, S represents the convolutional span, Cin represents the number of input channels, and Cout represents the number of output channels. The backbone network is as follows: Figure 6 As shown, it includes 5 convolutional blocks, which are arranged in the order of computational units: first convolutional block, second convolutional block, third convolutional block, fourth convolutional block, and fifth convolutional block. The input size of the first convolutional block is 320*320*3, and the output size of the fifth convolutional block is 10*10*256.
[0058] Detection head structure definition: The detection head is mainly divided into three sub-modules: the bounding box regression branch, whose main function is to regress the size of the elevator door; the classification prediction branch, which handles the opening and closing status of the elevator door; and the centerness branch, which predicts the centerness, used to obtain the predicted distance of each feature point from the center of the elevator door bounding box. For example... Figure 7As shown, the detection head includes: a sixth convolutional block, a seventh convolutional block connected to the output of the sixth convolutional block, a first convolutional layer connected to the output of the seventh convolutional block, a second convolutional layer connected to the output of the seventh convolutional block, an eighth convolutional block connected to the output of the sixth convolutional block, and a third convolutional layer connected to the output of the eighth convolutional block. The sixth convolutional block has an input size of 10*10*256, and its convolutional layer has 128 channels, a 1x1 convolutional kernel, and a stride of 1. The seventh convolutional block has a convolutional layer with 128 channels, a 3x3 convolutional kernel, and a stride of 1. The first convolutional layer has 128 channels, a 1x1 convolutional kernel, and a stride of 1. The second convolutional layer has 128 channels, a 1x1 convolutional kernel, and a stride of 1. The eighth convolutional block has a convolutional layer with 128 channels, a 3x3 convolutional kernel, and a stride of 1. The third convolutional layer connected to the output of the eighth convolutional block has 128 channels, a 1x1 convolutional kernel, and a stride of 1.
[0059] The classification prediction branch generates the predicted elevator door opening / closing state for each feature point. When classifying elevator doors, it simultaneously predicts two feature maps [H / 32, W / 32, 2]. The feature map [H / 32, W / 32, 0] predicts a closed elevator door, and the feature map [H / 32, W / 32, 1] predicts an open elevator door. H represents the elevator height, W represents the elevator width, and / 32 represents a reduction of 32 times. When the elevator door is open, all regions marked with boxes on the feature map [H / 32, W / 32, 1] are considered positive samples (1), and all other regions are considered negative samples (0). When the elevator door is closed, all regions marked with boxes on the feature map [H / 32, W / 32, 0] are considered positive samples, and the corresponding regions [H / 32, W / 32, 1] are considered negative samples. The target of the training classification branch is cls_gt[H / 32, W / 32, 2].
[0060] The function of the bounding box regression branch is to regress the size, generating a predicted size value for the elevator door bounding box for each feature point. For any point in the marked bounding box, the distance from the four sides of the bounding box is the target size to be regressed for that point. Therefore, each point on the feature map needs to regress the corresponding four distances, namely d_left, d_right, d_top, and d_down, as shown below. Figure 8 At this point, the target of the box regression branch is bbox_gt[H / 32,W / 32,4].
[0061] The definition of centrality branch is:
[0062]
[0063] That is, each point corresponds to a centrality, and the training objective of the centrality branch is Ct_gt[H / 32,W / 32,1].
[0064] The elevator door images of each elevator hall are randomly collected from multiple angles using the camera of a mobile robot. The position of the elevator door and the opening / closing status of the elevator door in the images are marked to establish a training set for the elevator door detection model.
[0065] By feeding the image to be detected into a deep neural network, the predicted values of the first three branches of the detection are obtained: the classification probability value of the elevator door box cls_pred, the predicted size value of the elevator door box bbox_pred, and the predicted centrality value ct_pred. Based on the training objectives cls_gt, bbox_gt, and ct_gt, a loss function is defined.
[0066] Based on the loss function, the elevator door detection model is backpropagated to update its network parameters. In practice, the elevator door detection model can be trained using stochastic gradient descent (SGD) with momentum, with the learning momentum parameter set to 0.9, the L2 regularization penalty coefficient for the convolution parameter set to 0.001, and the learning rate set to a multinomial slow decrease. Training is terminated after 100 iterations, and the elevator door detection model network parameters are saved.
[0067] The image to be tested is fed into the trained elevator door detection model to calculate the predicted values of the first three branches, namely the predicted values of elevator door opening and closing states: cls_pred, bbox_pred, and ct_pred. Typically, the confidence score of the elevator door at each point on the feature map is:
[0068]
[0069] In scenarios where elevator doors are typically distributed widely, with only one door per area, overlapping doors are unlikely. To reduce the number of redundant bounding boxes, this invention employs a weighted post-processing method, defining the confidence level as follows:
[0070] obj = cls_pred 0.3 *ct_pred 0.7
[0071] Feature points with a confidence level less than 0.5 are deleted. The model is then compared with previously known elevator door frames. Frames with an overlap rate exceeding 5% with previously known elevator door frames are defined as redundant boxes, which are either deleted or not saved. The elevator door frame effect obtained through the elevator door detection model is shown in the image below. Figure 9 As shown.
[0072] This invention provides an automatic elevator recognition and stitching method for robot maps. Based on the fusion processing of images and laser scan images, it accurately identifies the outline of the elevator, realizing a method to obtain robot scene maps with elevator outlines relatively quickly and accurately without manual intervention. This improves the efficiency of obtaining robot scene maps with elevator outlines and fills a gap in the existing technology.
[0073] An automatic elevator recognition and stitching device for robot maps includes a second recognition module, a position coordinate acquisition module, and a stitching module. The second recognition module identifies and acquires the position information of the elevator door. It includes a classification module and a border extraction module. The classification module identifies the elevator door position in a laser-scanned image based on the classification module's information. The border extraction module extracts corner and line features from the elevator door position using corner detection and line segment detection algorithms, determining the position of the elevator door border based on the relationship between these features. The position coordinate acquisition module obtains the elevator door's position coordinates in the robot scene map based on the elevator door's position information and the robot scene map. The stitching module stitches the elevator outline onto the robot scene map based on the elevator door's position coordinates in the scene map to obtain a robot scene map with the elevator outline. The device also includes a first recognition module, which identifies and acquires the elevator door's state information. This first recognition module uses an elevator door detection model to recognize the image, obtaining the open / closed state of the elevator door in the image.
[0074] Another aspect of the present invention is to provide a terminal, the terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, it implements the various steps of the elevator automatic recognition and stitching method for robot maps as described in any of the above embodiments.
[0075] The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the elevator automatic identification and stitching method for robot maps as described in any of the above embodiments.
[0076] The present invention also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the various steps of the automatic elevator recognition and stitching method for robot maps in any of the above embodiments.
[0077] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the functions described above can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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 integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0078] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0079] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0080] In the embodiments provided by this invention, it should be understood that the disclosed systems, devices / terminal equipment, and methods can be implemented in other ways. For example, the system or device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0081] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0082] Furthermore, the functional units in the various embodiments of the present invention 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 integrated unit can be implemented in hardware or as a software functional unit.
[0083] It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this invention, and these improvements and modifications should also be considered within the scope of protection of this invention.
Claims
1. A method for automatic elevator recognition and stitching in robot maps, characterized in that, Includes the following steps: S1. Identify and obtain the location information of the elevator door, and obtain the position coordinates of the elevator door in the scene map based on the location information of the elevator door and the robot scene map; S2. Based on the position coordinates of the elevator door in the scene map, the elevator outline is stitched into the scene map to obtain a robot scene map with the elevator outline. S1 includes the following steps: S1.
1. The elevator door frame position in the laser scan image is identified based on the classification module; the elevator door position in the laser scan image is identified based on the classification module, and corner features are extracted using the Harris corner detection algorithm and line segment features are extracted using the Canny line segment detection algorithm based on the elevator door position; the position of key points of the elevator door frame is determined based on the relationship between the extracted corner features and line segment features, thereby determining the position of the elevator door frame. S1.2, Obtain laser point cloud data of the elevator door; S1.3 Match the laser point cloud data of the elevator door obtained in S1.2 with the robot scene map to obtain the position coordinates of the elevator door in the scene map; The training of the classification module includes the following steps: Laser scanning data is obtained through laser scanning; Plot the laser scanning data in a coordinate system centered on the robot; The laser scanning data is classified and labeled in two categories: "is an elevator door" and "is not an elevator door". The classification module was trained using the labeled laser scanning data; In step S1.2, the laser point cloud data of the elevator door is obtained by: obtaining the laser point cloud data of the elevator door based on the position of the elevator door frame when the elevator door is closed and the laser scan image. S1.1 further includes the step of identifying the opening and closing state of the elevator door in the image based on the elevator door detection model. The elevator door detection model can identify the frame of the elevator door in the image, verify the correctness of the position of the elevator door frame based on the opening and closing state of the elevator door and the frame of the elevator door, and use the verified position of the elevator door frame in step S1.
2.
2. An automatic elevator recognition and stitching device for robot maps, characterized in that, include: The second identification module is used to identify and obtain the location information of the elevator door; The position coordinate acquisition module is used to obtain the position coordinates of the elevator door in the scene map based on the elevator door frame and the robot scene map; The stitching module is used to stitch the elevator outline onto the robot scene map based on the position coordinates of the elevator door in the scene map to obtain a robot scene map with the elevator outline. The second recognition module identifies and obtains the elevator door's position information and position coordinates. The position coordinate acquisition module obtains the elevator door's position coordinates on the scene map based on the elevator door's frame and the robot's scene map, including: S1.
1. The position of the elevator door frame in the laser scan image is identified based on the classification module; The elevator door position in the laser scan image is identified by the classification module. Based on the elevator door position, corner features are extracted using the Harris corner detection algorithm and line segment features are extracted using the Canny line segment detection algorithm. The position of key points on the elevator door frame is determined based on the relationship between the extracted corner features and line segment features, thereby determining the position of the elevator door frame. S1.2, Obtain laser point cloud data of the elevator door; S1.3 Match the laser point cloud data of the elevator door obtained in S1.2 with the robot scene map to obtain the position coordinates of the elevator door in the scene map; The training of the classification module includes the following steps: Laser scanning data is obtained through laser scanning; Plot the laser scanning data in a coordinate system centered on the robot; The laser scanning data is classified and labeled in two categories: "is an elevator door" and "is not an elevator door". The classification module was trained using the labeled laser scanning data; In step S1.2, the laser point cloud data of the elevator door is obtained by: obtaining the laser point cloud data of the elevator door based on the position of the elevator door frame when the elevator door is closed and the laser scan image. S1.1 further includes the step of identifying the opening and closing state of the elevator door in the image based on the elevator door detection model. The elevator door detection model can identify the frame of the elevator door in the image, verify the correctness of the position of the elevator door frame based on the opening and closing state of the elevator door and the frame of the elevator door, and use the verified position of the elevator door frame in step S1.
2.
3. A terminal, characterized in that, The terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the various steps of the elevator automatic recognition and stitching method for robot maps as described in claim 1.
4. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions, which, when executed by a processor, implement the various steps of the elevator automatic recognition and stitching method for robot maps as described in claim 1.
5. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they can implement the various steps of the elevator automatic recognition and stitching method for robot maps as described in claim 1.
Citation Information
Patent Citations
Elevator door position and opening and closing state detection method and device, medium and terminal
CN113435466A
KR20200143044A
