Feature/detector#1
Conversation
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.