It'll capture image from your webcam and detect your face. It's also supported real time face detect from webcam video.
Please make sure you already installed Python and pip in your system, then Clone this repository
git clone https://github.com/sainipray/facedetect.gitNow install requirements of python libraries
pip install -r requirements.txtNow we need to run tornado server for create websocket
python websocket.py #It may be show popup for allow or not firewall , So click on allow to run websocketNow run Django project using below command
python manage.py runserver
Now you can access project
http://127.0.0.1:8000/face-detect/image/ # for detect face from image
http://127.0.0.1:8000/face-detect/video/ # for detect face from live webcam