Opyf v1.1
Opyf v 1.1
With Opyf 1.1 it is now possible to manipulate frame sequences (sequence of image files such as jpeg, png or tiff) and videos as similar objects.
The Class Analyzer is introduced with two subclass videoAnalyzer and frameSequenceAnalyzer.
To load a frame sequence or a video to analyze, the following script may be employed:
For a frame sequence:
analyzer=opyf.frameSequenceAnalyzer("folder_toward_images")
For a video:
analyzer=opyf.frameSequenceAnalyzer("video_file_path")
Information such as the velocitmetry processing parameters or the geometry of grid to interpolate on, are stored in the analyzer object.
Both frame sequences and videos Analyzer objects can be treated similarly.
Example:
analyzer.set_opticalFlowParams(maxLevel=2)
The project is now packaged in PyPI and can be installed directly by running the following command on your terminal:
pip install opyf
Additionally, it is now possible to perform bird eye view transformation and cancel the noise due to hand shaking for measuring flows from home movies.
Coming : tutorials for performing an entire analysis