1972 Commits

Author SHA1 Message Date
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
h-alice
b69dcfcca7
Engineering stuff, remove redundant code.
As mentioned:
https://github.com/serengil/deepface/pull/1396#discussion_r1900017766
2025-01-03 10:57:59 +08:00
h-alice
472f146ecc
Avoid recreating resp_objects.
As the following code review comment suggested:
https://github.com/serengil/deepface/pull/1396#discussion_r1900015959
2025-01-03 10:24:43 +08:00
Mehrab Shahbazi
aa47e33cf4 remove #type ignore comments 2025-01-02 21:54:59 +03:30
Mehrab Shahbazi
c513b26d6d solved pr comments: restore comments and used one line if 2025-01-02 21:51:20 +03:30
Mehrab Shahbazi
2f9ef19e09 saving video output in stream is enabled 2025-01-01 13:15:39 +03:30
Mehrab Shahbazi
33a502f609 video path is enabled in stream 2025-01-01 12:29:20 +03:30
Nat Lee
edcef02511 [update] remove dummy functions 2024-12-31 17:30:28 +08:00
h-alice
ffbba7fe83
Change base class's predict signature. 2024-12-31 14:06:33 +08:00
Nat
c31268463b
Merge pull request #1 from NatLee/feat/merge-predicts-functions
[update] merge predicting funcs
2024-12-31 13:55:19 +08:00
Nat
05dbc8008c
Merge pull request #2 from NatLee/feat/make-Race-and-Emotion-batch
[update] make Race and Emotion batch prediction
2024-12-31 13:54:54 +08:00
Nat
4cf43be49d
Merge pull request #4 from NatLee/feat/add-multi-face-test
Feat/add multi face test
2024-12-31 13:54:01 +08:00
halice
bba4322bfb
Merge branch 'feat/merge-predicts-functions' into feat/make-Race-and-Emotion-batch 2024-12-31 12:17:26 +08:00
halice
9c079e94ae
Merge branch 'feat/batch-predict-age-and-gender' into feat/merge-predicts-functions 2024-12-31 12:15:43 +08:00
h-alice
9f3875e6a3
Update master branch. Merge branch 'master' into feat/make-Race-and-Emotion-batch 2024-12-31 12:14:35 +08:00
h-alice
f8be2821b7
Update master branch. Merge branch 'master' into feat/merge-predicts-functions 2024-12-31 12:12:52 +08:00
h-alice
e1417a0c11
Update master branch. Merge branch 'master' into feat/batch-predict-age-and-gender 2024-12-31 11:49:51 +08:00
Sefik Ilkin Serengil
ca6afd98ef some linting 2024-12-26 13:45:20 +00:00
Sefik Ilkin Serengil
0daf502e87 new function and variable names 2024-12-26 13:27:28 +00:00