# EdgeYOLO-ROS
[EdgeYOLO](https://github.com/LSH9832/edgeyolo) + ROS 2 Inference DEMO
## Supported List
- ONNXRuntime C++ and Python
- TensorRT C++
- OpenVINO C++
※ TFLite inference demo code has been uploaded but not tested.
## Requirements
- ROS 2 Foxy or Humble
- OpenCV
- ONNXRuntime or TensorRT or OpenVINO
- bbox_ex_msgs
- v4l2-camera (for Webcam Demo)
## Build
```bash
cd ros2_ws/src
git clone https://github.com/Ar-Ray-code/bbox_ex_msgs
git clone https://github.com/fateshelled/EdgeYOLO-ROS
cd ../
# for C++
colcon build --symlink-install --packages-up-to edgeyolo_ros_cpp bbox_ex_msgs
# for python
colcon build --symlink-install --packages-up-to edgeyolo_ros_py bbox_ex_msgs
```
## Model Download
- Model download from [PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo/blob/main/356_EdgeYOLO/download_nopost.sh)
- use nopost model
## Webcam DEMO
### ONNXRuntime
```bash
# Run C++ Node
ros2 launch edgeyolo_ros_cpp edgeyolo_onnxruntime.launch.py \
model_path:=edgeyolo_tiny_coco_416x416.onnx
# Run Python Node
ros2 launch edgeyolo_ros_py edgeyolo_onnxruntime.launch.py \
model_path:=edgeyolo_tiny_coco_416x416.onnx
```
### OpenVINO
```bash
# model convert
mo.py --input_model edgeyolo_tiny_coco_416x416.onnx \
--input_shape [1,3,416,416] \
--output_dir ./openvino_model
# Run C++ Node
ros2 launch edgeyolo_ros_cpp edgeyolo_openvino.launch.py \
model_path:=./openvino_model/edgeyolo_tiny_coco_416x416.xml
```
### TensorRT
```bash
# model convert
trtexec --onnx=edgeyolo_tiny_coco_416x416.onnx \
--saveEngine=edgeyolo_tiny_coco_416x416.engine
# Run C++ Node
ros2 launch edgeyolo_ros_cpp edgeyolo_tensorrt.launch.py \
model_path:=edgeyolo_tiny_coco_416x416.engine
```
## Reference
- [EdgeYOLO](https://github.com/LSH9832/edgeyolo)
- [YOLOX-ROS](https://github.com/Ar-Ray-code/YOLOX-ROS)
- [PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo)
没有合适的资源?快使用搜索试试~ 我知道了~
基于EdgeYOLO+ROS2物体检测包源码+文档说明
共41个文件
py:12个
hpp:9个
cpp:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 51 浏览量
2024-02-06
18:55:11
上传
评论
收藏 53KB ZIP 举报
温馨提示
<项目介绍> 基于EdgeYOLO+ROS 2物体检测包源码+文档说明 - 不懂运行,下载完可以私聊问,可远程教学 该资源内项目源码是个人的毕设,代码都测试ok,都是运行成功后才上传资源,答辩评审平均分达到96分,放心下载使用! 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.md文件(如有),仅供学习参考, 切勿用于商业用途。 --------
资源推荐
资源详情
资源评论
收起资源包目录
EdgeYOLO-ROS-main.zip (41个子文件)
EdgeYOLO-ROS-main
weights
convert_onnx2trt.sh 765B
LICENSE 11KB
edgeyolo_ros_cpp
edgeyolo_ros_cpp
include
edgeyolo_ros_cpp
edgeyolo_ros_cpp.hpp 2KB
CMakeLists.txt 3KB
src
edgeyolo_ros_cpp.cpp 11KB
package.xml 998B
launch
edgeyolo_openvino.launch.py 4KB
edgeyolo_onnxruntime.launch.py 6KB
edgeyolo_openvino_ncs2.launch.py 4KB
edgeyolo_tflite.launch.py 4KB
edgeyolo_tensorrt_jetson.launch.py 4KB
edgeyolo_tensorrt.launch.py 4KB
labels
coco_names.txt 621B
edgeyolo_cpp
include
edgeyolo_cpp
edgeyolo.hpp 357B
core.hpp 8KB
config.h.in 217B
edgeyolo_tflite.hpp 2KB
edgeyolo_openvino.hpp 941B
.gitignore 8B
edgeyolo_tensorrt.hpp 2KB
utils.hpp 2KB
edgeyolo_onnxruntime.hpp 1KB
tensorrt_logging.h 19KB
coco_names.hpp 4KB
CMakeLists.txt 6KB
src
edgeyolo_onnxruntime.cpp 6KB
edgeyolo_openvino.cpp 5KB
edgeyolo_tensorrt.cpp 5KB
edgeyolo_tflite.cpp 6KB
package.xml 738B
edgeyolo_ros_py
setup.py 935B
package.xml 814B
resource
edgeyolo_ros_py 0B
edgeyolo_ros_py
utils.py 5KB
__init__.py 0B
edgeyolo_onnx.py 3KB
edgeyolo_onnx_node.py 3KB
launch
edgeyolo_onnxruntime.launch.py 2KB
setup.cfg 98B
.gitignore 3KB
README.md 2KB
共 41 条
- 1
资源评论
奋斗奋斗再奋斗的ajie
- 粉丝: 232
- 资源: 2166
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功