This is an example of how to use CompreFace face recognition with python sdk.
- Python (Version 3.7+)
- CompreFace
- Compreface-python-sdk
- Opencv-python
To run the demo, open webcam_demo
folder and run:
python compreface_webcam_recognition_demo.py --api-key your_api_key --host http://localhost --port 8000
--api-key
is your Face Recognition service API key. API key for this demo was created on step 5 of How to Use CompreFace. Optional value. By default, the value is00000000-0000-0000-0000-000000000002
- api key with celebrities demo.--host
is the host where you deployed CompreFace. Optional value. By default, the value ishttp://localhost
--port
is the port of CompreFace instance. Optional value. By default, the value is8000
To run the demo, open webcam_demo
folder and run:
python compreface_webcam_detection_demo.py --api-key your_api_key --host http://localhost --port 8000
--api-key
is your Face Detection service API key. API key for this demo was created on step 5 of How to Use CompreFace.--host
is the host where you deployed CompreFace. Optional value. By default, the value ishttp://localhost
--port
is the port of CompreFace instance. Optional value. By default, the value is8000