After the traffic_capacity.py reaches the end of the 'input.mp4' video file, it throws a StopIteration exception as follows:
Traceback (most recent call last):
File "traffic_capacity.py", line 72, in
main()
File "traffic_capacity.py", line 61, in main
cap.next()
StopIteration
Also the make_video.sh file is not creating an output video for traffic capacity example.
After the traffic_capacity.py reaches the end of the 'input.mp4' video file, it throws a StopIteration exception as follows:
Traceback (most recent call last):
File "traffic_capacity.py", line 72, in
main()
File "traffic_capacity.py", line 61, in main
cap.next()
StopIteration
Also the make_video.sh file is not creating an output video for traffic capacity example.