# ORB_SLAM2-nanodet
**Authors:** shoushou0315
通过ncnn部署nanodet实现ORB-SLAM2物体识别及动态物体剔除,针对树莓派等低性能设备开发。
添加:Detecting类
修改:Frame、FrameDrawer类
### Related Publications:
ORB_SLAM2:https://github.com/raulmur/ORB_SLAM2
ncnn:https://github.com/Tencent/ncnn
nanodet:https://github.com/RangiLyu/nanodet
## ncnn
参考https://github.com/Tencent/ncnn 安装ncnn,未测试vulkan所以建议禁用,将ncnn安装到用户主目录即可。
## Pangolin
We use [Pangolin](https://github.com/stevenlovegrove/Pangolin) for visualization and user interface. Dowload and install instructions can be found at: https://github.com/stevenlovegrove/Pangolin.
**注意版本 0.5!**
## OpenCV
We use [OpenCV](http://opencv.org) to manipulate images and features. Dowload and install instructions can be found at: http://opencv.org.
**建议版本 3.2**.
## Eigen3
Required by g2o (see below). Download and install instructions can be found at: http://eigen.tuxfamily.org. **Required at least 3.1.0**.
## DBoW2 and g2o (Included in Thirdparty folder)
We use modified versions of the [DBoW2](https://github.com/dorian3d/DBoW2) library to perform place recognition and [g2o](https://github.com/RainerKuemmerle/g2o) library to perform non-linear optimizations. Both modified libraries (which are BSD) are included in the *Thirdparty* folder.
## ROS (optional)
We provide some examples to process the live input of a monocular, stereo or RGB-D camera using [ROS](ros.org). Building these examples is optional. In case you want to use ROS, a version Hydro or newer is needed.
# yaml添加参数
添加
```
powersave:0
thread:4
target_size:256
```
# Building ORB_SLAM2-nanodet library and examples
Clone the repository:
```
git clone https://github.com/shoushou0315/ORB_SLAM2-nanodet.git ORB_SLAM2-nanodet
```
Execute:
```
cd ORB_SLAM2-nanodet
chmod +x build.sh
./build.sh
```
with ROS:
1. Add the path including *Examples/ROS/ORB_SLAM2-nanodet* to the ROS_PACKAGE_PATH environment variable. Open .bashrc file and add at the end the following line. Replace PATH by the folder where you cloned ORB_SLAM2-nanodet:
```
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:PATH/ORB_SLAM2-nanodet/Examples/ROS
```
2. Execute `build_ros.sh` script:
```
chmod +x build_ros.sh
./build_ros.sh
```
### Running Monocular Node
For a monocular input from topic `/camera/image_raw` run node ORB_SLAM2/Mono. You will need to provide the vocabulary file and a settings file. See the monocular examples above.
```
rosrun ORB_SLAM2 Mono PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE
```
### Running Monocular Augmented Reality Demo
This is a demo of augmented reality where you can use an interface to insert virtual cubes in planar regions of the scene.
The node reads images from topic `/camera/image_raw`.
```
rosrun ORB_SLAM2 MonoAR PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE
```
### Running Stereo Node
For a stereo input from topic `/camera/left/image_raw` and `/camera/right/image_raw` run node ORB_SLAM2/Stereo. You will need to provide the vocabulary file and a settings file. If you **provide rectification matrices** (see Examples/Stereo/EuRoC.yaml example), the node will recitify the images online, **otherwise images must be pre-rectified**.
```
rosrun ORB_SLAM2 Stereo PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE ONLINE_RECTIFICATION
```
**Example**: Download a rosbag (e.g. V1_01_easy.bag) from the EuRoC dataset (http://projects.asl.ethz.ch/datasets/doku.php?id=kmavvisualinertialdatasets). Open 3 tabs on the terminal and run the following command at each tab:
```
roscore
```
```
rosrun ORB_SLAM2 Stereo Vocabulary/ORBvoc.txt Examples/Stereo/EuRoC.yaml true
```
```
rosbag play --pause V1_01_easy.bag /cam0/image_raw:=/camera/left/image_raw /cam1/image_raw:=/camera/right/image_raw
```
Once ORB-SLAM2 has loaded the vocabulary, press space in the rosbag tab. Enjoy!. Note: a powerful computer is required to run the most exigent sequences of this dataset.
### Running RGB_D Node
For an RGB-D input from topics `/camera/rgb/image_raw` and `/camera/depth_registered/image_raw`, run node ORB_SLAM2/RGBD. You will need to provide the vocabulary file and a settings file. See the RGB-D example above.
```
rosrun ORB_SLAM2 RGBD PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
嵌入式优质项目,资源经过严格测试可直接运行成功且功能正常的情况才上传,可轻松copy复刻,拿到资料包后可轻松复现出一样的项目。 本人单片机开发经验充足,深耕嵌入式领域,有任何使用问题欢迎随时与我联系,我会及时为你解惑,提供帮助。 【资源内容】:包含完整源码+工程文件+说明,项目具体内容可查看下方的资源详情。 【附带帮助】: 若还需要嵌入式物联网单片机相关领域开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步。 【本人专注嵌入式领域】: 有任何使用问题欢迎随时与我联系,我会及时解答,第一时间为你提供帮助,CSDN博客端可私信,为你解惑,欢迎交流。 【建议小白】: 在所有嵌入式开发中硬件部分若不会画PCB/电路,可选择根据引脚定义将其代替为面包板+杜邦线+外设模块的方式,只需轻松简单连线,下载源码烧录进去便可轻松复刻出一样的项目 【适合场景】: 相关项目设计中,皆可应用在项目开发、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面中 可借鉴此优质项目实现复刻,也可以基于此项目进行扩展来开发出更多功能
资源推荐
资源详情
资源评论
收起资源包目录
通过ncnn部署nanodet实现ORB-SLAM2物体识别及动态物体剔除,针对树莓派等低性能设备开发-毕设/课设/竞赛/实训 (232个子文件)
nanodet.bin 1.81MB
os_specific.c 2KB
ORBmatcher.cc 48KB
Tracking.cc 47KB
ORBextractor.cc 43KB
Optimizer.cc 40KB
PnPsolver.cc 28KB
Initializer.cc 26KB
LoopClosing.cc 25KB
LocalMapping.cc 23KB
Frame.cc 22KB
KeyFrame.cc 18KB
ViewerAR.cc 17KB
System.cc 15KB
Sim3Solver.cc 11KB
MapPoint.cc 11KB
KeyFrameDatabase.cc 10KB
MapDrawer.cc 7KB
stereo_euroc.cc 7KB
Viewer.cc 6KB
FrameDrawer.cc 6KB
Detecting.cc 6KB
ros_stereo.cc 5KB
rgbd_tum.cc 5KB
Nanodet.cc 5KB
stereo_kitti.cc 5KB
ros_mono_ar.cc 5KB
mono_kitti.cc 4KB
mono_euroc.cc 4KB
mono_tum.cc 4KB
Converter.cc 4KB
ros_rgbd.cc 3KB
Map.cc 3KB
ros_mono.cc 2KB
FindBLAS.cmake 13KB
FindLAPACK.cmake 10KB
FindEigen3.cmake 3KB
FindEigen3.cmake 3KB
optimizable_graph.cpp 27KB
sparse_optimizer.cpp 20KB
types_six_dof_expmap.cpp 10KB
estimate_propagator.cpp 10KB
hyper_dijkstra.cpp 9KB
hyper_graph_action.cpp 9KB
optimization_algorithm_dogleg.cpp 8KB
ScoringObject.cpp 8KB
marginal_covariance_cholesky.cpp 7KB
optimization_algorithm_levenberg.cpp 7KB
factory.cpp 6KB
types_seven_dof_expmap.cpp 6KB
cache.cpp 5KB
Timestamp.cpp 5KB
string_tools.cpp 5KB
robust_kernel_impl.cpp 5KB
optimization_algorithm_factory.cpp 5KB
parameter_container.cpp 4KB
FORB.cpp 4KB
hyper_graph.cpp 4KB
timeutil.cpp 4KB
matrix_structure.cpp 3KB
optimization_algorithm_with_hessian.cpp 3KB
optimization_algorithm_gauss_newton.cpp 3KB
property.cpp 3KB
robust_kernel_factory.cpp 3KB
jacobian_workspace.cpp 3KB
batch_stats.cpp 3KB
sparse_block_matrix_test.cpp 3KB
Random.cpp 3KB
BowVector.cpp 3KB
solver.cpp 3KB
optimization_algorithm.cpp 2KB
types_sba.cpp 2KB
FeatureVector.cpp 2KB
robust_kernel.cpp 2KB
parameter.cpp 2KB
ORBvoc.txt.tar.gz 40.56MB
TemplatedVocabulary.h 41KB
optimizable_graph.h 25KB
sparse_optimizer.h 12KB
sparse_block_matrix_ccs.h 11KB
sparse_block_matrix.h 9KB
linear_solver_eigen.h 9KB
se3quat.h 8KB
hyper_graph.h 8KB
hyper_graph_action.h 8KB
block_solver.h 7KB
Frame.h 7KB
sim3.h 7KB
KeyFrame.h 7KB
PnPsolver.h 6KB
estimate_propagator.h 6KB
System.h 6KB
Tracking.h 6KB
optimization_algorithm_factory.h 6KB
types_six_dof_expmap.h 6KB
factory.h 6KB
types_seven_dof_expmap.h 6KB
solver.h 5KB
property.h 5KB
cache.h 5KB
共 232 条
- 1
- 2
- 3
资源评论
- hui3174292024-04-18资源和描述一致,质量不错,解决了我的问题,感谢资源主。
阿齐Archie
- 粉丝: 1w+
- 资源: 2303
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- about edge deteetcionabout edge deteetcion
- 处理好的文本情感分类数据集、细粒度用户评论情感分析数据集 AI Challenger 2018、情感分类英文数据集
- UMP Pro Win Mac Linux WebGL 2.0.3(u5.3.0)
- VMware Workstation Pro 17.x for Personal Use (Windows).zip
- SIMATIC-WinCC-UnifiedRT-V18-Upd3-更新包-链接地址.txt
- 树状图控件,用来展示一个树状图形,数据结构类似TreeView 在企业信息系统里经常会用到,比如公司组织架构,产品BOM"
- RVO2-Unity-master
- 基于Python和OpenCV开发的材料缺陷检测程序
- 储能系统液冷机组选型设计参考,供储能设计研发人员参考使用
- 基于 C++实现对材料内部缺陷进行无损检测
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功