This commit is contained in:
Andre Neto
2025-06-01 22:48:59 +01:00
parent 62ff4d6c25
commit 42f841b646
175 changed files with 42723 additions and 85015 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ Path: /home/netoa/Desktop/ISR/metrics/subjective
Created Date: Saturday January 25th 2025
Author: Andre Neto
-----
Last Modified: Wed Mar 12 2025
Last Modified: Mon May 19 2025
Modified By: Andre Neto
-----
Copyright (c) 2025 Institute of Systems and Robotics
@@ -45,7 +45,7 @@ def compute_mos(test_csv, session_csv, user_csv, image_csv, output_csv):
image_stats = image_stats.sort_values(by="file_name", ascending=True)
# Save overall MOS to output file
overall_output = os.path.splitext(output_csv)[0] + "_overall.csv"
overall_output = os.path.splitext(output_csv)[0] + ".csv"
image_stats.to_csv(overall_output, index=False)
print(f"MOS saved to {overall_output}")
@@ -54,7 +54,7 @@ def main():
""" Main script for computing MOS. """
tables_dir = 'metrics/subjective/tables'
results_dir = 'results/sheets'
results_dir = 'results/webapp'
os.makedirs(tables_dir, exist_ok=True)
os.makedirs(results_dir, exist_ok=True)
@@ -64,7 +64,7 @@ def main():
session_csv = os.path.join(tables_dir, "app_ss_session.csv")
test_csv = os.path.join(tables_dir, "app_ss_test.csv")
image_csv = os.path.join(tables_dir, "app_database_image.csv")
output_csv = os.path.join(results_dir, "iqa_subjective.csv")
output_csv = os.path.join(results_dir, "detailed_mos.csv")
# Compute MOS
compute_mos(test_csv, session_csv, user_csv, image_csv, output_csv)
+2 -2
View File
@@ -4,7 +4,7 @@ Path: /home/netoa/Desktop/ISR/metrics/subjective/post_processing
Created Date: Saturday January 25th 2025
Author: Andre Neto
-----
Last Modified: Sat Mar 22 2025
Last Modified: Mon May 19 2025
Modified By: Andre Neto
-----
Copyright (c) 2025 Institute of Systems and Robotics
@@ -171,7 +171,7 @@ def main():
""" Post-process subjective metrics. """
tables_dir = 'metrics/subjective/tables'
results_dir = 'results/sheets'
results_dir = 'results/webapp'
os.makedirs(results_dir, exist_ok=True)