Skip to content

Feature/detector#1

Merged
folkien merged 20 commits into
mainfrom
feature/detector
May 2, 2025
Merged

Feature/detector#1
folkien merged 20 commits into
mainfrom
feature/detector

Conversation

@folkien
Copy link
Copy Markdown
Contributor

@folkien folkien commented May 2, 2025

No description provided.

@folkien folkien requested a review from Copilot May 2, 2025 12:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a new face detector feature that supports both face detection and face anonymization through blurring or pixelation. Key changes include updating the project metadata with new dependencies and CLI scripts, adding two main routines (detection and anonymization) in model_face/main.py, and introducing supporting modules for image transformations and YOLOv8-based face detection.

Reviewed Changes

Copilot reviewed 9 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pyproject.toml Updated metadata including project name, dependencies, and CLI scripts
model_face/main.py Added main functions for face detection and anonymization
model_face/helpers/transformations.py Introduced helper functions for blurring and pixelating image regions
model_face/detector/yolov8_face_detector.py Added YOLOv8 face detection module with post-processing logic
README.md Modified to reflect the new feature and repository structure
Files not reviewed (5)
  • .gitattributes: Language not supported
  • zoo/face-quality-assessment.onnx: Language not supported
  • zoo/yolov8-lite-s.onnx: Language not supported
  • zoo/yolov8-lite-t.onnx: Language not supported
  • zoo/yolov8n-face.onnx: Language not supported

Comment thread model_face/helpers/transformations.py Outdated
Comment thread model_face/main.py
Comment thread model_face/main.py Outdated
folkien and others added 6 commits May 2, 2025 14:53
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@folkien folkien requested a review from Copilot May 2, 2025 13:04
@folkien folkien self-assigned this May 2, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new face detection and anonymization feature while updating the project’s configuration, dependencies, and documentation.

  • Renames the project in pyproject.toml and adds necessary dependencies and scripts.
  • Implements face detection and anonymization with two separate main functions and a dedicated YOLOv8FaceDetection class.
  • Updates helper transformations and documentation to support the new feature.

Reviewed Changes

Copilot reviewed 9 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pyproject.toml Updated project metadata, dependencies, and added new script entries for face detection.
model_face/main.py Introduces two main functions for detection and anonymization with command-line arguments.
model_face/helpers/transformations.py Adds helper functions for blurring and pixelating regions in images with minor docstring issues.
model_face/detector/yolov8_face_detector.py Implements the YOLOv8 face detection model and auxiliary processing functions.
README.md Updates repository documentation to reflect the new feature and project structure.
Files not reviewed (5)
  • .gitattributes: Language not supported
  • zoo/face-quality-assessment.onnx: Language not supported
  • zoo/yolov8-lite-s.onnx: Language not supported
  • zoo/yolov8-lite-t.onnx: Language not supported
  • zoo/yolov8n-face.onnx: Language not supported

Comment thread model_face/main.py Outdated
Comment thread model_face/helpers/transformations.py Outdated
Comment thread README.md Outdated
folkien and others added 3 commits May 2, 2025 15:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@folkien folkien merged commit 5b154b8 into main May 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants