Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: (-215:Assertion failed) m.dims >= 2 in function 'Mat' #2

Open
yafengg opened this issue Mar 11, 2023 · 0 comments
Open

error: (-215:Assertion failed) m.dims >= 2 in function 'Mat' #2

yafengg opened this issue Mar 11, 2023 · 0 comments

Comments

@yafengg
Copy link

yafengg commented Mar 11, 2023

Hello, I got an error while running the code. I don't know why. Can you help me? thank you. The error is as follows:

./auto10.sh
maskThr: 0.6
frameskip: 10
refFrameDist: 3
usingColorImage: 1
/home/gyf/SLAM/DataSet/KITTI/mydataset-kitti00/mav0/cam-para.yaml
/home/gyf/SLAM/PaperCode/1/kenki-positioning-vSLAM-master/Vocabulary/ORBvoc.bin

ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, 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: Stereo

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded in 0.32s

Camera Parameters:

  • fx: 718.856
  • fy: 718.856
  • cx: 607.193
  • cy: 185.216
  • k1: 0
  • k2: 0
  • p1: 0
  • p2: 0
  • fps: 10
  • color order: RGB (ignored if grayscale)

ORB Extractor Parameters:

  • Number of Features: 1200
  • Scale Levels: 8
  • Scale Factor: 1.2
  • Initial Fast Threshold: 20
  • Minimum Fast Threshold: 7

Depth Threshold (Close/Far Points): 18.6316


Start processing sequence ...
Images in the sequence: 4541

0
MAR:0.060225
New map created with 475 points
1stTrack: 0.235552 seconds !!!
yunxingdaozhe
yunxingdaozhe
10
MAR:0.022310
Motion-only BA: 0.000481991 seconds !!!
1stTrack: 0.0513798 seconds !!!
yunxingdaozhe
yunxingdaozhe
20
MAR:0.054625
Motion-only BA: 0.000175145 seconds !!!
Track lost soon after initialisation, reseting...
1stTrack: 0.0322095 seconds !!!
yunxingdaozhe
yunxingdaozhe
30
MAR:0.063163
1stTrack: 0.0323984 seconds !!!
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.4) /home/gyf/opencv-3.4.4/modules/core/src/matrix.cpp:406: error: (-215:Assertion failed) m.dims >= 2 in function 'Mat'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant