感知面试手撕代码:这个博主总结的很好,尤其是关于叉积的计算
双线性插值
NMS算法
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
struct Box {
int x1,x2,y1,y2;
float score;
};
float iou(const Box& b1, const Box& b2) {
int len = std::min(b1.x2, b2.x2) - std::max(b1.x1, b2.x1);
int width = std::min(b1.y2, b2.y2) -


8357

被折叠的 条评论
为什么被折叠?



