在GPU下使用最新的opencv4.4(yolov4和yolov4-tiny)对rtsp视频流进行检测并保存
前置条件(opencv4.4带cuda的编译安装):https://blog.csdn.net/qq_34717531/article/details/107763872importcv2importtimeCONFIDENCE_THRESHOLD=0.25#置信度阀值NMS_THRESHOLD=0.4#非极大值抑制阀值COLORS=[(0,255,255),(255,255,0),(0,255,