1476 Commits

Author SHA1 Message Date
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
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
ee4ad41c2c
Merge pull request #1025 from serengil/feat-task-1602-new-detector-interface
Feat task 1602 new detector interface
2024-02-16 17:50:50 +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
aa18fa3976 package_info.json added into docker 2024-02-10 18:28:20 +00:00