问题
for example. after write the video
out = cv2.VideoWriter('video.avi', fourcc, fps, (int(width), int(height)))
it saves a file with the name "video", I wanted that the next time I run it save the next video as video1 etc ...
来源:https://stackoverflow.com/questions/60907884/how-increment-filename-in-pythonopencv