rtsp推流
代码:参考:https://www.dazhuanlan.com/robertlyc/topics/1198830# 导入opencvimport cv2 as cvimport subprocess as sprtspUrl = 'rtsp://localhost/test' #将处理后的帧传入管道推流到该地址def face_detect_demo(img): gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) face_detec.
原创
2021-11-03 17:19:24 ·
2853 阅读 ·
1 评论