๐ Release Notes: Enhancements & Fixes ๐
๐ฏ All detectors now return a confidence score between 0 and 1 (https://github.com/serengil/deepface/pull/1041)
๐ Fixed the "expand facial area" logic โ it was doubling the expand_percentage for width and height instead of applying it correctly. Now, it's just right. (https://github.com/serengil/deepface/pull/1047)
๐ Ensured rotation angles are now nicely constrained within a [0, 360) range, keeping things in a perfect circle. (https://github.com/serengil/deepface/pull/1047)
๐ซ๐ฌ Added meaningful error messages for when a face can't be detected for a given a numpy array or base64 encoded image. (https://github.com/serengil/deepface/pull/1059)
๐ Optimized the verify function to avoid unnecessary recalculations of embeddings when multiple faces are detected in one of the image pairs. (https://github.com/serengil/deepface/pull/1059)
๐ Loading images from web if and only if given image is really link, discarding files with name starting with http prefix (https://github.com/serengil/deepface/pull/1059)
๐ In the find function, we're now checking the type of base64 encoded images to ensure compatibility with jpg, jpeg, and png formats. (https://github.com/serengil/deepface/pull/1059)
๐จ The fastmtcnn detector has been fixed to gracefully handle cases where no face is detected. (https://github.com/serengil/deepface/pull/1059)
๐ Verify function now gracefully accepts pre-calculated embeddings as inputs. (https://github.com/serengil/deepface/pull/1072)
๐ We're now including column names in the output pickle files of the file function for that extra clarity and convenience. (https://github.com/serengil/deepface/pull/1072)
๐๐ In find function, we are now tracking replaced files in a folder (https://github.com/serengil/deepface/pull/1072, https://github.com/serengil/deepface/pull/1074)
๐ ๏ธ Updated GitHub Actions configuration to wave goodbye to those pesky warnings. Smooth sailing ahead! (https://github.com/serengil/deepface/pull/1082)
๐ค We now check the TensorFlow version in DeepFace model to avoid issues with LocallyConnected2D not being supported after tf 2.12. Ensuring smooth imports and no surprises! (https://github.com/serengil/deepface/pull/1083)