Skip to content

Mydia 2.2

Compare
Choose a tag to compare
@MrinalJain17 MrinalJain17 released this 14 Oct 22:47
· 19 commits to master since this release
e19877d

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.