381 Commits

Author SHA1 Message Date
Sefik Ilkin Serengil
08131731c5 retuning regions as numpy int 32 was causing error in api 2024-02-04 10:36:00 +00:00
Sefik Ilkin Serengil
8497682171 open issues 2024-02-02 17:33:31 +00:00
Sefik Ilkin Serengil
96d29ab069 adding expand percentage argument for detection 2024-01-31 23:43:30 +00:00
Sefik Ilkin Serengil
9494d47e31 restoration of deprecated detect face function 2024-01-31 19:51:58 +00:00
Sefik Ilkin Serengil
cefb8013bb making distance calculation functions camel case 2024-01-31 19:44:51 +00:00
Sefik Ilkin Serengil
4800aa3e8c input shape is now retrieved from models 2024-01-31 19:37:43 +00:00
Sefik Ilkin Serengil
95c55c0401 moving logics under modules
- all extract_faces logic moved to detection module
- load image related logics moved to preprocessing module
2024-01-31 19:12:16 +00:00
Sefik Ilkin Serengil
9fbb229b97 Sorting bug for RGB restoration 2024-01-31 19:10:51 +00:00
Sefik Ilkin Serengil
35025cdf6e
Merge pull request #978 from serengil/feat-task-2701-return-obj-for-detectors
pretty return type for detect faces
2024-01-27 19:30:28 +00:00
Sefik Ilkin Serengil
e5f0da3fd7 pretty return type for detect faces 2024-01-27 19:20:03 +00:00
MattPChoy
f0f9a792ec Prevent no attribute error when using Mtcnn 2024-01-27 22:02:10 +10:00
Sefik Ilkin Serengil
36665a9e96 january 26 improvements 2024-01-26 17:52:55 +00:00
Sefik Ilkin Serengil
5ffa7bfb95 vgg normalization layer bug for gpu users 2024-01-23 22:29:28 +00:00
Sefik Ilkin Serengil
3265be2d3a whitespace problem 2024-01-23 20:10:07 +00:00
Sefik Ilkin Serengil
d429d71c93 examples explained in docstrings 2024-01-23 20:02:17 +00:00
Sefik Ilkin Serengil
829871f1fe cosmetic changes in docstrings of interface functions 2024-01-21 22:50:37 +00:00
Sefik Ilkin Serengil
0b3151fa26 incompatible bug for deepid in representation 2024-01-21 18:23:47 +00:00
Sefik Ilkin Serengil
359162aa5e details about return types 2024-01-21 18:10:21 +00:00
Sefik Ilkin Serengil
c9a7db8815 FaceNet to Facenet 2024-01-21 14:01:11 +00:00
Sefik Ilkin Serengil
0d6aa10b82 cosmetic changes about interfaces 2024-01-21 13:52:31 +00:00
Sefik Ilkin Serengil
2e282db74b common function to get tf major version 2024-01-20 20:59:05 +00:00
Sefik Ilkin Serengil
585bdae6b2 DeepFace.build_model should return any 2024-01-20 20:44:00 +00:00
Sefik Ilkin Serengil
a50ff7e35a deprecated module retired 2024-01-20 19:27:08 +00:00
Sefik Ilkin Serengil
25a3061ae9 deprecated dependency retired 2024-01-20 19:26:01 +00:00
Sefik Ilkin Serengil
0fd77e1c99 facial recognition, detector and demography models are now using interface 2024-01-20 19:23:28 +00:00
Sefik Ilkin Serengil
27d15d2413 some improvements
- update datastore
- raise meaningful errors while importing optional dependencies
- handle unexpected zero dimension issue in alignment
2024-01-16 22:31:12 +00:00
Sefik Ilkin Serengil
7f719b87bd interface functions moved to modules 2024-01-13 22:21:41 +00:00
Sefik Ilkin Serengil
0eb1515e11 avoid dimension imcompability error
created pickle may have 2622 dimensional vectors but VGG-Face is not creating
4096 dimensional vectors. If they are mismatch, then raise a meaningful error
2024-01-08 16:59:20 +00:00
Sefik Ilkin Serengil
05013e550c new threshold values for vgg-face
tuned on lfw dataset
2024-01-08 16:57:41 +00:00
Sefik Ilkin Serengil
19f057a712 new structure for vgg-face model 2024-01-08 16:57:07 +00:00
Sefik Ilkin Serengil
f23ab85fd1 using type hinting for backend functions 2023-12-24 14:38:14 +00:00
Sefik Ilkin Serengil
27f0619e9d load img from url was loading rgb instead of bgr 2023-12-24 13:12:35 +00:00
Sefik Ilkin Serengil
308ab61b41 modular tests 2023-12-24 13:06:07 +00:00
Sefik Ilkin Serengil
bd6393daa0
Merge pull request #863 from bhky/master
Simplify face alignment procedure
2023-12-21 09:52:37 +00:00
Sefik Ilkin Serengil
0c0dfb8090
Update DeepFace.py
model type check
2023-12-18 12:06:49 +00:00
Sefik Ilkin Serengil
19f7cf620d
Update DeepFace.py
build_model return type
2023-12-18 11:56:56 +00:00
Sefik Ilkin Serengil
e91e48bd6c
Update DeepFace.py 2023-12-18 09:35:37 +00:00
Sefik Ilkin Serengil
e4a43fd86b
Update DeepFace.py
functional may come from keras or tf.keras. hard to manage in typing. used any for build_model.
2023-12-18 09:31:54 +00:00
Sefik Ilkin Serengil
8a5f2875fc
Merge pull request #922 from RazaProdigy/typehints
Adding Type Hints for Enhanced Code Clarity and Maintenance
2023-12-18 09:30:32 +00:00
RazaProdigy
aa96a76cb2 Removed typo from code 2023-12-18 13:25:36 +04:00
RazaProdigy
90a0282ed9 Refine type hints as per PR review 2023-12-18 13:18:57 +04:00
RazaProdigy
cfff58792a Added type hints 2023-12-17 13:59:32 +04:00
Sefik Ilkin Serengil
bd0a3ec17e yunet alignment issue sorted 2023-12-16 20:11:23 +00:00
xuwei
7b1451ac50 fix(represent): change somthing according to comments and adapt pylint 2023-12-14 12:29:35 +00:00
xuwei
8c6dad0147 fix(represent): 1. support represent user given image 2. img_path support pathlib.Path 2023-12-14 06:57:49 +00:00
Sefik Ilkin Serengil
2cc5f39853 some improvements
- loading image from url was loading as rgb instead of bar
- we are returning image name in load image function to throw
meaningful message for no face found case
- we started to use imread again, and throw exception if file
name contains non English character
- get rid of the duplicate if statement in extract faces
2023-12-08 22:18:52 +00:00
Sefik Ilkin Serengil
76a6bce824 some improvements
- pickle file is out dated, then user informed with meaningful message.
- response df of find, we were just showing source image's region,
we just added the target image's region
2023-12-08 22:15:34 +00:00
Sefik Ilkin Serengil
adfb29dfc7 raise legible error message for optional import 2023-12-08 22:13:20 +00:00
Sefik Ilkin Serengil
fceeccb14b timestamp added for log messages 2023-12-08 22:12:52 +00:00
Sefik Ilkin Serengil
fff6481431 raising legible error message
some libraries are optional. if an user tries to import these
before installation, then not legible message was gotten.
now, we will throw legible message.
2023-12-08 22:12:25 +00:00