1435 Commits

Author SHA1 Message Date
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
ad53a9bb28
Merge pull request #1059 from serengil/feat-task-0203-enhancements
Feat task 0203 enhancements
2024-03-02 20:50:36 +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
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
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
db0db06f59 outputs of detectors stock image updated 2024-03-02 12:04:10 +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
Sefik Ilkin Serengil
7544b46a0a
Merge pull request #1044 from DriesVerachtert/fix_types_doc_represent
Correct info about returned types for the represent method
2024-02-26 15:53:26 +00:00
Dries Verachtert
07e695924b Correct info about returned types for the represent method 2024-02-26 16:44:45 +01:00
Sefik Ilkin Serengil
ca8a149732
Merge pull request #1041 from serengil/feat-task-2502-common-confidence-score-for-detectors
common confidence scales
v0.0.85
2024-02-25 14:33:14 +00:00
Sefik Ilkin Serengil
7ee55cb682 common confidence scales 2024-02-25 14:25:17 +00:00
Sefik Ilkin Serengil
3ebcc82c17
Merge pull request #1040 from DriesVerachtert/fix_typing_documentation
Correct info about returned types for the extract_faces method
2024-02-25 09:31:40 +00:00
Dries Verachtert
7e14fc875d Correct info about returned types for extract_faces 2024-02-25 10:21:26 +01:00
Sefik Ilkin Serengil
5c420c53bb
Merge pull request #1038 from serengil/feat-task-2402-bug-fixes-and-improvements
Feat task 2402 bug fixes and improvements
2024-02-24 16:31:01 +00: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
Sefik Ilkin Serengil
af73d3dfe4
Merge pull request #1032 from AndreaLanfranchi/al20240222-find-simpler
Simplify find data initialization
2024-02-22 14:01:55 +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
1d53ca1bd1
Amend test.py for os dependendent directory separator char
It was failing on Windows
2024-02-22 14:35:16 +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
Sefik Ilkin Serengil
14bbc2f938
Merge pull request #1031 from AndreaLanfranchi/al20240221
Small knob polishing and amend duplicated attempts to add undetectable images to pickle
2024-02-22 12:19:07 +00: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