Mydia 2.1
Release 2.1.0
Major features and improvements
- Normalization of videos is implemented. Now, each video is shifted to the range
(0, 1)
by subtracting the minimum and dividing by the difference between the maximum and minimum pixel values. Resolves ( #8 ) - Refactored documentation
- Also, added certain warnings and notes.
Breaking changes
-
Some precautions have been taken for supporting custom frame selection
- The number of frames to be selected returned by the custom function is checked against the passed
num_frames
value. If they are not equal, an error is raised (This could prevent situations where the callable returned a different number of frames for different videos) - In the previous versions, the value of
num_frames
was ignored if a custom callable was passed.
It is because of this change that the version was bumped from 2.0 to 2.1
- The number of frames to be selected returned by the custom function is checked against the passed