PYTHON FACIAL RECOGNITION (OPEN CV + FACE_RECOGNITION) [closed]

I need some help with a project I'm working on. I currently have a Python script that performs facial recognition using OpenCV and the face_recognition library. The script works fine in standalone Python, but now I need to transform it into a Django web application.

My goal is to create a Django-based system where users can register their faces via the web interface, and later use facial recognition for authentication or access control.

I'm struggling with how to properly integrate the image capturing, face encoding, and recognition process into Django views and models. Specifically, I'm not sure how to handle:

Capturing images from the user's webcam via the web interface.

Processing the images with face_recognition in Django views.

Storing and retrieving face encodings in the Django database.

Handling real-time recognition or verification from the web app.

If anyone has experience with this or knows of any good tutorials, examples, or tips, I would greatly appreciate your help.

Вернуться на верх