1990 Commits

Author SHA1 Message Date
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
Sefik Ilkin Serengil
cd6cdb4ab4
Update README.md
new hacker rank product id
2025-01-03 12:05:59 +00:00
Sefik Ilkin Serengil
79f1eddda6
Update README.md
support section updated
2025-01-03 11:59:21 +00:00
Sefik Ilkin Serengil
3be40a5f3c
hackernews badge added 2025-01-03 11:57:58 +00:00
Mehrab Shahbazi
5af32fa841 ensure output path 2025-01-03 14:55:14 +03:30
halice
69267cdeac
Merge pull request #5 from NatLee/patch/test-250103
Fix: Image batch dimension not expanded.
2025-01-03 16:59:21 +08:00
h-alice
e1822851a5
Fix: Image batch dimension not expanded. 2025-01-03 16:22:55 +08:00
Nat Lee
bb820a7ef4 [update] one-line checking 2025-01-03 14:53:59 +08:00
h-alice
0f65a8765e
Add assertion to verify length of analyzed objects.
As mentioned:
https://github.com/serengil/deepface/pull/1396#discussion_r1900012703
2025-01-03 11:01:12 +08:00