1998 Commits

Author SHA1 Message Date
Samuel J. Woodward
86fa2dfa83 updating docstrings to appease linter 2025-01-10 11:46:28 -05:00
Samuel J. Woodward
7112766966 correct import ordering to be alphabetized 2025-01-10 11:26:16 -05:00
Samuel J. Woodward
f3da544812 updated docstrings for fucntions that now accept IO[bytes] 2025-01-10 11:21:01 -05:00
Samuel J. Woodward
39173b748b adding IO[bytes] types to functions that now accept io objects 2025-01-10 11:05:43 -05:00
Samuel J. Woodward
8c5a23536d use requirements.txt for testing non-image io objects 2025-01-10 10:40:02 -05:00
Samuel J. Woodward
242bd3eb84 failure to decode an io object as an image raises an exception 2025-01-10 09:14:15 -05:00
Samuel J. Woodward
f9af73c1c7 defualt --> default 2025-01-09 11:51:31 -05:00
Samuel J. Woodward
4f0fa6ee22 load_image now accepts file objects that support being read 2025-01-09 10:35:47 -05:00
Sefik Ilkin Serengil
94f336b95f
Create CODE_OF_CONDUCT.md 2025-01-08 16:49:28 +00:00
Sefik Ilkin Serengil
5bab888411
Merge pull request #1420 from PyWoody/image_utils
Optimizations for deepface.recognition.find, Optimization and New Iterator Functionality in image_utils
2025-01-07 15:42:06 +00:00
Samuel J. Woodward
83031a427d image_exts and pil_exts are now global variables and are now named as IMAGE_EXTS and PIL_EXTS to match Python naming conventions. 2025-01-07 10:25:40 -05:00
Sefik Ilkin Serengil
a48daf28e7
Merge pull request #1421 from gustavn19/gln_updates
fix small spelling error :))
2025-01-07 13:58:49 +00:00
Gustav
cde5236fc9 fix small spelling error 2025-01-07 13:51:16 +01:00
h-alice
4284252a26
Remove obsolete comment. 2025-01-07 11:19:35 +08:00
NatLee
ba8c651c7a [fix] 1 img input for the Emotion model 2025-01-07 05:56:09 +08:00
NatLee
52a38ba21a [fix] use prediction shape to avoid confuse situation of predictions 2025-01-07 05:54:44 +08:00
NatLee
ad577b4206 [update] refactor response object creation in analyze function 2025-01-07 05:33:47 +08:00
NatLee
c44af00269 [fix] check for input number of faces 2025-01-07 05:26:27 +08:00
NatLee
041773232f [fix] model input size -> (n, w, h, c) 2025-01-07 05:26:07 +08:00
NatLee
431544ac52 [update] add process for single and multiple image 2025-01-07 04:56:05 +08:00
NatLee
36fb512bec [fix] handle between grayscale and RGB image for models 2025-01-07 04:55:14 +08:00
NatLee
29141b3cd5 [update] add hint for the shape of input img 2025-01-07 04:54:35 +08:00
NatLee
ba0d0c5bb6 [update] make process to one-line 2025-01-07 04:54:17 +08:00
NatLee
85e2d8d863 [update] modify comment for multi models 2025-01-07 04:05:11 +08:00
NatLee
e668cd415e Merge remote-tracking branch 'origin/master' into patch/adjustment-0103-1 2025-01-07 03:57:29 +08:00
Samuel J. Woodward
6a7505269c Test image_utils.yield_images returns the same files as image_utils.list_images 2025-01-06 10:11:10 -05:00
Samuel J. Woodward
2aa8ebfec8 explicitly specified the SendType and ReturnType paramaters for yield_images 2025-01-06 09:43:29 -05:00
Samuel J. Woodward
9995343e24 delay creating pickled_images until necessary 2025-01-06 09:34:23 -05:00
Samuel J. Woodward
661f13f3b3 Remove no longer needed images list 2025-01-06 09:22:18 -05:00
Samuel J. Woodward
56d3b66a5c df_cols is now created as a set. All operations were already set operations on the object. If the order of the columns will need to be maintained in future versions, this should be restored to the original list. 2025-01-06 09:15:38 -05:00
Samuel J. Woodward
799cb0f6cf pickled_images is now created using a set comprehension, instead of a list comprehension as before. Like storage_images, all subsequent actions where set and not list actions, so it saves time re-creating the list as a set later on. 2025-01-06 09:13:01 -05:00
Samuel J. Woodward
2ee02e0003 storage_images is now built as a set with the new deepface.commons.image_utils.yield_images generator function. Previously, storage_images was created with deepface.commons.image_utils.list_images as a list, then converted to a set while never being used as purely a list. 2025-01-06 09:11:23 -05:00
Samuel J. Woodward
9dc261b080 clarify docstring 2025-01-06 09:08:48 -05:00
Samuel J. Woodward
b11eec0eab created a new yield_images generator function to yield the images in a given path. The functionality is equivalent to list_images, but, instead of building then return a list, it yields the image path at each iteration. 2025-01-06 09:08:24 -05:00
Samuel J. Woodward
ca9ecbb3ca list_images now stores valid image and PIL exts in sets built ahead of time rather than on each iteration. exact_path is not created unless the file's ext is a valid image ext. 2025-01-06 09:06:37 -05:00
Sefik Ilkin Serengil
fea8b11cf5
Merge pull request #1418 from PyWoody/pickle_protocol
pickle objects are now dumped with pickle.HIGHEST_PROTOCOL
2025-01-06 09:29:31 +00:00
Sefik Ilkin Serengil
c465234788
Merge pull request #1415 from Mehrab-Shahbazi/master
video path is enabled in stream
2025-01-06 09:26:35 +00:00
Nat Lee
c6474882e4 Merge remote-tracking branch 'origin/feat/batch-predict-age-and-gender' into patch/adjustment-0103-1 2025-01-06 13:23:26 +08:00
h-alice
72b94d11de
Add new predictor. 2025-01-06 11:51:49 +08:00
h-alice
5a1881492f
Add comment. 2025-01-06 11:51:22 +08:00
h-alice
5747d9648b
Predictor. 2025-01-06 11:37:19 +08:00
Samuel J. Woodward
4255b4167f pickle objects are now dumped with pickle.HIGHEST_PROTOCOL 2025-01-04 12:05:58 -05:00
Mehrab Shahbazi
15a4f46608 write small dockstring for lint 2025-01-04 11:23:51 +03:30
Sefik Ilkin Serengil
d5ba8fda09
Update README.md
y-combinator logo added
2025-01-03 13:30:32 +00:00
Sefik Ilkin Serengil
ef72640ee4
Update README.md
product hunt logo
2025-01-03 13:27:49 +00:00
Sefik Ilkin Serengil
aef0a8e89b
Update README.md
summary badges for hacker news and product hunt
2025-01-03 13:18:21 +00:00
Sefik Ilkin Serengil
0f3ffbe6a7
Update README.md 2025-01-03 13:14:01 +00:00
Sefik Ilkin Serengil
bf12703a12
Update README.md 2025-01-03 13:08:32 +00:00
Sefik Ilkin Serengil
ed31afb43e
Update README.md
support
2025-01-03 13:05:28 +00:00
Sefik Ilkin Serengil
0d1fb9606c
Update README.md
product hunt
2025-01-03 13:04:26 +00:00