Deepface

Latest version: v0.0.93

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.093

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! πŸŽ‰

Packages

0.0.93

0.0.92

New Features & Improvements πŸš€

- Enhanced Find Function πŸ”
Added refresh_database argument to the find function. The default value is True, but when set to False, a pickle file is used without checking for differences. (https://github.com/serengil/deepface/pull/1235)

- Version Display πŸ“‹
Package version is now shown on the API's homepage and in console logs, making it easier to track which version you're using. (https://github.com/serengil/deepface/pull/1246)

- Service Port Update πŸ”„
Service port moved from 5000 to 5005 to avoid conflicts with AirDrop on MacBooks. (https://github.com/serengil/deepface/pull/1246)

- Image Alignment Improvement πŸ–ΌοΈ
When faces are close to the borders, alignment previously moved them outside the image. A border with black pixels is now added to avoid this issue. (https://github.com/serengil/deepface/pull/1247)

- Official Docker Image 🐳
Pushed the official DeepFace image to DockerHub for easier deployment and consistency. (https://github.com/serengil/deepface/pull/1249)

- Face Anti-Spoofing πŸ”’
Added a face anti-spoofing feature to enhance security and prevent fraudulent face inputs. (https://github.com/serengil/deepface/pull/1253)

0.0.91

We're excited to introduce some fantastic updates in this release! Here's what's new:

πŸ“ *Custom Threshold Support*: With [PR-1223](https://github.com/serengil/deepface/pull/1223), we've enhanced the verify method to support an optional threshold parameter. Now, you can tailor the verification process to your needs for stricter or more lenient results.

πŸ“š *Enhanced Documentation*: Thanks to [PR-1224](https://github.com/serengil/deepface/pull/1224), you'll find the latest publication mentioned in the README. Additionally, experiment results are conveniently shared in the benchmarks folder for your reference.

πŸ–ΌοΈ *Improved Functionality*: We've fixed a bug in the represent function ([PR-1225](https://github.com/serengil/deepface/pull/1225)) where face regions were inaccurately returned if detection was skipped. Now, you can expect more reliable results.

πŸ“ *License Inclusion*: [PR-1225](https://github.com/serengil/deepface/pull/1225) addresses a missing license in the pip package, ensuring compliance and transparency.

πŸ”§ *Issue Templates*: To streamline communication and issue tracking, we've created issue templates with [PR-1203](https://github.com/serengil/deepface/pull/1203). Now, reporting and addressing concerns is easier than ever before.

Thank you for your continued support and feedback! Download DeepFace v0.0.91 now to enjoy these enhancements and more. Happy coding! πŸ€–βœ¨

Package

- https://pypi.org/project/deepface/0.0.91/

0.0.90

0.0.89

πŸ› οΈ Enforcing TF 2.12 or earlier is necessary if you intend to utilize the DeepFace model. Additionally, the LocallyConnected2D dependency isn't imported by default as it's unavailable post TF 2.12. - https://github.com/serengil/deepface/pull/1134

Page 1 of 3

Β© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.