Commit 843d9c7c authored by jack's avatar jack

update

parent 9144fcd1
......@@ -33,10 +33,7 @@ elif (args.video):
cap = cv.VideoCapture(args.video)
#outputFile = args.video[:-4]+'_yolo_out_py.avi'
elif (args.rtsp):
# Open the video file
if not os.path.isfile(args.rtsp):
print("Input rtsp file ", args.rtsp, " doesn't exist")
sys.exit(1)
# Open the rtsp video stream
cap = cv.VideoCapture(args.rtsp)
#outputFile = args.video[:-4]+'_yolo_out_py.avi'
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment