v0.0.93
版本发布时间: 2024-08-17 15:30:49
serengil/deepface最新发布版本:v0.0.93(2024-08-17 15:30:49)
🚀 DeepFace v0.093 Release Notes
We’re excited to announce the latest release of DeepFace, packed with enhancements, bug fixes, and new features. Here’s what’s new in v0.093:
🌐 New Features
- CORS Enabled for All Routes: Now, CORS is enabled across all routes, enhancing cross-origin requests. (#1257)
- Face Extraction Options: Added an option to extract_faces to return faces in RGB, BGR, or Grayscale formats. More flexibility for your image processing! (#1279)
- Batch Prediction for Demography Models: We've introduced batch prediction support for demography models, speeding up the process. (#1298)
- Max Faces Argument: A new max_faces argument in represent lets you limit the number of faces processed in large images. (#1283)
🔧 Enhancements
- Image Quality Improvement: The resample argument is now set to Image.BICUBIC when rotating faces, improving the quality of low-resolution images. (#1269)
- Global Variable Management: We've centralized the management of global variables for better efficiency and maintainability. (#1296)
- Logger Class Update: The logger class is now fully Singleton, ensuring consistent logging throughout the application. (#1291)
🛠️ Refactorings
- Distance Calculation Optimization: Distance calculation functions are now more efficient, using fewer commands and leveraging numpy. (#1299)
- Detection Module Revamp: The DetectorWrapper is retired; detection is now handled directly within the detection module. (#1302)
- Model Structure Overhaul: Facial recognition, face detector, demography, and spoofing models are now organized into dedicated folders under the models directory. (#1303)
- File System Command Refactor: We’ve streamlined file system commands for better performance. (#1305)
- Facial Database Optimization: We now use set instead of list when creating the facial database, improving performance. (#1306)
- Verification Module Refactor: The verification module has been refactored to improve readability and efficiency. Previously, the same code block was run twice for an image pair; now, the logic has been moved to a subfunction, which is called separately for each image. This change simplifies the code and enhances maintainability. (#1309)
🐛 Bug Fixes
- Grayscale Face Bug Fix: Resolved an issue that occurred when returning a face in grayscale. (#1276)
- Facial Area Coordinate Bug: Fixed a bug where facial area coordinates could sometimes fall outside image borders. (#1308)
Thank you for your continued support and contributions to DeepFace! 🎉