CMake Warning at CMakeLists.txt:33 (find_package): Could not find a configuration file for package "OpenCV" that is compatible with requested version "4.4".
The following configuration files were considered but not accepted:
root@autodl-container-e39d46b8d3-01da7b14:~/autodl-tmp/GCNv2_SLAM/datasets/TUM# pip2 install numpy DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Looking in indexes: http://mirrors.aliyun.com/pypi/simple Collecting numpy Downloading http://mirrors.aliyun.com/pypi/packages/3a/5f/47e578b3ae79e2624e205445ab77a1848acdaa2929a00eeef6b16eaaeb20/numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB) |████████████████████████████████| 17.0 MB 21.1 MB/s Installing collected packages: numpy Successfully installed numpy-1.16.6
ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions. See LICENSE.txt.
Input sensor was set to: RGB-D Loading settings from ./Examples/RGB-D/TUM1.yaml -Loaded camera 1 Camera.newHeight optional parameter does not exist... Camera.newWidth optional parameter does not exist... -Loaded image info -Loaded RGB-D calibration -Loaded ORB settings Viewer.imageViewScale optional parameter does not exist... -Loaded viewer settings System.LoadAtlasFromFile optional parameter does not exist... System.SaveAtlasToFile optional parameter does not exist... -Loaded Atlas settings System.thFarPoints optional parameter does not exist... -Loaded misc parameters ---------------------------------- SLAM settings: -Camera 1 parameters (Pinhole): [ 517.306 516.469 318.643 255.314 ] -Camera 1 distortion parameters: [ 0.262383 -0.953104 -0.005358 0.002628 1.16331 ] -Original image size: [ 640 , 480 ] -Current image size: [ 640 , 480 ] -Sequence FPS: 30 -RGB-D depth map factor: 5000 -Features per image: 1000 -ORB scale factor: 1.2 -ORB number of scales: 8 -Initial FAST threshold: 20 -Min FAST threshold: 7
Loading ORB Vocabulary. This could take a while... Vocabulary loaded!
Initialization of Atlas from scratch Creation of new map with id: 0 Creation of new map with last KF id: 0 Seq. Name: There are 1 cameras in the atlas Camera 0 is pinhole
------- Start processing sequence ... Images in the sequence: 573
First KF:0; Map init KF:0 New Map created with 937 points Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.Starting the Viewer Shutdown -------
median tracking time: 0.0371458 mean tracking time: 0.0415715
Saving camera trajectory to CameraTrajectory.txt ...
Saving keyframe trajectory to KeyFrameTrajectory.txt ...
4.4. 本地虚拟机运行
4.4.1. 解决段错误
本地虚拟机初次运行的时候遇到了段错误(有图像输出,主要是Shutdown的时候段错误)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
------- Start processing sequence ... Images in the sequence: 573
First KF:0; Map init KF:0 New Map created with 939 points Starting the Viewer Shutdown -------
median tracking time: 0.0136386 mean tracking time: 0.0140401
Saving camera trajectory to CameraTrajectory.txt ...
Saving keyframe trajectory to KeyFrameTrajectory.txt ... Segmentation fault (core dumped)
ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions. See LICENSE.txt.
Input sensor was set to: RGB-D Loading settings from ./Examples/RGB-D/TUM1.yaml -Loaded camera 1 Camera.newHeight optional parameter does not exist... Camera.newWidth optional parameter does not exist... -Loaded image info -Loaded RGB-D calibration -Loaded ORB settings Viewer.imageViewScale optional parameter does not exist... -Loaded viewer settings System.LoadAtlasFromFile optional parameter does not exist... System.SaveAtlasToFile optional parameter does not exist... -Loaded Atlas settings System.thFarPoints optional parameter does not exist... -Loaded misc parameters ---------------------------------- SLAM settings: -Camera 1 parameters (Pinhole): [ 517.306 516.469 318.643 255.314 ] -Camera 1 distortion parameters: [ 0.262383 -0.953104 -0.005358 0.002628 1.16331 ] -Original image size: [ 640 , 480 ] -Current image size: [ 640 , 480 ] -Sequence FPS: 30 -RGB-D depth map factor: 5000 -Features per image: 1000 -ORB scale factor: 1.2 -ORB number of scales: 8 -Initial FAST threshold: 20 -Min FAST threshold: 7
Loading ORB Vocabulary. This could take a while... Vocabulary loaded!
Initialization of Atlas from scratch Creation of new map with id: 0 Creation of new map with last KF id: 0 Seq. Name: There are 1 cameras in the atlas Camera 0 is pinhole
------- Start processing sequence ... Images in the sequence: 573
First KF:0; Map init KF:0 New Map created with 939 points Starting the Viewer Shutdown -------
median tracking time: 0.0124658 mean tracking time: 0.0127179
Saving camera trajectory to CameraTrajectory.txt ...
Saving keyframe trajectory to KeyFrameTrajectory.txt ... root@ubuntu-linux-22-04-02-desktop:/work/ORB_SLAM3#