Speculation apparatus, speculation method, and storage medium

By performing translation while rotating a monocular camera in place and combining it with SLAM technology, the problem of insufficient motion inference accuracy of monocular SLAM in autonomous mobile robots is solved, achieving higher motion inference accuracy and cost-effectiveness.

CN117470198BActive Publication Date: 2026-11-20KK TOSHIBA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310257478.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-07-28
Filing Date
2023-03-09
Publication Date
2026-11-20
Estimated Expiration
2043-03-09

AI Technical Summary

Technical Problem

In existing technologies, monocular SLAM is difficult to improve the motion prediction accuracy of autonomous mobile robots such as drones, especially when rotating in place, it cannot distinguish between rotation and translation, resulting in deterioration or failure of motion prediction accuracy.

Method used

The monocular camera is translated while rotating in place using a speculative device. The rotation is detected by optical flow, and the translation amount is adjusted according to the distance to the subject. Combined with SLAM technology, the camera position and the three-dimensional points of the subject are inferred.

Benefits of technology

It improves the motion prediction accuracy of autonomous mobile robots such as drones, prevents motion prediction accuracy degradation and failure, reduces reliance on inertial measurement units, and lowers costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117470198B_ABST
    Figure CN117470198B_ABST
Patent Text Reader

Abstract

The present application relates to a speculation device, a speculation method, and a storage medium. The motion of a moving body such as an autonomous mobile robot of a drone is speculated with high accuracy by monocular SLAM. The speculation device of an embodiment includes a speculation unit, a control unit, and a SLAM unit. The speculation unit speculates whether the motion of a moving body is a rotation in place based on a plurality of first monocular images acquired by a monocular camera mounted on the moving body. In the case where the motion of the moving body is a rotation in place, the control unit determines a translation amount for translating the monocular camera. The SLAM unit speculates at least one of a position and a posture of the monocular camera and a three-dimensional point of a subject of the monocular camera by monocular SLAM (Simultaneous Localization and Mapping) based on the plurality of first monocular images and a second monocular image acquired by the monocular camera translated based on the translation amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to a prediction device, a prediction method, and a storage medium. Background Technology

[0002] Previously known techniques were related to motion estimation for mobile bodies such as autonomous mobile robots, including drones. For example, motion estimation is one of the important topics in autonomous mobile robots. When using a monocular camera for motion estimation, monocular SLAM (Monocular Simultaneous Localization and Mapping) technology, which simultaneously estimates the robot's own position (position and orientation) and 3D points, is commonly used. Summary of the Invention

[0003] However, in previous technologies, it has been difficult to improve the motion prediction accuracy of mobile bodies such as drones and autonomous mobile robots that are achieved through monocular SLAM.

[0004] The inference device in this embodiment includes an inference unit, a control unit, and a SLAM unit. The inference unit infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body. If the motion of the moving body is a rotation in place, the control unit determines the amount of translation to move the monocular camera. The SLAM unit infers at least one of the position and orientation of the monocular camera, as well as the three-dimensional points of the subject of the monocular camera, using monocular SLAM (Monocular Simultaneous Localization and Mapping) based on the multiple first monocular images and a second monocular image acquired by the monocular camera after translation based on the amount of translation.

[0005] Based on the aforementioned prediction device, the motion prediction accuracy of mobile bodies such as drones and autonomous mobile robots achieved through monocular SLAM can be improved. Attached Figure Description

[0006] Figure 1 This is an overhead view showing the autonomous mobile robot of the first embodiment and its movement example to the destination.

[0007] Figure 2 This is a diagram used to illustrate an example of speculative processing of 3D points based on monocular SLAM.

[0008] Figure 3 This is a diagram used to illustrate an example of optical flow.

[0009] Figure 4AThis is a diagram illustrating Example 1, where optical flow cannot distinguish between in-situ rotation and translation.

[0010] Figure 4B This is a diagram illustrating Example 2, which shows that optical flow cannot distinguish between in-situ rotation and translation.

[0011] Figure 5A This is a diagram of Example 1, illustrating the scenario where three-dimensional points can be inferred.

[0012] Figure 5B This is a diagram of Example 1, illustrating a case where the prediction of a 3D point fails.

[0013] Figure 6A This is a diagram of Example 2, illustrating the scenario where three-dimensional points can be inferred.

[0014] Figure 6B This is the diagram for Example 2, which illustrates a case where the prediction of a 3D point fails.

[0015] Figure 7 This is an overhead view illustrating an example of a situation requiring rotation in place.

[0016] Figure 8 This is a diagram used to illustrate an example of a method for inferring the translation of a three-dimensional point based on a finite depth.

[0017] Figure 9 This is a diagram illustrating an example of the functional structure of the speculative device according to the first embodiment.

[0018] Figure 10A This is a diagram illustrating an example of optical flow when a monocular camera is horizontally translated by 40cm.

[0019] Figure 10B This is a diagram illustrating an example of the depth of a 3D point when a monocular camera is horizontally translated by 40cm.

[0020] Figure 11A This is a diagram illustrating an example of optical flow when a monocular camera is rotated in place by only 1.5 degrees of yaw.

[0021] Figure 11B This is a diagram illustrating an example of the depth of a 3D point when a monocular camera is rotated in place by only 1.5 degrees yaw.

[0022] Figure 12 This is a flowchart illustrating an example of the speculative method of the first embodiment.

[0023] Figure 13 This is a diagram illustrating an example of the functional structure of the speculative device in the second embodiment.

[0024] Figure 14 This is a diagram showing an example of the moving part in the second embodiment.

[0025] Figure 15 This is a diagram illustrating an example of the hardware structure of the speculative device according to the first and second embodiments.

[0026] Explanation of reference numerals in the attached figures

[0027] 1. Monocular camera; 2. SLAM unit; 3. Inference unit; 4. Control unit; 5. Motion unit; 10. Inference device; 100. Autonomous mobile robot; 201. Processor; 202. Main storage device; 203. Auxiliary storage device; 204. Display device; 205. Input device; 206. Communication device; 210. Bus. Detailed Implementation

[0028] The following detailed description of the implementation of the inference device, inference method, and procedure is provided with reference to the accompanying drawings.

[0029] (First Embodiment)

[0030] In the first embodiment, an inference device mounted on an autonomous mobile robot (an example of a mobile body) will be described as an example.

[0031] • The autonomous mobile robot is given a destination and moves toward that destination.

[0032] • When moving, the autonomous mobile robot changes its path based on the condition of the obstacles.

[0033] Drones can be cited as an example of autonomous mobile robots. Figure 1 The image shows an example of a drone being given a destination and moving towards that destination.

[0034] Figure 1 This is a top-down view showing the autonomous mobile robot 100 of the first embodiment and its movement example to the destination. Figure 1 In the example shown, the autonomous mobile robot 100 is a drone equipped with a monocular camera 1. Figure 1 The example illustrates a situation where the path to the provided destination is a narrow space surrounded by walls on both sides.

[0035] In the first embodiment, motion inference using monocular SLAM will be described. Monocular SLAM is a technique that infers the position of a single object (e.g., the corner point of a subject in three-dimensional space) in an image and the position of its own three-dimensional points and the surrounding environment. As an example, in... Figure 2 The image shows the case where two frames are used in motion speculation.

[0036] Figure 2This is a diagram used to illustrate an example of speculative processing of 104 three-dimensional points based on monocular SLAM. Figure 2 In this embodiment, corner detection, such as Shi-Tomasi's method, is used to detect the corners of the subject 102 from the images of the past frame 101a and the current frame 101b. It should be noted that the subject 102 can be arbitrary. In this embodiment, the position on the image that serves as a feature such as the corner of the subject 102 is referred to as feature point 103.

[0037] After detecting feature point 103, similar feature point pairs are found between feature point 103 in the past frame 101a and feature point 103 in the current frame 101b. These feature point pairs are in correspondence. In monocular SLAM, 3D point 104 is inferred based on the correspondence of feature point pairs. Furthermore, the inference of the monocular camera 1's own position 105 is based on the inferred 3D point 104 (details are described later). Figure 8 ).

[0038] Monocular SLAM presents problems when only rotational motion is performed (referred to as "purerotation" in this embodiment). First, optical flow will be explained.

[0039] Figure 3 This is a diagram used to illustrate an example of optical flow 106. Optical flow 106 is a vector representing the motion of corresponding feature points 103 in each frame 101. Optical flow 106 is used to infer the position 105 of the monocular camera 1.

[0040] Figure 4A This is a diagram illustrating Example 1, which shows that it is impossible to distinguish between in-situ rotation and translation based on optical flow 106. Figure 4B This is a diagram illustrating Example 2, where it is impossible to distinguish between in-situ rotation and translation based on optical flow 106. First, the problem at the beginning of motion prediction (the stage where the three-dimensional point 104 is not predicted and the position 105 of the monocular camera 1 is unknown) will be explained.

[0041] As a common method, motion inference at the start of motion inference is performed using a 5-point algorithm, etc. In the 5-point algorithm, the motion (i.e., its own position) of the monocular camera 1 at the start of motion inference is inferred based on the input of 5 optical flows 106.

[0042] However, as Figure 4A and Figure 4B As shown, rotation and translation cannot always be distinguished using only optical flow 106. Figure 4A and Figure 4B This is an example of motion inference when the optical flow 106 has approximately the same orientation and approximately the same length.

[0043] exist Figure 4A The example shows the cases of in-situ rotation (right rotation) when it is impossible to distinguish the different distances between each three-dimensional point 104 of the subject 102 and the monocular camera 1, and translation (right movement) when the distances between each three-dimensional point 104 of the subject 102 and the monocular camera 1 are approximately the same.

[0044] exist Figure 4B In the example, the case of in-situ rotation (right rotation) when the distance between each three-dimensional point 104 of the subject 102 and the monocular camera 1 is the same, and the case of translation (right movement) when the distance between each three-dimensional point 104 of the subject 102 and the monocular camera 1 is approximately the same are shown.

[0045] like Figure 4A and Figure 4B As shown, it is impossible to distinguish between the case of stationary rotation and the case where the distance between the subject 102 and the monocular camera 1 is approximately constant and the subject is translating. In motion estimation using the optical flow 106, if estimation is based on the aforementioned undifferentiated optical flow 106, there is a possibility of misinterpreting both rotation and translation. Therefore, at the start of motion estimation, when the autonomous mobile robot 100 equipped with the monocular camera 1 is rotating in place, the accuracy of motion estimation deteriorates.

[0046] Next, we will explain the problem when motion prediction continues (the stage where the predicted 3D point 104 is known, and the position 105 of the monocular camera 1 in the past frame 101a is also known).

[0047] Figure 5A This is a diagram representing Example 1, showing the case where the three-dimensional point 104 can be inferred. Figure 5B This is a diagram of Example 1, illustrating the case where the prediction of point 104 in three dimensions fails. Figure 5A and 5B The position of the optical axis in the image is the position of the actual optical axis of the monocular camera 1.

[0048] As motion speculation continues, the case where the monocular camera 1 moves to obtain a sufficient baseline ( Figure 5A Compared to when the monocular camera 1 rotates in place, such as Figure 5B As shown, the baseline becomes smaller. If the 3D position of point 104 is predicted under conditions of a smaller baseline, it may sometimes result in... Figure 5B That would lead to an incorrect deduction of depth (infinity).

[0049] Figure 6A This is a diagram representing Example 2, showing the case where the three-dimensional point 104 can be inferred. Figure 6B This is a diagram of Example 2, illustrating the case where the prediction of point 104 in three dimensions fails. Figure 6A and Figure 6BThe position of the optical axis in the image is the actual position of the optical axis of the monocular camera 1. After rotating in place, sometimes it is not within a limited depth (such as...). Figure 5A As shown, the 3D position of a 3D point is inferred under the condition of a large baseline. The inferred 3D point is 104. In the inferred motion, especially in translation, such as... Figure 6A Therefore, a three-dimensional point 104 needs to be inferred at a finite depth. Thus, in the absence of such a three-dimensional point 104 inferred at a finite depth ( Figure 6B Therefore, it is impossible to deduce the correct translational motion.

[0050] Figure 7 This is an overhead view illustrating an example of a situation requiring rotation in place. Figure 7 In the example shown, an autonomous mobile robot 100 equipped with a monocular camera 1, after translating to a wall in front of it, continues to rotate in place until it rotates 90 degrees to the right at a corner. Thus, the autonomous mobile robot 100 sometimes rotates in place depending on the obstacle's position. Due to the aforementioned problem, motion prediction by the autonomous mobile robot 100 fails after rotating in place.

[0051] For example, in prior art such as Japanese Patent Publication No. 2016-526313, when motion prediction continues, if the subject rotates continuously in place (e.g., continuously by 180 degrees), most of the three-dimensional points 104 of the subject 102 become three-dimensional points 104 at infinity, making it impossible to predict the correct translational motion.

[0052] Here, an example of a prediction method based on the translation of a three-dimensional point 104 inferred at a finite depth is explained.

[0053] Figure 8 This diagram illustrates an example of a method for inferring the translation of a three-dimensional point 104 estimated at a finite depth. In the case where a three-dimensional point 104 is obtained at a finite depth, for example, as... Figure 8 As shown, monocular SLAM is used to infer the position 105 of the monocular camera 1 in real time. First, based on the correspondence of feature point pairs 103, a 3D point 104 is inferred at a finite depth (S1: establishing correspondence). Then, the 3D point 104 inferred at the finite depth is projected onto point 107 in the current camera image (S2: projection). Finally, the position and pose (rotation) of the monocular camera 1 are optimized to minimize the difference between the position represented by the projected point 107 and the position in the image corresponding to the feature point pairs 103 (S3: optimization).

[0054] Here, 3D points 104 with finite depth are used as input for motion estimation optimized for translation and rotation, while 3D points 104 with infinite depth are used as input for motion estimation optimized only for rotation. When several 3D points 104 are estimated at the finite depth, translation estimation can be performed, for example, by using only the 3D points 104 estimated at the finite depth. Generally, the more 3D points 104 input, the better the accuracy of motion estimation. Therefore, the more 3D points 104 estimated at the finite depth, the greater the expected improvement in translation estimation accuracy. Conversely, the fewer 3D points 104 estimated at the finite depth used in motion estimation, the worse the translation estimation accuracy; without 3D points 104 estimated at the finite depth, translation estimation is impossible.

[0055] As described above, the following issues exist when motion prediction of the autonomous mobile robot 100 begins and continues.

[0056] <At the start of motion prediction>

[0057] At the start of motion prediction, there exists a case where the optical flows 106 are approximately the same in orientation and approximately the same in length. In this case, as described above... Figure 4A and Figure 4B As shown, since rotation and translation cannot be distinguished, the accuracy of motion prediction deteriorates at the beginning of motion prediction.

[0058] <When motion prediction continues>

[0059] Even if motion prediction continues, in the case of continued rotation in place (e.g., continuing by 180 degrees), most of the three-dimensional points 104 of the subject 102 become three-dimensional points 104 at infinity. Therefore, if rotation in place continues, the accuracy of translation prediction deteriorates.

[0060] Hereinafter, an embodiment of a prediction device that can improve the prediction accuracy of the movement of the autonomous mobile robot 100 even under the circumstances described above will be described.

[0061] To address the aforementioned issues, the inference device 10 of the first embodiment translates the autonomous mobile robot 100 (monocular camera 1) in a manner that provides a sufficient baseline when the motion of the monocular camera 1 is a rotation in place, thereby avoiding deterioration of motion inference accuracy or failure of motion inference.

[0062] Here, the definitions of prediction accuracy degradation and failure in the description of the first embodiment are as follows. Furthermore, specific examples of motion prediction accuracy degradation and failure are shown below.

[0063] "Deterioration in prediction accuracy" means that the difference between the prediction result and the true value is large (greater than a predetermined threshold). "Prediction failure" means that prediction cannot be performed because there is no data used for motion prediction performed by the prediction device 10.

[0064] Specific examples of "deterioration in motion estimation accuracy"

[0065] • At the start of motion prediction, sometimes it is impossible to distinguish between rotation and translation using only optical flow 106, which degrades the accuracy of prediction for both rotation and translation.

[0066] If the rotation continues in place, the number of 3D points 104 predicted at a finite depth will decrease in the input 3D points 104 during optimization, thus degrading the accuracy of the translation prediction.

[0067] Specific examples of "failed motion prediction"

[0068] • During motion estimation, without the input of the estimated 3D point 104 (the 3D point 104 with finite depth and the 3D point 104 with infinite distance cannot be used as input for motion estimation), the estimation of rotation and translation cannot be performed.

[0069] • In motion estimation, translation estimation is not possible without the input of a 3D point 104 estimated at a finite depth.

[0070] The features of the inference device 10 in the first embodiment are as follows.

[0071] • While rotating in place, the autonomous mobile robot 100 (monocular camera 1) is translated.

[0072] • The amount of translation (baseline) of the autonomous mobile robot 100 (monocular camera 1) is changed according to the distance to the subject 102. The farther the distance to the subject 102, the smaller the visual change (parallax). Monocular SLAM obtains information about the distance between the subject 102 and the monocular camera 1 based on the visual change; therefore, the smaller the visual change, the worse the accuracy of motion inference.

[0073] • Rotation in place is detected based on optical flow 106. Specifically, the following criteria are used for judgment: If there is a deviation in the length of optical flow 106, it is judged as translation. If there is no deviation in the length of optical flow 106, it is judged as rotation in place.

[0074] Hereinafter, an example of the functional structure of the estimation device 10 of the first embodiment will be described in detail. The estimation device 10 of the first embodiment estimates the position 105 (position and attitude) of the autonomous mobile robot 100 and the three-dimensional points 104 of the subject 102 based on the monocular image input in real time from the monocular camera 1.

[0075] [Example of functional structure]

[0076] Figure 9 This diagram illustrates an example of the functional structure of the prediction device 10 according to the first embodiment. The prediction device 10 of the first embodiment is connected to the autonomous mobile robot 100. The prediction device 10 is mounted on the autonomous mobile robot 100. It should be noted that the prediction device 10 may also be configured as a server device including structures other than the monocular camera 1 (SLAM unit 2, prediction unit 3, and control unit 4), which is connected to the autonomous mobile robot 100 remotely via a wireless network or the like.

[0077] The inference device 10 of the first embodiment includes a monocular camera 1, a SLAM unit 2, an inference unit 3, and a control unit 4.

[0078] A monocular camera 1 is mounted on an autonomous mobile robot 100 to acquire monocular images in real time. The autonomous mobile robot 100 is, for example, a drone. The autonomous mobile robot 100 is a robot capable of moving to a provided destination. Furthermore, during movement, the autonomous mobile robot's path can be changed based on the obstacle conditions inferred by the SLAM unit 2.

[0079] The SLAM unit 2, based on the monocular image acquired by the monocular camera 1, uses SLAM technology to infer the position 105 of the monocular camera 1 (autonomous mobile robot 100) and the 3D points 104 of the subject 102. Examples of SLAM technologies include ORB-SLAM (URL: https: / / arxiv.org / abs / 1502.00956) and PTAM (Parallel Tracking and Mapping). PTAM is a monocular SLAM that infers the camera pose based on the correspondence of feature points.

[0080] The estimation unit 3 estimates whether the motion of the autonomous mobile robot 100 is rotation in place based on the optical flow 106 representing the motion of feature points of the subject 102. For example, if there is a deviation in the length of the optical flow (if the deviation is above a threshold), the estimation unit 3 estimates it to be translation. Alternatively, if there is no deviation in the length of the optical flow (if the deviation is less than a threshold), the estimation unit 3 estimates it to be rotation in place.

[0081] However, as mentioned above Figure 4A and Figure 4BAs shown, when the optical flow 106 has approximately the same orientation and approximately the same length, it is sometimes impossible to distinguish between translation and rotation. In such cases, the estimation unit 3 of the first embodiment can estimate rotation in place without any problem. This is because, when estimating rotation in place, by translating the autonomous mobile robot 100 (monocular camera 1), even if the monocular camera 1 is moved in a way that allows the baseline to be obtained, only a new three-dimensional point 104 is added. Therefore, in the estimation unit 3 of the first embodiment, rotation in place is estimated when there is no deviation in the length of the optical flow 106.

[0082] The control unit 4 causes the autonomous mobile robot 100, equipped with a monocular camera 1, to translate. For example, in Figure 1 In this example, the horizontal left and right directions are close to the wall, so the direction of translation is vertical up and down. The amount of translation is determined by control unit 4.

[0083] For example, the control unit 4 calculates the amount b (baseline) that causes the monocular camera 1 to translate using the following equations (1) and (2).

[0084] <At the start of motion prediction>

[0085] b = the upper limit of the area that can be moved...(1)

[0086] <When motion prediction continues>

[0087] b=F(d)…(2)

[0088] Where F(d) exceeds the movable area, b is set as the upper limit of the movable area.

[0089] Here, d is the distance between the monocular camera 1 and the subject 102, and F is a function that determines the amount by which the monocular camera 1 is translated.

[0090] That is, when the motion prediction begins, the control unit 4 determines the upper limit of the movable area of ​​the monocular camera 1, and as the motion prediction continues, it determines the translation amount b within the range below the upper limit based on the distance to the subject 102.

[0091] When the monocular camera 1 is translated, the control unit 4 translates the monocular camera 1 by translating the autonomous mobile robot 100 in a predetermined direction. At the start of motion prediction, the control unit 4 determines the predetermined direction as the direction greater than the upper limit of the monocular camera 1's movable area. For example, in... Figure 1 In the example, the movable area is from the ground to the ceiling.

[0092] For example, if the autonomous mobile robot 100 or the inference device 10 is equipped with an ultrasonic sensor, the distance d can also be a statistical measure (e.g., average, median) of the depth of the three-dimensional point 104 obtained by the ultrasonic sensor. Alternatively, the distance d can also be a statistical measure of the depth of a specific object of interest, such as a pedestrian or an oncoming vehicle. The detection of the object of interest can be achieved by the inference unit 3 using a neural network obtained through machine learning methods such as CNN (Convolutional Neural Network).

[0093] Since the greater the distance d, the smaller the visual change, the accuracy of motion estimation will be low unless the autonomous mobile robot 100 equipped with the monocular camera 1 is significantly translated. Therefore, the greater the distance d, the greater the translation of the autonomous mobile robot 100 equipped with the monocular camera 1. In other words, F is set as a function where b = F(d) increases as the distance d increases.

[0094] Here, we show the reason why the greater the distance d, the smaller the visual change will be if the autonomous mobile robot 100 equipped with the monocular camera 1 does not need to be translated significantly. If we set the focal length (constant) of the monocular camera 1 as f and the visual change (parallax) as s, then d, b, s, and f have the following relationship.

[0095] d=b×(f / s)…(3)

[0096] After transforming equation (4), we obtain the following equation (4).

[0097] s=f×(b / d)…(4)

[0098] Therefore, according to equation (4), if the autonomous mobile robot 100 equipped with monocular camera 1 is not translated in such a way that the translation amount (baseline) b is larger as the distance d is larger, then the parallax s, i.e. the change in vision, will be smaller.

[0099] Next, an example of the simulation results of the optical flow 106 generated when the autonomous mobile robot 100 (monocular camera 1) performs translational motion and an example of the simulation results of the optical flow 106 generated when it performs stationary rotational motion are shown.

[0100] Figure 10A This is a diagram illustrating an example of the optical flow 106 when a monocular camera 1 is horizontally translated by 40cm. Figure 10B This is a diagram illustrating an example of the depth of a 3D point 104 when a monocular camera 1 is horizontally translated by 40cm.

[0101] Figure 11A This is a diagram illustrating an example of the optical flow 106 when a monocular camera 1 is rotated in place by only a yaw angle of 1.5 degrees. Figure 11BThis is a diagram illustrating an example of the depth of a three-dimensional point 104 when a monocular camera 1 is rotated in place by only a yaw angle of 1.5 degrees.

[0102] Figure 10A and Figure 11A The number of valid flows is the number of samples of optical flow 106. Flow length is a statistical measure of the length of optical flow 106 (maximum, minimum, and average values). Figure 11A The difference between the maximum, minimum, and average values ​​of the midstream length is less than Figure 10A The difference between the maximum, minimum, and average values ​​of the midstream length.

[0103] The difference between the minimum, maximum, and average values ​​indicates a deviation in the optical flow 106. Here, deviation refers to the difference in the length of the optical flow 106 vector within the image at different depths (near and deep). For example, the estimation unit 3 calculates the variance of the flow length of the optical flow 106, and uses the variance and a threshold value preset to an appropriate value based on the motion environment of the autonomous mobile robot 100 to determine the magnitude of the deviation.

[0104] Specifically, for example, if the variance of the flow length is above a threshold, the estimation unit 3 determines that the deviation is large (estimates translation). Conversely, if the variance of the flow length is less than the threshold, the estimation unit 3 determines that the deviation is small (estimates rotation in place).

[0105] It should be noted that the inference device 10 may also include multiple monocular cameras 1. For example, in the case of multiple monocular cameras 1 with different performance, monocular images captured by any monocular camera 1 can be used for inference processing.

[0106] [Examples of speculative methods]

[0107] Figure 12 This is a flowchart illustrating an example of the speculative method of the first embodiment. Figure 12 The example represents a flowchart illustrating the scenario where the motion of the autonomous mobile robot 100 is assumed to be rotating in place.

[0108] First, the estimation unit 3 infers that the motion of the autonomous mobile robot 100 is a rotation in place based on multiple first monocular images acquired by the monocular camera 1 mounted on the autonomous mobile robot 100 (an example of a mobile body) (step S11).

[0109] Next, if the autonomous mobile robot 100 is presumed to be rotating in place based on the processing in step S11, the control unit 4 determines the amount of translation of the monocular camera 1 (step S12).

[0110] Next, the SLAM unit 2 infers the position and orientation of the monocular camera 1 and the three-dimensional points 104 of the subject 102 of the monocular camera 1 through monocular SLAM based on multiple first monocular images and second monocular images acquired by the monocular camera 1 after translation based on the translation amount determined by the processing in step S12 (step S13).

[0111] It should be noted that in step S13, the prediction of the position and orientation of the monocular camera 1 can be the prediction of at least one of the position and orientation of the monocular camera 1. For example, it is also possible to use only the prediction result of the position of the monocular camera 1.

[0112] Therefore, according to the inference device 10 of the first embodiment, the motion inference accuracy of the autonomous mobile robot 100 (an example of a mobile body) based on monocular SLAM can be improved. Specifically, in the inference device 10 of the first embodiment, the following effects (1) to (3) are obtained, for example.

[0113] (1) The effect obtained by translating the monocular camera 1 when rotating in place.

[0114] Even with in-situ rotation at the start of motion estimation, a sufficient baseline can be obtained, thus enabling the acquisition of 3D points 104 with finite depth. This prevents degradation of motion estimation accuracy or failure of motion estimation.

[0115] Even when rotating in place (e.g., continuing by 180 degrees), sufficient baselines can be obtained, thus enabling the acquisition of three-dimensional points 104 with limited depth. This prevents degradation of motion estimation accuracy or failure of motion estimation.

[0116] (2) The effect obtained by changing the amount of translation according to the distance from the subject 102

[0117] • If the amount of translation of the monocular camera 1 is small relative to the distance from the subject 102, the accuracy of motion estimation and the accuracy of 3D point estimation may sometimes deteriorate. The estimation device 10 of the first embodiment can prevent the deterioration of motion estimation accuracy by increasing the amount of translation of the monocular camera 1 in such a way that the baseline is larger the farther away the subject 102 is (changing the amount of translation of the monocular camera 1 according to the distance from the subject 102).

[0118] Since it corresponds to the distant subject 102, the amount of translation of the monocular camera 1 can be reduced compared to the case where the monocular camera 1 is translated significantly without any conditions.

[0119] (3) The effect obtained by detecting the deviation of optical flow in place is as follows:

[0120] Since it does not use the history of motion speculation, it is possible to detect whether it is a rotation in place even at the beginning of motion speculation (there is no history of motion speculation at the beginning).

[0121] • It is possible to detect whether the device is rotating in place using only a monocular camera 1. Even in applications where an IMU (Inertial Measurement Unit) or similar device is required for detecting rotation in place, no other sensor besides the monocular camera 1 needs to be installed, thus reducing product costs.

[0122] In the case of an autonomous mobile robot 100 designed for long-term operation, such as a drone, a problem arises in the in-situ rotation detection method using an IMU. Specifically, the problem is that when inferring rotational and translational motion from the IMU, errors accumulate in the velocity estimation, significantly degrading the accuracy of the in-situ rotation estimation. This problem does not occur with the in-situ rotation detection method of the estimation device 10 in the first embodiment. Hereinafter, a specific example of the accumulation of errors in the acceleration band is described. Assume an initial velocity is given at a certain moment. Furthermore, to determine the velocity after that moment, the velocity is continuously integrated based on the acceleration. In this case, if the acceleration obtained from the IMU has errors, these errors accumulate in the velocity with each integration. Therefore, the amount of error in the velocity band increases over time.

[0123] (Second Implementation)

[0124] Next, the second embodiment will be described. In the description of the second embodiment, the same descriptions as in the first embodiment will be omitted, and the parts that are different from those in the first embodiment will be described.

[0125] [Example of functional structure]

[0126] Figure 13 This diagram illustrates an example of the functional structure of the prediction device 10-2 according to the second embodiment. The prediction device 10-2 of the second embodiment includes a monocular camera 1, a SLAM unit 2, a prediction unit 3, a control unit 4, and a movement unit 5. The difference from the structure of the first embodiment is the addition of the movement unit 5.

[0127] The moving unit 5 changes the position of the monocular camera 1 mounted on the autonomous mobile robot 100 by translating based on the translation amount b (baseline) determined by the control unit 4.

[0128] Figure 14 This diagram illustrates an example of the moving part 5 in the second embodiment. The autonomous mobile robot 100 of the second embodiment is, for example, an industrial robot and a car. For example... Figure 14In that way, the moving part 5 causes the monocular camera 1 to translate. Figure 14 In the example, the movable area of ​​the monocular camera 1 corresponds to the upper limit of the movable area in the first embodiment (Equation (1)). Figure 14 In this example, the direction in which the monocular camera 1 is translated is perpendicular to the optical axis of the camera. The translation amount b (baseline) is determined by the control unit 4.

[0129] As explained above, the estimation device 10-2 of the second embodiment also includes a moving part 5 that moves the position of the monocular camera 1 mounted on a mobile body such as an industrial robot or a car by translating based on the translation amount. When the monocular camera 1 is translated, the control part 4 controls the moving part 5 to translate the monocular camera 1.

[0130] Therefore, the same effect as the prediction device 10 of the first embodiment can be obtained by the prediction device 10 according to the second embodiment.

[0131] Finally, examples of the hardware structure of the prediction device 10 (10-2) in the first and second embodiments will be described. The prediction device 10 (10-2) in the first and second embodiments can be implemented, for example, by using any computer device as the basic hardware.

[0132] [Examples of hardware architecture]

[0133] Figure 15 This diagram illustrates examples of the hardware structure of the prediction device 10 (10-2) according to the first and second embodiments. The prediction device 10 (10-2) of the first and second embodiments includes a processor 201, a main storage device 202, an auxiliary storage device 203, a display device 204, an input device 205, and a communication device 206. The processor 201, main storage device 202, auxiliary storage device 203, display device 204, input device 205, and communication device 206 are connected via a bus 210.

[0134] It should be noted that the estimation device 10 (10-2) may not have the above-mentioned structures. For example, if the estimation device 10 (10-2) can utilize the input and display functions of an external device, the estimation device 10 (10-2) may not have the display device 204 and the input device 205.

[0135] The processor 201 executes programs read from the auxiliary storage device 203 into the main storage device 202. The main storage device 202 is a memory such as ROM and RAM. The auxiliary storage device 203 is an HDD (Hard Disk Drive) or a memory card, etc.

[0136] The display device 204 is, for example, a liquid crystal display (LCD). The input device 205 is an interface for operating the input device 10 (10-2). It should be noted that the display device 204 and the input device 205 can also be implemented using a touch panel or similar device that has both display and input functions. The communication device 206 is an interface for communicating with other devices.

[0137] For example, the program executed by the speculative device 10 (10-2) is recorded as an installable or executable file on a storage medium that can be read by a computer, such as a memory card, hard disk, CD-RW, CD-ROM, CD-R, DVD-RAM, and DVD-R, thereby being provided as a computer program product.

[0138] Alternatively, for example, the program executed by the speculative device 10 (10-2) can be stored on a computer connected to a network such as the Internet and provided by downloading it via the network.

[0139] Alternatively, for example, it can be configured to provide the service via a network such as the Internet without downloading the program executed by the speculation device 10 (10-2). Specifically, for example, it can be configured to perform speculation processing via a cloud service of the ASP (Application Service Provider) type.

[0140] Alternatively, for example, it can be configured to preload the program of the speculation device 10 (10-2) into ROM, etc.

[0141] The program executed by the speculative device 10 (10-2) is a modular structure that includes the functions described above and can also be implemented by the program. Each function, as actual hardware, is read from the storage medium and executed by the processor 201, thereby loading the aforementioned functional blocks onto the main storage device 202. That is, the aforementioned functional blocks are generated on the main storage device 202.

[0142] It should be noted that some or all of the above functions can also be implemented through hardware such as ICs (Integrated Circuits) instead of software.

[0143] Several embodiments of the present invention have been described, but these embodiments are given by way of example and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included in the scope and spirit of the invention, and are included within the scope of the invention as described in the claims and their equivalents.

[0144] It should be noted that the above-described implementation methods can be summarized into the following technical solutions.

[0145] Technical Solution 1

[0146] A speculative device comprising:

[0147] The inference unit infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body.

[0148] The control unit, when the movement of the moving body is a rotation in place, determines the amount of translation to move the monocular camera; and

[0149] The SLAM unit, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, infers at least one of the position and orientation of the monocular camera and the three-dimensional points of the subject of the monocular camera through monocular SLAM (Monocular Simultaneous Localization and Mapping).

[0150] Technical Solution 2

[0151] According to the inference device described in technical solution 1, wherein,

[0152] When the motion prediction begins, the control unit determines the upper limit of the movable area of ​​the monocular camera. As the motion prediction continues, the control unit determines the translation amount within a range below the upper limit based on the distance between itself and the subject.

[0153] Technical Solution 3

[0154] According to the inference device described in technical solution 2, wherein,

[0155] When the monocular camera is translated, the control unit translates the monocular camera by translating the moving body in a predetermined direction.

[0156] Technical Solution 4

[0157] According to the inference device described in technical solution 3, wherein...

[0158] When the motion prediction begins, the control unit determines the direction that is greater than the upper limit of the movable area of ​​the monocular camera as the predetermined direction.

[0159] Technical Solution 5

[0160] According to the inference device described in technical solution 2, wherein,

[0161] It also includes a moving part that, based on the translation amount, causes the position of the monocular camera mounted on the moving body to translate.

[0162] When the monocular camera is translated, the control unit translates the monocular camera by controlling the moving unit.

[0163] Technical Solution 6

[0164] The speculative device according to any one of technical solutions 1 to 5, wherein...

[0165] The inference unit infers whether the motion is a rotation in place based on the deviation of the length of the optical flow representing the motion of the feature points of the subject.

[0166] Technical Solution 7

[0167] According to the inference device described in technical solution 6, wherein...

[0168] The inference unit determines the deviation of the optical flow length by the variance value of the optical flow length, and if the variance value is less than a threshold, it infers that the motion is a rotation in place.

[0169] Technical Solution 8

[0170] According to the inference device described in technical solution 7, wherein,

[0171] If the variance value is above the threshold, the inference part infers that the motion is a translation.

[0172] Technical Solution 9

[0173] One inference method includes the following steps:

[0174] The inference device infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body.

[0175] When the motion of the moving body is a rotation in place, the estimation device determines the amount of translation that causes the monocular camera to translate; and

[0176] The inference device, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, infers at least one of the position and orientation of the monocular camera and the three-dimensional points of the subject of the monocular camera through monocular SLAM (Monocular Simultaneous Localization and Mapping).

[0177] Technical Solution 10

[0178] A storage medium storing programs for enabling a computer to function as a component:

[0179] The inference unit infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body.

[0180] The control unit, when the movement of the moving body is a rotation in place, determines the amount of translation to move the monocular camera; and

[0181] The SLAM unit, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, infers at least one of the position and orientation of the monocular camera and the three-dimensional points of the subject of the monocular camera through monocular SLAM (Monocular Simultaneous Localization and Mapping).

Claims

1. A speculative device, wherein, The speculative device has the following features: The inference unit infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body. The control unit determines the amount of translation to move the monocular camera when the movement of the moving body is a rotation in place; as well as The SLAM unit, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, uses monocular SLAM (monocular simultaneous localization and mapping) to infer at least one of the position and orientation of the monocular camera, as well as the 3D points of the subject captured by the monocular camera. The inference unit infers whether the motion is a rotation in place based on the deviation in the length of the optical flow representing the motion of feature points of the subject. The inference unit determines the deviation of the optical flow length by the variance value of the optical flow length, and if the variance value is less than a threshold, it infers that the motion is a rotation in place.

2. The speculative device according to claim 1, wherein, When the motion prediction begins, the control unit determines the upper limit of the movable area of ​​the monocular camera. As the motion prediction continues, the control unit determines the translation amount within a range below the upper limit based on the distance between itself and the subject.

3. The speculative device according to claim 2, wherein, When the monocular camera is translated, the control unit translates the monocular camera by translating the moving body in a predetermined direction.

4. The speculative device according to claim 3, wherein, When the motion prediction begins, the control unit determines the direction that is greater than the upper limit of the movable area of ​​the monocular camera as the predetermined direction.

5. The speculative apparatus according to claim 2, wherein, The inference device further includes a moving part that, based on the translation amount, translates the position of the monocular camera mounted on the moving body. When the monocular camera is translated, the control unit translates the monocular camera by controlling the moving unit.

6. The speculative apparatus according to claim 1, wherein, If the variance value is above the threshold, the inference part infers that the motion is a translation.

7. A method of speculation, wherein, The inference method includes the following steps: The inference device infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body. The inference device determines the amount of translation that causes the monocular camera to translate when the motion of the moving body is a rotation in place. as well as The inference device, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, infers at least one of the position and orientation of the monocular camera, as well as the three-dimensional points of the subject of the monocular camera, through monocular SLAM (monocular simultaneous localization and mapping). The inference device infers whether the motion is a rotation in place based on the deviation in the length of the optical flow representing the motion of feature points of the subject. The inference device determines the deviation of the optical flow length by the variance of the optical flow length, and if the variance is less than a threshold, it infers that the motion is a rotation in place.

8. A storage medium storing a program for enabling a computer to function as a component: The inference unit infers whether the motion of the moving body is a rotation in place based on multiple first monocular images acquired by a monocular camera mounted on the moving body. The control unit determines the amount of translation to move the monocular camera when the movement of the moving body is a rotation in place; as well as The SLAM unit, based on the plurality of first monocular images and a second monocular image acquired by the monocular camera which has been translated based on the translation amount, uses monocular SLAM (monocular simultaneous localization and mapping) to infer at least one of the position and orientation of the monocular camera, as well as the 3D points of the subject captured by the monocular camera. The inference unit infers whether the motion is a rotation in place based on the deviation in the length of the optical flow representing the motion of feature points of the subject. The inference unit determines the deviation of the optical flow length by the variance value of the optical flow length, and if the variance value is less than a threshold, it infers that the motion is a rotation in place.

Citation Information

Patent Citations

  • Monocular visual slam using global and panoramic camera movements

    JP2016526313A

  • Sensor-based camera motion detection for unconstrained slam

    US20150262029A1