diff --git a/dbm_lib/dbm_features/raw_features/video/face_emotion_expressivity.py b/dbm_lib/dbm_features/raw_features/video/face_emotion_expressivity.py index a35f73ed..454fb8e9 100644 --- a/dbm_lib/dbm_features/raw_features/video/face_emotion_expressivity.py +++ b/dbm_lib/dbm_features/raw_features/video/face_emotion_expressivity.py @@ -41,6 +41,9 @@ def of_feature(df_of, cfr, f_cfg): if len(df_of[f_cfg.neg_exp])>0: df_of[f_cfg.neg_exp] = df_of[f_cfg.neg_exp]/5 + if len(df_of[f_cfg.neg_exp_full])>0: + df_of[f_cfg.neg_exp_full] = df_of[f_cfg.neg_exp_full]/5 + if len(df_of[f_cfg.com_exp])>0: df_of[f_cfg.com_exp] = df_of[f_cfg.com_exp]/7 @@ -80,4 +83,4 @@ def run_face_expressivity(video_uri, out_dir, f_cfg): ut.save_output(exp_final_df, out_loc, fl_name, face_expr_dir, csv_ext) except Exception as e: - logger.error('Failed to process video file') \ No newline at end of file + logger.error('Failed to process video file')