robotseu/ORB_Line_SLAM

字典读入

Opened this issue · 10 comments

你好,我解决读入问题了,但是一直碰到这个
Start processing sequence ...
Images in the sequence: 4541

terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.6) /home/wq/opencv/modules/imgproc/src/lsd.cpp:139: error: (-213:The function/feature is not implemented) Implementation has been removed due original code license issues in function 'LineSegmentDetectorImpl'
作者有什么好的解决办法么

你好,我解决读入问题了,但是一直碰到这个
Start processing sequence ...
Images in the sequence: 4541

terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.6) /home/wq/opencv/modules/imgproc/src/lsd.cpp:139: error: (-213:The function/feature is not implemented) Implementation has been removed due original code license issues in function 'LineSegmentDetectorImpl'
作者有什么好的解决办法么

请问怎么读入txt字典?可以叫我一下吗?

从网上找个字典就可以,我忘记是怎么类型了。可能是bin记不太清。

谢谢,我尝试了几次没有运行成功,您指的是使用ORBvoc.bin么,作者的vocabulary提供了LSDvoc.txt和FLDvoc.txt,不知道有何作用。
可以贴一下运行的指令吗,请问Examples生成的文件里哪些Stereo模式是可以执行的?

我好像回复错了,命令跟orb一样就可以,主要是改yaml文件。
谢谢指导,可以运行了!

我好像回复错了,命令跟orb一样就可以,主要是改yaml文件。
谢谢指导,可以运行了!

你好,请问你有没有遇到

[Debug] Calling TrackReferenceKeyFrameWithLine(), mCurrentFrame.mnId:1
[Debug] In TrackReferenceKeyFrameWithLine(), After optimization, nmatchesMap_p:180, nmatchesMap_l:62
段错误 (核心已转储)
这样的问题 0.0~

有运行成功了吗

可以运行。opencv使用4.0,4.1版本,版本不能太高;
其他按代码指令来就行

我好像回复错了,命令跟orb一样就可以,主要是改yaml文件。
谢谢指导,可以运行了!

您好,字典怎么读取啊,一直显示读取格式有错误.

我好像回复错了,命令跟orb一样就可以,主要是改yaml文件。
谢谢指导,可以运行了!

您好,字典怎么读取啊,一直显示读取格式有错误.

以EuRoC為例,在Examples/PL路徑下有個PL_EuRoC.yaml,
其中212、213行定義的vocabulary路徑是原作者的:
vocabulary_p : "/home/lab404/workspace/ORB_Line_SLAM/Vocabulary/ORBvoc.txt"
vocabulary_l : "/home/lab404/workspace/ORB_Line_SLAM/Vocabulary/LSDvoc.txt"
把上面兩行改成你自己的路徑就沒問題了。