To fix a bug in which background subtraction would only work for loopbio videos (because I was using some loopbio-specific property), I added a len() method to all video readers. In some cases (if a video is read via opencv or via ffmpeg) the len() at the begniing will provide an estimate of the video's number of frames. After the video has been read, the len() will be the exact count of frames.
To fix a bug in which background subtraction would only work for loopbio videos (because I was using some loopbio-specific property), I added a len() method to all video readers. In some cases (if a video is read via opencv or via ffmpeg) the len() at the begniing will provide an estimate of the video's number of frames. After the video has been read, the len() will be the exact count of frames.