1965 Commits

Author SHA1 Message Date
h-alice
7e719dfdeb
Patch: Make Age model capable to handle single or batched input. 2025-01-16 17:09:45 +08:00
dakotah-jones
bc92d5a15a Revert change to comment. (#1402) 2025-01-15 16:43:18 -05:00
dakotah-jones
1ea31bc072 Update skip case. 2025-01-15 16:41:40 -05:00
dakotah-jones
830decb483 Revert change to default case. 2025-01-15 16:40:10 -05:00
dakotah-jones
4fbd33a419
Update representation.py
Add explicit "color_face" argument.
2025-01-15 13:15:00 -05:00
Nat Lee
c72b47484d [update] lint 2025-01-14 18:12:32 +08:00
h-alice
da4a0c5452
patch: Lint 2025-01-14 09:12:35 +08:00
h-alice
a23893a5fa
patch: emotion dimension. 2025-01-13 23:44:28 +08:00
h-alice
72b6db19d6
patch: fix dimension 2025-01-13 23:35:48 +08:00
h-alice
910d6e1d80
patch: fix dimension. 2025-01-13 23:31:22 +08:00
h-alice
fa4044adae
patch: Greyscale image prediction condition. 2025-01-13 23:14:40 +08:00
halice
8883b212b2
Merge pull request #6 from NatLee/patch/adjustment-0103-1
New Shared Prediction Method.
2025-01-13 23:04:29 +08:00
NatLee
a442f7a382 Merge remote-tracking branch 'origin/master' into patch/adjustment-0103-1 2025-01-13 22:31:23 +08:00
NatLee
688fbe6b90 [fix] lint 2025-01-13 22:27:11 +08:00
h-alice
eb7b8411e8
Documentation 2025-01-13 17:23:44 +08:00
Sefik Ilkin Serengil
29200f4fd6
Merge pull request #1423 from PyWoody/load_image_io
load_image now accepts file objects that support being read
2025-01-10 17:16:28 +00:00
Samuel J. Woodward
e4cba05a10 updated doctstring descriptions for functions that accept IO[bytes] file objects 2025-01-10 12:04:01 -05:00
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