Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] immich API #552

Open
jsapede opened this issue Jun 18, 2024 · 16 comments
Open

[FEAT] immich API #552

jsapede opened this issue Jun 18, 2024 · 16 comments
Labels
enhancement New feature or request

Comments

@jsapede
Copy link

jsapede commented Jun 18, 2024

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

Thé problem relies on 4 points :

  • compreface and deepstack arent updated nor maintained
  • compreface can only use cuda Hardware accélération witch is lot energy consumming and limited to expensive hardware
  • immich uses various huggingface uptodate models for facial récognition
  • immich supports openVINO hardware accélération on low consumption hardware (intel HD)

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/

@jsapede jsapede added the enhancement New feature or request label Jun 18, 2024
@tomerh2001
Copy link

Any updates on this topic?

@townsmcp
Copy link

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
Copy link
Author

jsapede commented Jul 13, 2024

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

@townsmcp
Copy link

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
Copy link
Author

jsapede commented Jul 15, 2024

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

Copy link

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.

@github-actions github-actions bot added the stale label Aug 18, 2024
@townsmcp
Copy link

Adding a comment to keep this alive as a request

@github-actions github-actions bot removed the stale label Aug 22, 2024
@PilaScat
Copy link

PilaScat commented Sep 5, 2024

not stale

@townsmcp
Copy link

@jsapede i have just asked the question to ChatGPT and got and answer that seems plausible (haven’t implemented it yet). Let me know your thoughts/if you have success?

https://chatgpt.com/share/66f314d9-66b8-800b-b92a-5fc36fc8feeb

@jsapede
Copy link
Author

jsapede commented Sep 24, 2024

Your exemple Never set how to use to immich api inside, double take

@townsmcp
Copy link

@jsapede
Copy link
Author

jsapede commented Sep 24, 2024

Sée Replay here

immich-app/immich#12275

@townsmcp
Copy link

Damn. Sounds more complex, maybe the api will allow uploading into a temp holding area/person but it will all add processing time

@jsapede
Copy link
Author

jsapede commented Sep 24, 2024

Maybe uploading a file in a specific "frigate" assez and ask api for facial récognition then get back the name from the api

Copy link

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.

@github-actions github-actions bot added the stale label Oct 26, 2024
@PilaScat
Copy link

not stale

@github-actions github-actions bot removed the stale label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants