You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Release 2.2.0
Major features and Improvements
Support for multiprocessing: Using multiple workers for reading the videos. Resolves #10
This is demonstrated in the following example in the docs.
By using multiple workers, the process of reading the videos could be significantly sped-up. The results of some tests conducted internally can be viewed here
New function make_grid(): Returns a grid of frames (numpy array). This is a replacement for the old plot() function. The new approach is faster and more intuitive. See the docs of make_grid() for more details.
Breaking changes
plot() has been entirely removed, use make_grid() instead.
Bug fixes
The use of random_state has been fixed, and it now guarantees reproducibility of results (even if using multiple workers)
Due to this fix, the custom frame selectors will now receive an additional parameter random_state.
If ffmpeg produces an error while reading the videos, it will now be displayed via stdout.