61 Commits

Author SHA1 Message Date
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
8a178d0305 docstring updated 2024-03-24 16:48:22 +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
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
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
54d678ca41 get rid of unused import, add a comment 2024-03-08 23:14:17 +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
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
a9cb7b96e3 throw meaningful error if an img_path cannot be read 2024-03-02 11:57:21 +00:00
Dries Verachtert
07e695924b Correct info about returned types for the represent method 2024-02-26 16:44:45 +01: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
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
626aa2e385 adding some docstrings 2024-02-10 18:17:11 +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
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