CV面试
zhixing-go
这个作者很懒,什么都没留下…
展开
-
【无标题】
# Copyright 2020 The TensorPilot Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w原创 2022-03-02 10:31:02 · 179 阅读 · 0 评论 -
目标检测NMS的简单python代码,与SoftNMS区别
NMS代码实现 import numpy as np def NMS(dets, thresh): x1 = dets[:, 0] y1 = dets[:, 1] x2 = dets[:, 2] y2 = dets[:, 3] scores = dets[:, 4] areas = (x2 - x1 + 1) * (y2 - y1 + 1) order = np.argsort(scores)[::-1] picked_boxes = []原创 2021-11-09 15:34:55 · 207 阅读 · 0 评论