Python sample
The bin directory contains the following executable file of the sample:
- python_demo_web_m_last_v30 – An example of tracking, detection, and recognition of faces from the database.
video_recognition_demo
The sample demonstrates tracking, detection, and identification/verification of faces from the database on the video stream from the camera. Source code: examples/python/video_recognition_demo. This sample is similar to C++ video_recognition_demo
. For more information see C++ video_recognition_demo.
Software requirements
- Supported platforms:
- Windows
- Linux
- Python 3.6 or higher.
- Install the
setuptools
package before installing the demo.
Install the demo
Go to the python_api
directory and run the command pip3 install .
Run the demo
- Install the
face_sdk_3divi
module in Python. - A sample startup script is located in the
bin
directory:python_demo_web_m_last_v30
. You can use this script as a basis and select the parameters you need. - [For Windows only] Make sure that the path to the
bin
directory is added to the PATH system variable or run the script from this directory.
Note: the demo was tested with OpenCV versions 4.1.0-4.1.2.