fix vmaf plot

This commit is contained in:
Zen 2020-11-27 15:51:26 +02:00
parent cdcce27981
commit 0ff038dd4c

View file

@ -157,10 +157,10 @@ def plot_vmaf_score_file(scores: Path, plot_path: Path):
Read vmaf json and plot VMAF values for each frame
"""
perc_1 = read_weighted_vmaf(scores, 1)
perc_25 = read_weighted_vmaf(scores, 25)
perc_75 = read_weighted_vmaf(scores, 75)
mean = read_weighted_vmaf(scores, 50)
perc_1 = read_weighted_vmaf(scores, 0.01)
perc_25 = read_weighted_vmaf(scores, 0.25)
perc_75 = read_weighted_vmaf(scores, 0.75)
mean = read_weighted_vmaf(scores, 0.50)
with open(scores) as f:
file = json.load(f)