170 Commits

Author SHA1 Message Date
Sefik Ilkin Serengil
36ef4dc3f1 bug fix after pr 2022-01-08 09:41:56 +03:00
Sefik Ilkin Serengil
ea10243c7e
target_size in detectFace 2021-12-24 11:44:46 +03:00
Kanan_Mahammadli
799eb6c7a0 Modified functions.py so that it can read from https 2021-12-22 19:09:15 +03:00
Sefik Ilkin Serengil
96f7540199
division by 0 fixed 2021-11-13 11:26:48 +03:00
Sefik Ilkin Serengil
1ad0ffc6d9
continue if no face detected 2021-11-13 11:22:28 +03:00
Bosco Yung
a2f7ce6f97
Fix wrong img variable 2021-11-11 16:20:02 +08:00
Bosco Yung
9b816648e0
Remove extra BGR2RGB call in RetinaFaceWrapper
I suggest removing the extra BGR2RGB call.

While the RetinaFace model does expect RGB images, the corresponding conversion will be done in the RetinaFace preprocessing:
0c8d3ed8bd/retinaface/commons/preprocess.py (L45)

The extra BGR2RGB call here will in fact make the final channel order wrong, because OpenCV does not know about the channel order, each call will simply swap the channels.

Thanks!
2021-11-10 16:01:51 +08:00
fpaludi
dbfebea430 Remove mutable objects from analyze arguments. Add tests to validate 2021-09-22 19:56:23 -03:00
Roelof Ruis
5a61a20ecf specify model directory via DEEPFACE_HOME env variable 2021-08-23 15:26:36 +02:00
Roelof Ruis
5b280dcb81 function name snake case 2021-08-23 15:08:47 +02:00
Sefik Ilkin Serengil
b024060284 ability to skip pre-processing 2021-08-19 17:37:01 +03:00
Sefik Ilkin Serengil
885f89dd52 issue 309 - lfw with detectors 2021-08-19 17:32:41 +03:00
Sefik Ilkin Serengil
d1e16f68b5 normalize_input simplified 2021-08-01 22:51:55 +03:00
Sefik Ilkin Serengil
e4484ac309 issue 131 normalization 2021-07-31 22:14:52 +03:00
Sefik Ilkin Serengil
b4631f1562 align arg for detectFace 2021-07-30 17:06:16 +03:00
Sefik Ilkin Serengil
3962545c82 issue 289 2021-07-27 18:50:56 +03:00
Sefik Ilkin Serengil
d3e03c3e5a detector argument for stream 2021-07-27 00:15:15 +03:00
Sefik Ilkin Serengil
74704452a3 bug 284 2021-07-13 09:39:43 +03:00
Sefik Ilkin Serengil
922682c1fa facenet 512 2021-07-12 23:25:37 +03:00
Sefik Ilkin Serengil
8d304056a8 progress bar 2021-07-10 22:20:27 +03:00
Martin Knoche
99fa752555
Added prog_bar keyword argument
To be able to disable tqdm progress bars in "analyze" method
2021-07-09 14:21:37 +02:00
Sefik Ilkin Serengil
a904d9007c google drive to github release 2021-07-03 00:27:35 +03:00
Sefik Ilkin Serengil
ed9367b8f1
resize approach 2021-07-02 09:30:27 +03:00
Sefik Ilkin Serengil
94236318ac
comments for resize 2021-07-01 17:17:46 +03:00
Libo-Xu
74d2f98883
Finish the TODO in function "preprocess_face"
Resize the detected face image proportionally then add black pixels to resize it to target_size, which avoids the transformation on the detected faces resulting from resizing directly.
2021-07-01 10:40:11 +08:00
Sefik Ilkin Serengil
5e2c530835 singleton comment 2021-06-27 00:56:27 +03:00
Sefik Ilkin Serengil
d73dcd5f23 region duplication simlified 2021-06-26 23:19:39 +03:00
Sefik Ilkin Serengil
a35b31d242 Merge branch 'master' of https://github.com/serengil/deepface 2021-06-26 23:13:54 +03:00
Sefik Ilkin Serengil
0fc1672c89 lightweight api 2021-06-26 23:13:46 +03:00
Sefik Ilkin Serengil
2c2aaa0ede
retinaface is not a must dependency 2021-06-25 16:01:47 +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
9f31012ef4 detector as a global variable 2021-06-24 00:00:20 +03:00
Sefik Ilkin Serengil
62baee3b45 more robust eye detector for opencv 2021-06-23 23:36:40 +03:00
Sefik Ilkin Serengil
8071733ddf opencv detector is default 2021-06-23 13:46:47 +03:00
Sefik Ilkin Serengil
67149c629b stream bug 2021-06-15 18:36:47 +03:00
Sefik Ilkin Serengil
4267953dc3 retinaface as default detector 2021-06-13 17:12:38 +03:00
Sefik Ilkin Serengil
804fbaa511 52 version causes trouble for stream 2021-05-28 09:32:06 +03:00
Sefik Ilkin Serengil
9af7c33ff7 version 0.0.52 2021-05-27 22:41:51 +03:00
Sefik Ilkin Serengil
3cd55fcf00
mtcnn is not a mandatory lib 2021-05-27 16:43:48 +03:00
Sefik Ilkin Serengil
1812391a3c align argument 2021-04-29 21:38:08 +03:00
Sefik Ilkin Serengil
73d1950133 initialize detector in represent 2021-04-29 21:19:49 +03:00
Sefik Ilkin Serengil
91aa422677 some comments 2021-04-29 21:04:08 +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
Sefik Ilkin Serengil
0bdc341ce7 clean code in detectors interface 2021-04-28 23:03:15 +03:00
Sefik Ilkin Serengil
b898f97b38 detector mechanism 2021-04-28 21:42:58 +03:00