title: Python OpenCv how do I detect when a video finishes playing?
body: <p>I am using Python 3.5 and Opencv for an interactive video. However I can't figure out how to detect when my video finishes playing. Any ideas how I can detect when the video ends?</p>
  
  <p>Thanks a bunch. </p>