参考:
源码
安装YOLO_V5环境以及测试——NVIDIA Jetson Xavier AGX平台
0.ros-yolo5介绍
实现yolo作为service的server,发送sensor::Imge 图片,得到yolo检测的结果(置信度,2dbbox左上右下点坐标,附加文本信息,分类结果), 使用步骤如下:
版本:torch==1.10.0 大于该版本yolo会报错
AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
1.下载源码
cd catkin_ws/src
git clone https://github.com/OuyangJunyuan/ros-yolov5.git
git clone http