219 Commits

Author SHA1 Message Date
Sefik Ilkin Serengil
6263cef831 external tests 2024-08-04 11:47:10 +01:00
kremnik
59e8d52b63 Update Logger singleton creation, add test and docstring 2024-08-02 05:53:08 +03:00
Sefik Ilkin Serengil
37b8cc7d31 test max faces arg 2024-07-21 08:59:09 +01:00
Sefik Ilkin Serengil
f35abd1ec2 anti spoofing 2024-06-07 20:10:32 +01:00
Sefik Ilkin Serengil
13d502d3d8 unit test added for facial area coordinates after adding borders 2024-06-03 20:11:20 +01:00
Sefik Ilkin Serengil
fab08fe37c linting in test folder 2024-04-13 08:30:05 +01:00
Sefik Ilkin Serengil
4a4e706682 load base64 function renamed and moved 2024-04-13 08:10:43 +01:00
Sefik Ilkin Serengil
b345b1dfdf image utils 2024-04-13 08:01:55 +01:00
Sefik Ilkin Serengil
cd36b13dde more file utils 2024-04-13 07:56:03 +01:00
Sefik Ilkin Serengil
154fca372d unit test extended for centerface 2024-04-12 14:49:25 +01:00
Sefik Ilkin Serengil
4577b43051 unit test extended for centerface 2024-04-12 14:49:07 +01:00
Sefik Ilkin Serengil
9a83068672 singleton logger and docstrings 2024-04-08 20:11:09 +01:00
Sefik Ilkin Serengil
ae5d5b967a getting rid of target_size everywhere 2024-04-07 18:23:28 +01:00
Sefik Ilkin Serengil
1078be9f12 resize functionality moved to represent module
we were handling resizing in extract faces. with this commit
we moved it to representation module to provide seperation
of concern.
2024-04-07 18:14:27 +01:00
Sefik Ilkin Serengil
94937cfb71 checking file's content type instead of extension 2024-04-07 09:25:51 +01:00
Sefik Ilkin Serengil
6cc36922d4 OOP adopted for find embeddings
- standard FR models are now using find embeddings method from its super FacialRecognition
- find embeddings renamed to forward.
2024-03-28 19:59:09 +00:00
Sefik Ilkin Serengil
519c48e58d add unit test to check left eye is on the left with respect to the person instead of observer 2024-03-24 16:32:59 +00:00
Reza Karbasi
6fac5a9543 add: test regarding checking the unity of the output with respect to different data resources (for the same picture) added 2024-03-20 07:33:56 +03:30
Reza Karbasi
acea51c81d refactor: some logging descriptions revised in tests 2024-03-20 06:19:28 +03:30
Reza Karbasi
593a3c2539 add: a test added for 'represent' API endpoint to check the url input
This commit adds a new test case for the 'represent' API endpoint. The test verifies that the endpoint correctly processes an image URL and returns the expected data structure, including the correct number of face embeddings, face confidence, and facial area for each detected face in the image.
2024-03-20 06:04:32 +03:30
Reza Karbasi
24f7e11a68 fix: embedded size for facenet changed to 128 2024-03-19 15:50:02 +03:30
Reza Karbasi
5e38914a20 fix: an issue regarding the testing procedure has been addressed 2024-03-19 15:44:07 +03:30
Reza Karbasi
2fad7d259c feat: an api test added. It evaluates whether the api works with encoded input or not 2024-03-19 15:31:40 +03:30
Sefik Ilkin Serengil
d08b85b445 unit test for ghost face added 2024-03-16 09:41:48 +00:00
Sefik Ilkin Serengil
20b990ac07 streaming code refactored 2024-03-16 08:39:01 +00:00
Sefik Ilkin Serengil
6eced68e69 support embedding input for verify 2024-03-08 15:22:58 +00:00
Sefik Ilkin Serengil
20070a3f97 expand facial area tests 2024-03-02 20:43:02 +00:00
Sefik Ilkin Serengil
c61cb6faf2 throw meaningful error 2024-03-02 20:20:57 +00:00
Sefik Ilkin Serengil
7ee55cb682 common confidence scales 2024-02-25 14:25:17 +00:00
Andrea Lanfranchi
1d53ca1bd1
Amend test.py for os dependendent directory separator char
It was failing on Windows
2024-02-22 14:35:16 +01:00
Sefik Ilkin Serengil
91a220335a exception handling for bulk representations 2024-02-16 17:43:30 +00:00
Sefik Ilkin Serengil
91f5b448ee remove problematic one 2024-02-16 17:39:24 +00:00
Sefik Ilkin Serengil
16c72cd0f6 align first detect second 2024-02-16 17:20:15 +00:00
Sefik Ilkin Serengil
e529fa5c26 make detection, alignment and expanding in common place 2024-02-16 15:31:50 +00:00
Sefik Ilkin Serengil
ac6df8a963 add comment for version test 2024-02-10 18:26:17 +00:00
Sefik Ilkin Serengil
5230943de3 adding package version into package 2024-02-10 18:18:02 +00:00
Sefik Ilkin Serengil
86d424b8ac put api in deepface folder to make it testable 2024-02-04 12:45:27 +00:00
Sefik Ilkin Serengil
1ca17d7ada exclude api tests 2024-02-04 11:10:06 +00:00
Sefik Ilkin Serengil
2e170474f6 make api compatible for both runtime and unit tests 2024-02-04 11:03:57 +00:00
Sefik Ilkin Serengil
78b8198232 adding unit tests for api 2024-02-04 10:38:47 +00:00
Sefik Ilkin Serengil
8497682171 open issues 2024-02-02 17:33:31 +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
e5f0da3fd7 pretty return type for detect faces 2024-01-27 19:20:03 +00: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
9ca545c29d deepid added again for local tests 2024-01-21 18:31:39 +00:00
Sefik Ilkin Serengil
0d6aa10b82 cosmetic changes about interfaces 2024-01-21 13:52:31 +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
d35833e4e1 some more check for find test 2024-01-08 17:31:49 +00:00
Sefik Ilkin Serengil
d498d510bd new output shape of vgg is 4096 2024-01-08 16:55:24 +00:00
Sefik Ilkin Serengil
f23ab85fd1 using type hinting for backend functions 2023-12-24 14:38:14 +00:00
Sefik Ilkin Serengil
308ab61b41 modular tests 2023-12-24 13:06:07 +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
39e29c00b7 unit tests updated
- FaceNet512 added into unit test cases
- pylint disable added for borad except
2023-12-08 22:10:36 +00:00
Sefik Ilkin Serengil
63b397aa8e review comments resolved 2023-12-06 21:07:31 +00:00
Sefik Ilkin Serengil
5464ac511c logger instead of print 2023-12-06 19:32:38 +00:00
Sefik Ilkin Serengil
8952e6b305
Unexpected exception thrown 2023-02-10 13:45:10 +00:00
Sefik Ilkin Serengil
9fed010762 bug in how.py sorted 2023-01-31 20:58:09 +00:00
Sefik Ilkin Serengil
6c5c3511f4 visual tests 2023-01-30 22:39:53 +00:00
Sefik Ilkin Serengil
8f42137113 cleaner codes 2023-01-29 23:46:39 +00:00
Sefik Ilkin Serengil
e679c7206a cleaner codes 2023-01-29 23:44:09 +00:00
Sefik Ilkin Serengil
7a978d29c5 linting 2023-01-29 00:45:25 +00:00
Sefik Ilkin Serengil
24cc717620
Delete Fine-Tuning-Threshold.ipynb 2023-01-27 15:49:14 +00:00
Sefik Ilkin Serengil
2db415ec5f
Delete visual_tests.ipynb 2023-01-27 15:47:55 +00:00
Sefik Ilkin Serengil
700867c7db new interface 2023-01-24 22:57:35 +00:00
Sefik Ilkin Serengil
dec0c34b2d new interface 2023-01-23 23:51:20 +00:00
Sefik Ilkin Serengil
9c6434a145 conflict 2023-01-23 21:56:30 +00:00
Sefik Ilkin Serengil
b62e3671f8 handling many faces 2023-01-23 21:54:52 +00:00
Sefik Ilkin Serengil
a737fcbbc9
retinaface removed in tests 2023-01-13 14:00:05 +00:00
Sefik Ilkin Serengil
5d767e2d49 code style 2022-06-22 14:11:35 +01:00
sasael
2135941912 - Added doReverted keras.models
- Running test_nonbinary_gender.py in unit_tests.py
2022-06-22 15:34:39 +03:00
sasael
07220feb2d bugfixes 2022-06-18 19:46:21 +03:00
sasael
3f29c6a606 Added dominant_gender and probabilities for man / woman results in analyze function 2022-06-12 15:35:53 +03:00
Sefik Ilkin Serengil
6c3ee5acde test coverage 2022-05-20 16:49:38 +01:00
Sefik Ilkin Serengil
6438075233 unit tests 2022-05-20 13:20:24 +01:00
Sefik Ilkin Serengil
eeaf1253da unit tests 2022-05-19 11:11:17 +01:00
Sefik Ilkin Serengil
11df8d529f sface cleaner 2022-05-10 20:09:31 +01:00
Sefik Ilkin Serengil
e28d900a88
fixed for issue 470 2022-05-07 20:34:27 +01:00
Sefik Ilkin Serengil
b13cca851f bug in ensemble 2022-03-26 11:19:26 +00:00
Sefik Ilkin Serengil
4500e32fbe ensemble bug 2022-03-26 08:25:36 +00:00
Sefik Ilkin Serengil
527a427443 Merge branch 'master' of https://github.com/serengil/deepface 2022-03-24 20:40:50 +00:00
Sefik Ilkin Serengil
84a6446040 ensemble bug 2022-03-24 20:40:43 +00:00
Sefik Ilkin Serengil
db13fbf8d7
prediction_classes 2022-03-23 20:37:01 +00:00
Sefik Ilkin Serengil
79e78e8448 issue 435 2022-03-11 20:43:26 +00:00
Sefik Ilkin Serengil
52f926326d
threshold 2022-01-13 14:48:00 +03:00
fpaludi
dbfebea430 Remove mutable objects from analyze arguments. Add tests to validate 2021-09-22 19:56:23 -03:00
Sefik Ilkin Serengil
d3e03c3e5a detector argument for stream 2021-07-27 00:15:15 +03:00
Sefik Ilkin Serengil
922682c1fa facenet 512 2021-07-12 23:25:37 +03:00
Sefik Ilkin Serengil
ea1497e35d eye detection procedure 2021-06-24 16:09:34 +03:00
Sefik Ilkin Serengil
057f06c09c detectFace bug + robust eye detector 2021-06-24 15:59:59 +03:00
Sefik Ilkin Serengil
18c96e492e performance improvement 2021-06-24 09:30:45 +03:00
Sefik Ilkin Serengil
8458e107c7 no need to use initialize_detector function anymore 2021-06-24 00:35:47 +03:00
Sefik Ilkin Serengil
e0809bf490 face recognition models as global 2021-06-24 00:11:06 +03:00
Sefik Ilkin Serengil
804fbaa511 52 version causes trouble for stream 2021-05-28 09:32:06 +03:00
Sefik Ilkin Serengil
d11f08958e global eye detector for opencv and ssd 2021-04-29 21:00:25 +03:00
Sefik Ilkin Serengil
f4c78457c2 retinaface perf 2021-04-29 09:11:33 +03:00