[PR #545] [MERGED] fix: refactor python to remove unused code #1172

Closed
opened 2026-03-15 15:56:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/545
Author: @sadok-f
Created: 11/24/2024
Status: Merged
Merged: 11/24/2024
Merged by: @sadok-f

Base: mainHead: python-code-refactor


📝 Commits (5)

  • 0049fbc fix: refactor python code for the smartcrop and facedetect, remove unused features
  • 5749f50 fix linting errors
  • 8d6af70 fix python linting errors
  • 1dea8e7 use isort to sort facedetect libs
  • caff525 fix: fix cannot write mode RGBA as JPEG for avif image

📊 Changes

2 files changed (+99 additions, -325 deletions)

View changed files

📝 python/facedetect.py (+59 -269)
📝 python/smartcrop.py (+40 -56)

📄 Description

fix: refactor python code for the smartcrop and facedetect, remove unused features


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/flyimg/flyimg/pull/545 **Author:** [@sadok-f](https://github.com/sadok-f) **Created:** 11/24/2024 **Status:** ✅ Merged **Merged:** 11/24/2024 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `python-code-refactor` --- ### 📝 Commits (5) - [`0049fbc`](https://github.com/flyimg/flyimg/commit/0049fbcc83a42434676539e81dac1b09650c0405) fix: refactor python code for the smartcrop and facedetect, remove unused features - [`5749f50`](https://github.com/flyimg/flyimg/commit/5749f5064e7ae58ad2bf2c9dbac1e9aeb1a7162e) fix linting errors - [`8d6af70`](https://github.com/flyimg/flyimg/commit/8d6af70195e85255c2e09865e7baeafd27a826c8) fix python linting errors - [`1dea8e7`](https://github.com/flyimg/flyimg/commit/1dea8e7c3aa8532c4ff8a6b27e2e634bf0e7946a) use isort to sort facedetect libs - [`caff525`](https://github.com/flyimg/flyimg/commit/caff525f1c19eb8c92ab85e990aaa382d1f81743) fix: fix cannot write mode RGBA as JPEG for avif image ### 📊 Changes **2 files changed** (+99 additions, -325 deletions) <details> <summary>View changed files</summary> 📝 `python/facedetect.py` (+59 -269) 📝 `python/smartcrop.py` (+40 -56) </details> ### 📄 Description fix: refactor python code for the smartcrop and facedetect, remove unused features --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:56:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#1172
No description provided.