An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
Hello Artur Czepiec,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you're in need of Azure Face API (or any of your face recognition services) in a completely offline environment.
As @santoshkc said, Azure Face API and similar cloud-based services from Microsoft are designed to run in connected environments, leveraging the cloud for scalability and updates. Unfortunately, there isn't a self-hosted version of Azure Face API that can run entirely offline.
However, given the strict security and privacy policies, and the need for a self-hosted, offline face recognition service, you might consider using other face recognition libraries and frameworks that can be deployed in a self-hosted environment. The below are the most suitable options:
- OpenCV:
- Pros: Open-source, widely used, and well-documented. Can be run entirely offline on your own servers or VMs.
- Cons: Requires significant setup and customization for advanced face recognition tasks.
- Dlib:
- Pros: Includes a state-of-the-art face recognition module, can be used offline, and has good documentation.
- Cons: Requires setup and integration into your existing systems.
- FaceNet:
- Pros: Developed by Google, provides high accuracy for face recognition, and can be deployed on your own infrastructure.
- Cons: Requires deep learning expertise to set up and maintain.
My recommendation:
For a balance between ease of use and functionality, Dlib might be the best option. It offers robust face recognition capabilities and can be deployed offline. Here are the steps to get started with Dlib:
- Install Dlib using pip:
pip install dlib - Install other dependencies like OpenCV:
pip install opencv-python - Use Dlib's face recognition module to detect and recognize faces. You can find detailed tutorials and examples in the Dlib documentation.
- Deploy the solution on your own servers or VMs, ensuring it operates entirely offline.
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.