Bug 506689 - Face scanning on GPU
Summary: Face scanning on GPU
Status: REOPENED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (other bugs)
Version First Reported In: 8.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-06 19:33 UTC by Optional
Modified: 2025-07-08 16:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Optional 2025-07-06 19:33:08 UTC
I would like to have the Face scanning done on GPU. Currently is done on CPU. My 16/32 core CPU is not enough. ~200000 photos.  
In Settings=> Miscellaneous=> System=> "Use OpenCL hardware Acceleration" is checked. Do I miss something?
Comment 1 Maik Qualmann 2025-07-06 19:39:11 UTC
Currently, only NVIDIA CUDA is supported. You have an NVIDIA graphics card? There may be a speed advantage with OpenCL, but probably not in the way you're imagining.

Maik
Comment 2 Maik Qualmann 2025-07-06 19:41:12 UTC

*** This bug has been marked as a duplicate of bug 506535 ***
Comment 3 Optional 2025-07-07 02:07:24 UTC
Yes, I have a NVIDIA RTX3060 with 12GB VRAM.
During face scanning I see CPU usage > 94% and GPU ~1%
A have any possible drivers installed because I use AI models for other projects.
So what do I miss?
Comment 4 Maik Qualmann 2025-07-07 05:44:09 UTC

*** This bug has been marked as a duplicate of bug 506535 ***
Comment 5 Optional 2025-07-08 15:13:07 UTC
I'm sorry to reopen this. It was marked as duplicate, but I see different a case here.
In preferences => Miscellaneous => System => Test GPU AI compatibility, I get: Test completed successfully! Your system can use GPU acceleration for the AI models.
Also in Help=> components Information => OpenCV Configuration, I get positive results. It also recognises my GPU.
It looks like this is not happening in the other issue that it was marked as duplicate.
Still the GPU is not used in Face Scanning.
Thanks.
Comment 6 caulier.gilles 2025-07-08 15:26:24 UTC
> Still the GPU is not used in Face Scanning.
How did you figure that out?
Comment 7 Optional 2025-07-08 16:50:44 UTC
During face scanning I see CPU usage > 94% and GPU ~1%
For a 16/32 cores CPU.
For a lot of hours.