Commit Graph

25 Commits

Author SHA1 Message Date
yuanmengqi
dd488c7294 feat: enhance image comparison functionality in gimp.py
- Added resizing logic to handle images of different sizes before comparison, ensuring consistent evaluation.
- Implemented mode conversion to ensure both images are in the same format for accurate comparison.
- Enhanced structure check by MSE to support conversion of numpy arrays to PIL Images, improving compatibility.
- Maintained existing logic while improving robustness and accuracy of image comparison methods.
2025-07-30 06:07:49 +00:00
yuanmengqi
d52f3b1fca feat: add safe image opening function with retry mechanism
- Introduced a new function `safe_open_image_with_retry` to handle image file opening with retries for truncated or corrupted files.
- Enhanced error handling and logging for image processing in `check_palette_and_structure_sim`.
- Updated the logic to safely open both source and target images, ensuring robust evaluation without altering existing functionality.

These changes improve the reliability of image handling in the GIMP evaluator while maintaining the original code logic.
2025-07-18 18:36:09 +00:00
yuanmengqi
d1ddd3eacd feat: enhance VM wallpaper retrieval and image similarity checks
- Added logging to the VM wallpaper retrieval function to capture errors and warnings related to content retrieval and file creation.
- Implemented checks for None, empty, and invalid content types to ensure robustness in wallpaper handling.
- Enhanced the SSIM structure check function with size validation and improved error handling for image processing.
- Added logging for image size discrepancies and exceptions during SSIM computation to aid in debugging.

These changes improve error handling and logging, ensuring better maintainability and reliability of the evaluators.
2025-07-17 18:19:09 +00:00
yuanmengqi
97ed6f99b0 Final review multi_apps fix the rest part 2025-07-12 20:28:55 +00:00
yuanmengqi
a68d6f7ab6 Enhance GIMP metrics evaluator with logging and transparency handling
- Replaced print statements with logging for better traceability in gimp.py.
- Added handling for transparent images in structure checks and size evaluations.
- Updated JSON examples to include delays in pyautogui commands for improved execution reliability.
- Changed image URL in example to a more accessible source.
2025-07-06 19:38:22 +00:00
XXZ
ac24ccce99 fix: fix multiapp tasks (#229)
Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
2025-07-03 21:53:58 +08:00
Tianbao Xie
7d84a21962 Fix minor problems when aggragating the results (#106) 2024-11-22 17:37:34 +08:00
BlankCheng
4671455b56 Fix eval func 2024-03-18 22:16:04 +08:00
BlankCheng
5ebd080237 Update multi-app examples 2024-03-06 21:33:38 +08:00
Timothyxxx
59e2417a08 Add Mistral, Qwen, Gemini support; Fix minor bugs 2024-02-01 16:55:38 +08:00
Timothyxxx
d65b6994d3 Fix minor bugs of multiple apps examples 2024-01-31 19:40:41 +08:00
rhythmcao
4726ea7edb update multi-app examples 2024-01-30 19:24:29 +08:00
Timothyxxx
8885ea0aef Change the bool into float for printing; add path check in gimp 2024-01-30 15:50:12 +08:00
BlankCheng
b9ec1c5362 Merge branch 'main' into zhoujun/gimp 2024-01-30 14:36:21 +08:00
BlankCheng
8db2eca8d0 Fix triangle position 2024-01-30 14:35:49 +08:00
Timothyxxx
cb7643713e Add impress examples, format the import 2024-01-30 03:25:27 +08:00
BlankCheng
7d2d8c855e Merge main 2024-01-29 21:51:26 +08:00
BlankCheng
af61d776c4 Update GIMP getters and metrics 2024-01-29 21:47:12 +08:00
rhythmcao
532826835d chrome (google drive related) + X multi-app examples finished (leaving two emails and thunderbird-profile.tar.gz to be crafted) 2024-01-29 11:16:27 +08:00
BlankCheng
50f7669e59 Update gimp metrics and getters 2024-01-26 16:39:13 +08:00
BlankCheng
908f25ad29 Update gimp examples 2024-01-24 20:22:51 +08:00
tsuky_chen
136b52c876 eval gimp compare pics 2024-01-13 01:49:46 +08:00
Siheng Zhao
d6f694da1c update GIMP examples and eval 2024-01-12 16:36:02 +08:00
tsuky_chen
e79235f568 2 init gimp example 2024-01-12 16:07:55 +08:00
Timothyxxx
2401513c19 Initialize VLC getters and metrics, fix some bugs in infra logic, needs to be refactored later on 2024-01-04 17:55:07 +08:00