def _generate_result(self, asset): # routine to call the command-line executable and generate feature # scores in the log file. quality_width, quality_height = asset.quality_width_height log_file_path = self._get_log_file_path(asset) yuv_type = self._get_workfile_yuv_type(asset) ref_path = asset.ref_procfile_path dis_path = asset.dis_procfile_path w = quality_width h = quality_height logger = self.logger ExternalProgramCaller.call_vmafrc_multi_features( ['float_adm', 'float_vif', 'float_motion', 'float_ansnr'], yuv_type, ref_path, dis_path, w, h, log_file_path, logger, options={ 'float_adm': { 'debug': True }, 'float_vif': { 'debug': True }, 'float_motion': { 'debug': True }, })
def _generate_result(self, asset): quality_width, quality_height = asset.quality_width_height log_file_path = self._get_log_file_path(asset) yuv_type=self._get_workfile_yuv_type(asset) ref_path=asset.ref_procfile_path dis_path=asset.dis_procfile_path w=quality_width h=quality_height logger = self.logger ExternalProgramCaller.call_vmafrc_multi_features( ['adm', 'vif', 'motion', 'float_ansnr'], yuv_type, ref_path, dis_path, w, h, log_file_path, logger, options={ 'adm': {'debug': True}, 'vif': {'debug': True}, 'motion': {'debug': True}, } )