Releases: ES-Alexander/pythonic-cv
Releases · ES-Alexander/pythonic-cv
Bug Fix
GuaranteedVideoWriter
Added GuaranteedVideoWriter class for writing video with a guaranteed framerate that responds to the input/processing framerate. Repeats frames when input is too slow, and skips frames when input is too fast.
Package Bug Fix
Added __init__.py to pcv.examples to ensure the examples get included correctly when installed.
Organisation
- Bug fix when playing a video with unknown fps
- Refactored advanced examples to
examplesfolder for cleaner navigation - Added the
cam_video_switcherexample for multi-video reading with looping and webcam control.
VideoReader Convenience
- made
verbosemode more meaningful (can now actually turn off messages about initial fps, etc) - added a
reset_delayfunction so external callbacks that pause playback can avoid rapid frame swapping/frame skipping on resume - added a default callback for
bto continue playback from the beginning (respects user-set start if set at initialisation)
Bug Fixes, Better Defaults
- removed a bug causing Camera instances to close on initialisation (#6)
- added exception handler for unsuccessful window close on context exit (doesn't really matter, so no need to end program)
- other minor internal changes
Timing + Module Naming
- Changed
time.timetotime.perf_counterfor timing precision and cross-platform consistency - Changed
helpers.pytoprocess.pyto better reflect the intent of the functions
Restructure
Same functionality, but restructured into a few modules to make it easier to understand what comes from where, instead of everything coming from a generic pcv module. Introducing vidIO, interact, and helpers!
Functioning Pip
Pip-installable, and also runnable.
Pip
v1.0.1 pip