Programador Artificial
878564ee1c
Add color_face option for extract_faces
2024-07-15 10:21:42 -03:00
Programador Artificial
bb8096ad97
Add flag to normalize output face image
2024-07-15 10:19:26 -03:00
Programador Artificial
1ade9001a7
Improve documentation of grayscale
2024-07-13 17:00:14 -03:00
Programador Artificial
45c9f723e0
Fix extract faces grayscale
2024-07-13 16:42:03 -03:00
Student B
4ffbc8ec75
Face alignment with rotation using resample
2024-07-03 16:46:57 +03:00
Sefik Ilkin Serengil
c1f435720d
cors
2024-06-11 21:47:43 +01:00
Sefik Ilkin Serengil
09fdf25bb8
show more details in case of exception while api calls
2024-06-11 20:19:26 +01:00
Sefik Ilkin Serengil
229c7673ee
pylint exceptions continue
2024-06-07 20:47:46 +01:00
Sefik Ilkin Serengil
429c6b8f67
pylint exceptions
2024-06-07 20:37:48 +01:00
Sefik Ilkin Serengil
f35abd1ec2
anti spoofing
2024-06-07 20:10:32 +01:00
Sefik Ilkin Serengil
f0ffe1978c
whitespaces removed
2024-06-03 20:10:28 +01:00
Sefik Ilkin Serengil
6d3b7aa4c4
in case of eyes null
2024-06-02 21:12:30 +01:00
Sefik Ilkin Serengil
5f98932ac2
v92
2024-06-02 21:08:34 +01:00
Sefik Ilkin Serengil
dcd1e80cc0
restore coordinates to version before border added
2024-06-02 21:06:46 +01:00
Sefik Ilkin Serengil
578f3e3dff
Add a black border around an image to avoid moving faces outside after alignment
2024-06-02 20:33:51 +01:00
Sefik Ilkin Serengil
a8cb394b76
deepface version printed
2024-06-02 18:53:38 +01:00
Sefik Ilkin Serengil
c04e51e472
raise error if refresh db is false and pkl is empty
2024-05-18 14:05:46 +01:00
Sefik Ilkin Serengil
3a1a4a06e3
linting
...
- recent PR comes with long line linting error
- pipeline was using different pylint version, it gives error whereas my local does not
2024-05-17 22:02:58 +01:00
BrunoMarinhoM
b4a35fe80b
minor changes and typos corrected
2024-05-17 16:34:37 -04:00
BrunoMarinhoM
3a6ab4820b
ISSUE #1233 : Feature refresh_database argument added to method find
2024-05-17 15:54:33 -04:00
Sefik Ilkin Serengil
c04fe040a7
Merge pull request #1229 from GobinathAL/fix_docstring
2024-05-07 19:07:06 +01:00
gobinathal
ffd712e5db
fix docstring max_threshold_to_verify in verify method
2024-05-07 22:44:54 +05:30
Sefik Ilkin Serengil
633131715c
v0.0.91
2024-05-02 08:26:41 +01:00
Sefik Ilkin Serengil
9b11fecfb2
bug fixes
...
- license mentioned in setup.py
- face region when detector skipped
2024-04-30 21:54:23 +01:00
gobinathal
b864f6a38b
accept optional parameter - 'threshold' in verify method
2024-04-30 23:30:17 +05:30
Sefik Ilkin Serengil
f6a226eb4c
validate projected coordinates are in the boundaries
2024-04-16 20:02:08 +01:00
Sefik Ilkin Serengil
5603d5f44a
face coordinate values casted to int
2024-04-16 20:01:51 +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
821cb6b895
creating image utils
2024-04-13 07:36:43 +01:00
Sefik Ilkin Serengil
a30dd82a22
whitespace removed
2024-04-12 17:31:18 +01:00
Sefik Ilkin Serengil
32f8f6596e
consider arguments have impact on embeddings
2024-04-12 17:22:08 +01:00
Sefik Ilkin Serengil
752ae83604
docstrings updated for centerface
2024-04-12 14:50:11 +01:00
Sefik Ilkin Serengil
6b3a4eff22
centerface backend added
2024-04-12 14:48:41 +01:00
Sefik Ilkin Serengil
3299303907
forgotten print
2024-04-08 20:13:14 +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
83c381e395
using with clause to open img with pil to guarantee it is closed
2024-04-07 10:18:47 +01:00
Sefik Ilkin Serengil
6c51489636
checking file type with PIL
...
imghdr is deprecated
2024-04-07 10:03:38 +01:00
Sefik Ilkin Serengil
8fc9db5d23
retired variable
2024-04-07 09:45:28 +01:00
Sefik Ilkin Serengil
ff27c74992
Merge pull request #1171 from serengil/feat-task-0704-file-extensions
...
checking file's content type instead of extension
2024-04-07 09:34:16 +01:00
Sefik Ilkin Serengil
94937cfb71
checking file's content type instead of extension
2024-04-07 09:25:51 +01:00
aku-ato
131a7fb576
move torch import from global in order to match optional dependency project philosophy
2024-04-05 17:26:45 +02:00
aku-ato
b4c16f6dbf
Merge branch 'serengil:master' into master
2024-04-05 17:22:30 +02:00
Sefik Ilkin Serengil
504dc3c66d
unused imports removed and docstring detailed for sface and dlib
2024-03-31 09:25:13 +01:00
Sefik Ilkin Serengil
816f945136
abstract method is not being anymore
2024-03-28 20:00:34 +00: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
c22152f921
docstrings updated
2024-03-28 18:39:26 +00:00
aku-ato
345b6717e2
Conditional use of GPU on FastMtCnn
2024-03-26 18:06:53 +01:00
aku-ato
2b7c0a708e
Conditional use of GPU on FastMtCnn
2024-03-26 15:34:03 +01:00
aku-ato
3d8733812b
use GPU in fastMtCnn
2024-03-26 11:12:54 +01:00
Sefik Ilkin Serengil
09499c91c3
new version
2024-03-24 16:51:23 +00:00
Sefik Ilkin Serengil
8a178d0305
docstring updated
2024-03-24 16:48:22 +00:00
Sefik Ilkin Serengil
745b4b8835
set left and right eye locations with respect to the person instead of observer
2024-03-24 16:34:28 +00:00
Sefik Ilkin Serengil
2b5c139670
update alignment logic
...
now, left eye is the one on the left with respect to the person
instead of observer
2024-03-24 16:34:01 +00:00
Sefik Ilkin Serengil
97459d0c35
get the centers of right and left eye
2024-03-24 15:49:17 +00:00
Sefik Ilkin Serengil
9957fe6812
new version
2024-03-22 10:10:50 +00:00
Sefik Ilkin Serengil
0c8e869371
enforce tf 2.12 or less
2024-03-22 10:02:52 +00:00
Sefik Ilkin Serengil
47363c6efd
new version
2024-03-21 18:28:59 +00:00
starenka
8a712184a0
fixing missing fstring
2024-03-20 18:41:39 +01:00
Sefik Ilkin Serengil
e442ccd2f1
avoid int64 not serializable error
2024-03-19 09:18:23 +00:00
Sefik Ilkin Serengil
ce1fa57d35
no need to check version for fb deepface
2024-03-19 08:56:05 +00:00
Sefik Ilkin Serengil
87a95dc2ae
eyes can be none
2024-03-19 08:53:40 +00:00
Sefik Ilkin Serengil
71bea587da
check tf_keras installation for tf 2.16 or later versions
2024-03-19 08:45:10 +00:00
Sefik Ilkin Serengil
2cbfc417a4
issue 1123 resolved
...
for opencv and ssd, we were finding eyes from the detected faces. that is why,
eye coordinates were inccorrect with respect to the image itself. we added the
x and y coordinates of the detected face into the eye coordinates.
2024-03-19 08:31:41 +00:00
Sefik Ilkin Serengil
90219515c3
Update GhostFaceNet.py
...
logger module typo
2024-03-17 12:34:02 +00:00
Sefik Ilkin Serengil
ee63d8b902
model building simplified, region calculation sorted
2024-03-17 11:52:55 +00:00
Sefik Ilkin Serengil
e1aebe5e2e
new version and stock photo for model portfolio updated
2024-03-16 10:09:45 +00:00
Sefik Ilkin Serengil
8c2c5f5d0f
pylint error on github actions
2024-03-16 09:52:31 +00:00
Sefik Ilkin Serengil
06d16cf444
docstring updated for ghostface
2024-03-16 09:42:42 +00:00
Sefik Ilkin Serengil
808936dc24
ghostface added in portfolio
2024-03-16 09:41:35 +00:00
Sefik Ilkin Serengil
5825e2aa88
GhostFace model added
2024-03-16 09:41:08 +00:00
Sefik Ilkin Serengil
33f4d2c314
todo removed
2024-03-16 08:47:15 +00:00
Sefik Ilkin Serengil
20b990ac07
streaming code refactored
2024-03-16 08:39:01 +00:00
Sefik Ilkin Serengil
820ba5946b
resolving issue 1098
2024-03-11 18:39:00 +00:00
Sefik Ilkin Serengil
ec4c3cd17c
resolving issue 1099
2024-03-11 18:36:30 +00:00
Sefik Ilkin Serengil
9705e6f4ef
resolving issue 1097
2024-03-11 18:31:52 +00:00
Sefik Ilkin Serengil
049ab8cdff
resolving bug 1096
2024-03-11 18:29:52 +00:00
Sefik Ilkin Serengil
7753476978
layer for external models are no longer being used
2024-03-10 15:49:48 +00:00
Sefik Ilkin Serengil
e13f3cf8ad
simlipfy yolo result is valid
2024-03-10 10:50:39 +00:00
Sefik Ilkin Serengil
e67614ff7a
exception handling in case of yolo has no keypoints
2024-03-10 09:08:29 +00:00
Sefik Ilkin Serengil
42e911958b
tf requirement for deepface package
2024-03-09 22:34:55 +00:00
Sefik Ilkin Serengil
ca4bd256d9
docstring updated
...
in verify, we mentioned similarity metric but it should be distance metric
2024-03-09 21:06:25 +00:00
Sefik Ilkin Serengil
65c47badb5
LocallyConnected2D not supported after tf 2.12
...
- this requirements is just for deepface model. so, instead of enforcing lower tf versions
we should check the current tf version in deepface model initializaiton.
2024-03-09 21:05:19 +00:00
Sefik Ilkin Serengil
54d678ca41
get rid of unused import, add a comment
2024-03-08 23:14:17 +00:00
Sefik Ilkin Serengil
392160f6fc
hash with properties instead of file itself
2024-03-08 23:09:10 +00:00
Sefik Ilkin Serengil
4b3473e023
docstring for pre-calculated embedding support in verify
2024-03-08 20:22:22 +00:00
Sefik Ilkin Serengil
259add4a13
simplify getting pickled images
2024-03-08 19:52:38 +00:00
Sefik Ilkin Serengil
6eced68e69
support embedding input for verify
2024-03-08 15:22:58 +00:00
Sefik Ilkin Serengil
d7c2998e1b
wrapper for find distance added
2024-03-08 13:55:02 +00:00
Sefik Ilkin Serengil
2f9f9761d0
cover uppercase links
2024-03-08 12:01:45 +00:00
Sefik Ilkin Serengil
07a2d5bf62
enhancement for find function
...
- detect replaced files already in data store
- store column names in the pickle
2024-03-08 12:01:31 +00:00
Sefik Ilkin Serengil
20f916c024
distance as float instead of numpy float
2024-03-02 20:43:47 +00:00
Sefik Ilkin Serengil
29ffce8594
types for eyes
2024-03-02 20:43:16 +00:00
Sefik Ilkin Serengil
e70496ba6f
avoid multiple feature extraction for faces in image pairs
2024-03-02 20:20:33 +00:00
Sefik Ilkin Serengil
715d6317d4
image loading steps refactored
...
- if an image starts with http, then it was trying to download from web
- to make base64 loading compatible with find, now jpg jpeg png images are accepted.
2024-03-02 12:39:07 +00:00
Sefik Ilkin Serengil
50dd5d7aa2
fastmtcnn sometimes fails
2024-03-02 12:26:02 +00:00
Sefik Ilkin Serengil
a9cb7b96e3
throw meaningful error if an img_path cannot be read
2024-03-02 11:57:21 +00:00
Sefik Ilkin Serengil
d3f7cab119
new package version
2024-03-02 11:56:43 +00:00
Sefik Ilkin Serengil
87f4893205
Merge pull request #1047 from AndreaLanfranchi/al20220227-rotate-facial-area
...
Simplify and strengthen rotate_facial_area
2024-02-27 11:07:52 +00:00
Andrea Lanfranchi
90053295cb
Change expression for direction detection
2024-02-27 12:00:47 +01:00
Andrea Lanfranchi
d0ffc1bfde
Amend quirk behavior of mod operator
2024-02-27 11:31:41 +01:00
Andrea Lanfranchi
923f2cfb4c
Remove unwanted comments
2024-02-27 10:58:39 +01:00
Andrea Lanfranchi
08710029e8
Remove commented out code
2024-02-27 10:52:10 +01:00
Andrea Lanfranchi
b62d6cc9a0
Amend wrong calculation of increased w and h
2024-02-27 10:51:13 +01:00
Andrea Lanfranchi
fe077308f4
Remove commented and unused code
2024-02-27 10:31:24 +01:00
Andrea Lanfranchi
fb6d2f572e
Amend double increase of expand_percentage
2024-02-27 10:29:15 +01:00
Andrea Lanfranchi
53510f0584
Linting
2024-02-27 10:15:50 +01:00
Andrea Lanfranchi
001e609a82
Simplify and strengthen rotate_facial_area
2024-02-27 10:02:38 +01:00
Dries Verachtert
07e695924b
Correct info about returned types for the represent method
2024-02-26 16:44:45 +01:00
Sefik Ilkin Serengil
7ee55cb682
common confidence scales
2024-02-25 14:25:17 +00:00
Dries Verachtert
7e14fc875d
Correct info about returned types for extract_faces
2024-02-25 10:21:26 +01:00
Sefik Ilkin Serengil
644c6b4013
avoid duplicate detections and loadings
2024-02-24 16:24:15 +00:00
Sefik Ilkin Serengil
0d18a7c2df
bug fix in case of load image returns none
2024-02-24 15:35:26 +00:00
Sefik Ilkin Serengil
ab38a1fcf7
throw meaningful error if yolo weights failed while downloading
2024-02-24 15:31:50 +00:00
Andrea Lanfranchi
8472a8b808
Conditional log.info
2024-02-22 14:44:53 +01:00
Andrea Lanfranchi
60c23fbc8e
Remove unnecessary file close
2024-02-22 14:43:01 +01:00
Andrea Lanfranchi
7b0500a17d
Compute toc only if needed
2024-02-22 14:32:16 +01:00
Andrea Lanfranchi
411df327bf
Simplify find data initialization
2024-02-22 14:25:43 +01:00
Andrea Lanfranchi
954ac6e883
Remove trailing white-spaces
2024-02-22 13:01:10 +01:00
Andrea Lanfranchi
5a28a0b0f0
Revert usage of regex
2024-02-22 12:46:22 +01:00
Andrea Lanfranchi
9dc0040a12
Amend typing
2024-02-22 12:41:21 +01:00
Andrea Lanfranchi
63079d3095
Use regex to match file patterns
...
Also use os.listdir as is clear recursion is not intended
2024-02-22 12:05:41 +01:00
Andrea Lanfranchi
72e5669302
Use path join and amend undetected faces addition repetition
2024-02-21 19:18:01 +01:00
Andrea Lanfranchi
c4b48ce46f
Early discard extracted faces below threshold
2024-02-21 16:28:07 +01:00
Andrea Lanfranchi
051a8d3172
Use return boolean to detect effective capture
...
Actually an image is always returned but empty
2024-02-21 15:56:47 +01:00
Andrea Lanfranchi
810dfac4fe
Simplify model initialization
2024-02-21 15:18:51 +01:00
Andrea Lanfranchi
adf6328cd9
Look for string in string collection
2024-02-21 15:14:01 +01:00
Andrea Lanfranchi
4713572a24
Amend incompatible assignement warning
2024-02-21 15:12:51 +01:00
Sefik Ilkin Serengil
ab8adf262b
Merge pull request #1026 from serengil/feat-task-1602-loading-image-from-web-bug
...
load img from web sorted
2024-02-16 17:59:17 +00: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
d16f0765fa
load img from web sorted
2024-02-16 13:41:46 +00:00
Sefik Ilkin Serengil
5230943de3
adding package version into package
2024-02-10 18:18:02 +00:00
Sefik Ilkin Serengil
c9569cd540
region bug for dlib sorted
2024-02-10 18:17:28 +00:00
Sefik Ilkin Serengil
626aa2e385
adding some docstrings
2024-02-10 18:17:11 +00:00
Sefik Ilkin Serengil
c65274290b
restore version approach
2024-02-04 17:02:31 +00:00
Sefik Ilkin Serengil
36655026cd
do not print deepface version error
2024-02-04 13:19:26 +00:00
Sefik Ilkin Serengil
a7231ab0cb
adding init py to folders
2024-02-04 12:47:53 +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
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
Sefik Ilkin Serengil
63b397aa8e
review comments resolved
2023-12-06 21:07:31 +00:00
Sefik Ilkin Serengil
125895398e
modules added into logger
2023-12-06 20:55:00 +00:00
Sefik Ilkin Serengil
5464ac511c
logger instead of print
2023-12-06 19:32:38 +00:00
Sefik Ilkin Serengil
bb2b28e1d9
Update DeepFace.py
2023-11-22 12:02:21 +00:00
Sefik Ilkin Serengil
37c94467f3
Update DeepFace.py
2023-11-22 11:57:55 +00:00
Sefik Ilkin Serengil
f2068df6a8
Update DeepFace.py
2023-11-22 11:49:55 +00:00
Nicolò Di Domenico
c268e396a8
fix missing normalization when skipping face detection
2023-11-15 10:47:24 +01:00
Sefik Ilkin Serengil
8eb8d96a54
old version of model.predict stored
2023-10-22 19:46:02 +01:00
Sefik Ilkin Serengil
68eaafc614
Merge pull request #857 from Villyli/master
...
change model.predict() to model(), notably improve memory leak (issue #697 )
2023-10-22 19:41:11 +01:00
haddyadnan
1bcc065a11
refactor try block
2023-10-19 12:55:58 -07:00
haddyadnan
cca3422b54
Add error msg for failed import
2023-10-19 12:40:36 -07:00
haddyadnan
c53366b75a
order result in descending order of probability
2023-10-19 12:09:41 -07:00
haddyadnan
d037d2a2d7
Merge branch 'master' into facenet_pytorch
...
merge master
2023-10-19 11:32:54 -07:00
haddyadnan
f07be2226f
include faster mtcnn implementation
2023-10-19 11:32:39 -07:00
adnanHaddy
0a389deaf1
Include detected face confidence
2023-10-18 12:27:54 -07:00
Bosco Yung
dc75d76813
Simply face alignment procedure
2023-10-18 17:17:34 +09:00
lilw5
1d57b2f7f3
change model.predict() to model(), improve mem leak notably
2023-10-10 11:16:44 +08:00
maxpopovych
50105b21e6
opencvzoo branch changed from master to main, fix applied to sface remote repo
2023-09-08 08:57:12 +02:00
Awshr
1cec1d8f4a
find method documentation modified
2023-07-27 09:21:02 +03:00
Anthr@X
9bf9542273
fix linter errors
2023-07-24 15:57:48 +10:00
Anthr@X
fc09756cfc
Merge branch 'master' into fixyunet
2023-07-14 17:16:38 +10:00
Anthr@X
3e7f6dfb58
fix comment length
2023-07-14 14:57:20 +10:00
Anthr@X
a456b43d57
fix line too long
2023-07-14 14:34:05 +10:00
Anthr@X
b97f74e186
fix linting and add comments
2023-07-13 22:13:32 +10:00
Anthr@X
498658d084
Fix yunet return negative coordinates
2023-07-13 11:30:00 +10:00
Sefik Ilkin Serengil
8bb52c0317
some linting comments after yunet implementation
2023-07-09 12:41:31 +01:00
Anthr@X
b52d1e8015
restore original size and move coordinates accordingly
2023-07-09 01:05:17 +10:00
Anthr@X
34d1f1250a
return empty list if detected no face.
2023-07-09 00:23:31 +10:00
Anthr@X
a90bf8e1c0
Fix hard coded file name in message
2023-07-08 23:29:28 +10:00
Anthr@X
5e55fafdb5
Add Yunet detector
2023-07-08 23:17:50 +10:00
Vincent STRAGIER
80d4dbb64e
Use original utralytics module for YOLO.
2023-06-28 19:53:51 +02:00
Vincent STRAGIER
64f93d1fcc
Change yolov8n
to yolov8
.
2023-06-24 00:05:48 +02:00
Vincent STRAGIER
9792af410d
Fix linting error.
2023-06-23 23:46:22 +02:00
Vincent STRAGIER
dcf94150f2
Refactoring and requirements.
2023-06-23 23:31:50 +02:00
Vincent STRAGIER
776bd11707
Remove broken models.
2023-06-23 20:49:05 +02:00
Vincent STRAGIER
0510613004
Comment out broken models.
2023-06-23 20:45:58 +02:00
Vincent STRAGIER
205eb0e23d
Revert OpenCvWrapper.py
2023-06-23 20:41:29 +02:00
Vincent STRAGIER
0c50eb7178
Remove unwanted line return.
2023-06-23 20:34:51 +02:00
Vincent STRAGIER
16d37711d5
Remove unwanted line returns.
2023-06-23 20:33:47 +02:00
Vincent STRAGIER
dc0fa0cec6
Merging from master
2023-06-23 20:26:51 +02:00
Vincent STRAGIER
195de6e85f
Merge remote-tracking branch 'upstream/HEAD' into YOLOv8
2023-06-23 17:58:13 +02:00
Vincent STRAGIER
1a3e869737
Better type checking.
2023-06-23 17:37:19 +02:00
Vincent STRAGIER
1506a67725
Revert some grammar changes.
2023-06-23 16:53:34 +02:00
Vincent STRAGIER
22ffc280bb
Merge remote-tracking branch 'upstream/HEAD' into analyze_raise_on_empty_actions
2023-06-23 15:50:04 +02:00
miawoltn
011a0987a7
enhancement for deepface home path creation
2023-06-11 07:38:27 +01:00
Vincent STRAGIER
052abd26c7
Merge branch 'analyze_raise_on_empty_actions' into YOLOv8
2023-06-09 13:51:30 +02:00
Vincent STRAGIER
08988fcd0d
Merging from master
2023-06-09 13:32:43 +02:00
Vincent STRAGIER
e845c00c24
Partial grammatical uniformisation of analys**
.
2023-06-05 14:30:19 +02:00
Vincent STRAGIER
4ff75ecfc2
Remove unwanted changes and fix linting.
2023-06-05 14:06:10 +02:00
Vincent STRAGIER
0e9d7b7915
Grammar.
2023-06-05 13:56:47 +02:00
Vincent STRAGIER
f88a560f21
Fix linting errors.
2023-06-05 13:54:40 +02:00
Vincent STRAGIER
a380cfffbb
Remove unwanted changes, and add comments.
2023-06-05 13:47:55 +02:00
Vincent STRAGIER
c96a2e4456
Add some comments.
2023-06-05 12:30:57 +02:00
Vincent STRAGIER
c09fc43d45
Add some comments about the changes.
2023-06-05 12:27:18 +02:00
Vincent STRAGIER
907db28625
Restore "no result" guard.
2023-05-24 20:50:49 +02:00
Vincent STRAGIER
769a497896
Correct laterality of the eyes landmarks.
2023-05-23 23:54:21 +02:00
Vincent STRAGIER
6c06996686
Remove "show" from the YOLOv8 detector.
2023-05-23 23:17:55 +02:00