I test openCV with Yolo it have no problem when use webcam. I try to use video from RTSP with this code.
net = cv2.dnn.readNet(\'yolov3_training_last.weights\