OpenVINO™ Model Server fork of MediaPipe repository allowing users to take advantage of OpenVINO™ backend in mediapipe framework.
git clone https://github.com/openvinotoolkit/mediapipe.git
cd mediapipe
make docker_build
docker run -it mediapipe_ovms:latest bash
python setup_ovms.py --get_models
python setup_ovms.py --convert_pose --force
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/face_detection:face_detection_cpu
wget -O video.mp4 "https://www.pexels.com/download/video/3044127/?fps=24.0&h=1080&w=1920"
Execute command with the calculator_graph_config_file, input_video_path and output_video_path:
bazel-bin/mediapipe/examples/desktop/face_detection/face_detection_cpu --calculator_graph_config_file /mediapipe/mediapipe/graphs/face_detection/face_detection_desktop_live.pbtxt --input_video_path=/mediapipe/video.mp4 --output_video_path=/mediapipe/output_face_detection_ovms.mp4
Now you can review the output_face_detection_ovms.mp4 output with detections.