# yolov5_ship_detection **Repository Path**: aHeiDaBai/yolov5_ship_detection ## Basic Information - **Project Name**: yolov5_ship_detection - **Description**: 使用yolov5进行的船舶检测代码 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2023-04-01 - **Last Updated**: 2025-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: YOLOv5, shipDetection ## README # yolov5_ship_detection 此项目使用yolov5来进行船舶的检测 使用的yolov5模型为yolov5s,yolov5的GitHub地址为:https://github.com/ultralytics/yolov5 最优权重在`\shipdata\resultWeights\best.pt` 检测的示例: ![ship_detection_img](./img/ship_detection_image1.jpg) 本代码还提供了`yolov5`的检测界面,检测界面的代码在`\show_0\`文件下,要运行此检测界面,你需要在环境中下载`pyqt5`,然后运行`\show_0\`文件夹下的`pyqt.py`文件,就可以看到检测界面,如下图所示: ![ship_detection_img](./img/ship_detection_window.png) 声明: 1. 本项目中的船舶检测视频出自: 【无人机航拍船舶进港视频,可作为船舶检测等深度学习算法的数据集】 https://www.bilibili.com/video/BV1ao4y1Z7Ef/?share_source=copy_web&vd_source=2968b57cc30a319997ed4862c9fcae40 2. 本代码只能用作学习使用,不准使用于商业用途