quality.vmaf_tool_wrapper
- class VMAFMetrics(reports_path='./reports', vmaf_executable_path='./vmaf', version='2.2.1', force_download=False)[source]
Bases:
QualityToolWrapperVMAF quality metrics wrapper.
- Parameters:
reports_path (str)
vmaf_executable_path (str)
version (str)
force_download (bool)
- __init__(reports_path='./reports', vmaf_executable_path='./vmaf', version='2.2.1', force_download=False)[source]
Initializes VMAFMetrics, downloading the VMAF executable if needed.
- Parameters:
reports_path (str) – Path to store metric reports, defaults to “./reports”
vmaf_executable_path (str) – Path for the VMAF executable, defaults to “./vmaf”
version (str) – VMAF version to use, defaults to “2.2.1”
force_download (bool) – Whether to re-download even if executable exists, defaults to False
- Returns:
None
- Return type:
None