重温目标检测--YOLO v1

YOLO将目标检测问题转化为回归问题,直接从图像像素映射到边界框坐标和类别概率。具备快速检测、低背景误检率及良好泛化性能的特点。YOLO采用7×7网格,每个网格预测2个边界框,共输出30维张量。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

You Only Look Once:Unified, Real-Time Object Detection
CVPR2016
https://pjreddie.com/darknet/yolo/

YOLO 提出的背景是 基于CNN目标检测的速度太慢了,主要目的就是提速。

We reframe object detection as a single regression problem, straight from image pixels to bounding box coordinates and class probabilities
这里是将目标检测问题变为一个简单的回归问题,YOLO直接将图像像素信息映射到 矩形框坐标和物体类别概率信息

YOLO 特定如下:
1) 速度快
2)YOLO 做出预测时是基于整幅图像推理得到的 ,所以 YOLO将背景误检为物体的概率要比 Fast R-CNN 低
YOLO sees the entire image during training and test time so it implicitly encodes contextual information about classes as well as their appearance.
3) YOLO的泛华性能比较好
YOLO learns generalizable representations of objects

YOLO 的缺点就是 物体的位置精度较差

YOLO 框架
这里写图片描述

For evaluating YOLO on P ASCAL VOC, we use S = 7, B = 2. P ASCAL VOC has 20 labelled classes so C = 20.
Our final prediction is a 7 × 7 × 30 tensor.

输入图像经过一系列卷积层和两个全链接层处理得到 7 × 7 × 30 tensor
The final output of our network is the 7 × 7 × 30 tensor of predictions

如何解析这个 7 × 7 × 30 tensor
这里写图片描述

7 × 7 表示将图像分为 7 × 7 个网格,对图像进行分块处理,有点类似滑动模板目标检测。每个网格使用两个不同的模板进行检测, Each grid cell predicts B bounding boxes。 这里的模板匹配检测就是 R-CNN里面的 bounding boxes regression,对每个模板进行微调。每个 bounding boxe 对应4个坐标信息和 1个 概率信息。2个 bounding boxes 共计 10个信息。 剩下的 20个信息就是 Pascal VOC 中 20个类别概率信息 Class probability
这里写图片描述

最后可以用 non-maximal suppression 对检测的结果进行过滤一下

11

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值