skrashevich / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/skrashevich/double-take
MIT License
461 stars 21 forks source link

[FEAT] immich API #552

Open jsapede opened 2 months ago

jsapede commented 2 months ago

Is your feature request related to a problem? Please describe.

Thé problem relies on 4 points :

and finally enven having immich working on facial recognition imposes to have specific container / resources for compreface / codeproject AI.

Describe the solution you'd like Use immich API for classification and facial recognition Storage /archiving in dedicated libraries / assets

Screenshot_20240618-212000.png

https://immich.app/docs/api/

tomerh2001 commented 1 month ago

Any updates on this topic?

townsmcp commented 1 month ago

I would like to see this as well. But just an FYI @jsapede Compreface can work with Intel GPU for hardware acceleration if you use the right container version

jsapede commented 1 month ago

How do you set it to use Intel openVINO ? Didnt found anything

townsmcp commented 1 month ago

You have to use a custom build. I find the easiest way is to use custom build with single docker container so it is all in one. The single docker container info can be found at https://github.com/exadel-inc/CompreFace/blob/master/docs/Installation-options.md#single-docker-container The custom builds can be found at https://github.com/exadel-inc/CompreFace/blob/master/custom-builds/README.md To work out the exact docker image is a bit of trial and error by using release info to create the image string. For example, I am using NVIDIA gpu but the image name is exadel/compreface:1.0.0-arcface-r100-gpu

Sorry, does look like Mobilenet isn’t using the iGPU though, however it is using AVX2 cpu instruction set.

jsapede commented 1 month ago

already had a try with arcface 100 but its way too slow if not using nvidia GPU. mobilenet is way faster but confidence is way under arcface. however as compreface seems unmaintained and immich is under heavy developement with already interesting features and API i think its stille an idea to add it as recognition engine. moreover compreface itsel uses lot of harddisk space for limited functionnality

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

townsmcp commented 1 week ago

Adding a comment to keep this alive as a request