cutcutcodec.core.analysis.video.quality.vmaf_torch.vmaf

VMAF metric

Based on:

https://github.com/Netflix/vmaf

References:

https://netflixtechblog.com/toward-a-practical-perceptual-video-quality-metric-653f208b9652

Classes

VMAF([enable_motion, clip_score, NEG, ...])

VMAF module Args: enable_motion (bool): if False set motion for all frames to 0 e.g. when computing on batch of images instead of video clip_score (bool): if True clip final VMAF score to [0,100] NEG (bool): if True compute VMAF NEG version, if False compute regular VMAF model_json_path (str): path to custom SVM model json, if None default model is used.

Details

class cutcutcodec.core.analysis.video.quality.vmaf_torch.vmaf.VMAF(enable_motion=True, clip_score=False, NEG=False, model_json_path=None)[source]

VMAF module Args:

enable_motion (bool): if False set motion for all frames to 0 e.g. when computing on batch of images instead of video clip_score (bool): if True clip final VMAF score to [0,100] NEG (bool): if True compute VMAF NEG version, if False compute regular VMAF model_json_path (str): path to custom SVM model json, if None default model is used

Initialize internal Module state, shared by both nn.Module and ScriptModule.