MediaPipe Multi Model Demo#
This guide shows how to implement MediaPipe graph using OVMS.
Example usage:
Prepare the repository#
Clone the repository and enter mediapipe image_classification directory
git clone https://github.com/openvinotoolkit/model_server.git
cd model_server/demos/mediapipe/multi_model_graph
Download ResNet50 model#
cp -r ../../../src/test/add_two_inputs_model ./dummyAdd/
cp -r ../../../src/test/dummy ./dummyAdd/
Run OpenVINO Model Server#
Prepare virtualenv according to kserve samples readme
docker run -d -v $PWD:/mediapipe -p 9000:9000 openvino/model_server:latest --config_path /mediapipe/config.json --port 9000
Run the client:#
python mediapipe_multi_model_client.py --grpc_port 9000
Output:
[[ 3. 5. 7. 9. 11. 13. 15. 17. 19. 21.]]