You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/real_time_stream_analysis/python/README.md
+30-20Lines changed: 30 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ In the demo will be used two gRPC communication patterns which might be advantag
24
24
25
25
## Requirements
26
26
- on the client side it could be Windows, Mac or Linux. FFMPEG should be preinstalled in order to follow the scenario with RTSP client. Python3.7+ is needed.
27
-
- the server can be deployed on Linux, MacOS (only with CPU execution on x86_64 arch) or inside WSL on Windows operating system.
27
+
- the server can be deployed on Linux, MacOS (only with CPU execution on x86_64 arch) or on Windows operating system (including inside WSL).
28
28
- images sent over gRPC are not encoded, so there should be good network connectivity between the client and the server. At least 100Mb/s for real-time video analysis at high rate.
29
29
30
30
## gRPC streaming with MediaPipe graphs
@@ -42,13 +42,8 @@ Using the streaming API has the following advantages:
42
42
The [holistic graph](https://github.com/openvinotoolkit/model_server/blob/releases/2025/0/demos/mediapipe/holistic_tracking/holistic_tracking.pbtxt) is expecting and IMAGE object on the input and returns an IMAGE on the output.
43
43
As such it doesn't require any preprocessing and postprocessing. In this demo the returned stream will be just visualized or sent to the target sink.
44
44
45
-
The model server with the holistic use case can be deployed with the following steps:
The model server with the holistic use case can be deployed using steps from [this](../../mediapipe/holistic_tracking/README.md#server-deployment) article.
46
+
52
47
[Check more info about this use case](../../mediapipe/holistic_tracking/README.md)
53
48
54
49
> **Note** All the graphs with an image on input and output can be applied here without any changes on the client application.
The rtsp client app needs to have access to RTSP stream to read from and write to. Below are the steps to simulate such stream with the video.mp4 and the content source.
122
118
123
-
Example rtsp server [mediamtx](https://github.com/bluenviron/mediamtx)
119
+
Example rtsp server [mediamtx](https://github.com/bluenviron/mediamtx) using docker image.
124
120
125
121
```bash
126
-
docker run --rm -d -p 8080:8554 -e RTSP_PROTOCOLS=tcp bluenviron/mediamtx:latest
122
+
docker run --rm -d -p 8554:8554 -e RTSP_PROTOCOLS=tcp bluenviron/mediamtx:latest
123
+
```
124
+
125
+
or, download and extract a standalone binary from the [mediamtx release page](https://github.com/bluenviron/mediamtx/releases/) that corresponds to your operating system and architecture
126
+
alternatively you can install it for windows using `winget`.
0 commit comments