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
This release is compatible with DeepStream SDK 8.0
- Ubuntu 24.04
- Python 3.12
- DeepStream SDK 8.0
Attached are the pipwheels for the Python bindings for x86 and Jetson.
Features:
- Updated build system using PyPA to support pip 24.2+
- Support and instructions for virtual environment
- Multiple bug fixes
Notes:
- deepstream-ssd-parser app has been removed
- Numpy 2.x is not currently supported
-[Running deepstream-segmentation app on x86 with mjpeg streams](#running-deepstream-segmentation-app-on-x86-with-mjpeg-streams)
16
18
17
19
<aname="faq11"></a>
18
20
### App causes Jetson Orin Nano to freeze and reboot
@@ -166,4 +168,45 @@ The pyds wheel installs the pyds.so library where all the pip packages are store
166
168
Command to install the pyds wheel is:
167
169
```bash
168
170
$ pip3 install ./pyds-1.2.0*.whl
171
+
```
172
+
173
+
<aname="faq9"></a>
174
+
### error: externally-managed-environment
175
+
Python 3.12 requires a virtual environment to install and import pip packages. To create a virtual environment for pyds:
176
+
```
177
+
sudo apt install python3-venv
178
+
179
+
# Create a venv for pyds
180
+
python3 -m venv pyds
181
+
# Activate the environment
182
+
source ./pyds/bin/activate
183
+
```
184
+
185
+
<aname="faq12"></a>
186
+
### Running deepstream-segmentation app on x86 with mjpeg streams
187
+
There is a current limitation in deepstream-segmentation app. When mjpeg streams are used on x86, the app hangs. However, there is a workaround. Please apply below patch to the app and it should work with mjpeg as well as jpeg streams on x86:
Copy file name to clipboardExpand all lines: README.md
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,32 @@
2
2
3
3
This repository contains Python bindings and sample applications for the [DeepStream SDK](https://developer.nvidia.com/deepstream-sdk).
4
4
5
-
SDK version supported: 7.1
5
+
SDK version supported: 8.0
6
6
7
-
<b>This release only supports Ubuntu 22.04 for DeepStreamSDK 7.1 with Python 3.10 and [gst-python](3rdparty/gst-python/) 1.20.3! Ubuntu 20.04 for DeepStreamSDK 6.3 with Python 3.8 support is NOW DEPRECATED</b>
7
+
<b>This release only supports Ubuntu 24.04 for DeepStreamSDK 8.0 with Python 3.12 and [gst-python](3rdparty/gst-python/) 1.24.1!</b>
8
8
9
-
The bindings sources along with build instructions are available under [bindings](bindings)! PyDS 1.2.0 for DeepStream 7.1 uses an updated build system for PyPA to support pip 24.2, which deprecated setup.py command line. We include one [guide](bindings/BINDINGSGUIDE.md) for contributing to bindings and another [guide](bindings/CUSTOMUSERMETAGUIDE.md) for advanced use-cases such as writing bindings for custom data structures.
9
+
The bindings sources along with build instructions are available under [bindings](bindings)! PyDS 1.2.0+ for DeepStream 7.1+ uses an updated build system for PyPA to support pip 24.2+, which deprecated setup.py command line. We include one [guide](bindings/BINDINGSGUIDE.md) for contributing to bindings and another [guide](bindings/CUSTOMUSERMETAGUIDE.md) for advanced use-cases such as writing bindings for custom data structures.
10
10
11
11
Please report any issues or bugs on the [DeepStream SDK Forums](https://devtalk.nvidia.com/default/board/209). This enables the DeepStream community to find help at a central location.
12
12
13
+
<b>NOTE:<b> Python 3.12 requires a virtual environment to install and import pip packages:
14
+
```
15
+
sudo apt install python3-venv
16
+
17
+
# Create a venv for pyds
18
+
python3 -m venv pyds
19
+
# Activate the environment
20
+
source ./pyds/bin/activate
21
+
```
22
+
13
23
<b>NOTE:<b> numpy 2.x is not supported. If you have numpy 2.x installed, please downgrade by running
14
24
```
15
25
pip3 install --force-reinstall numpy==1.26.0
16
26
```
17
27
18
-
<b>NOTE:<b> deepstream-segmask and deepstream-segmentation applications are not currently supported by DeepStream 7.1, due to removal of segmentation models.
28
+
<b>NOTE:<b> deepstream-segmask and deepstream-segmentation applications are not currently supported by DeepStream 8.0, due to removal of segmentation and ssd models.
29
+
30
+
<b>NOTE:<b> deepstream-ssd-parser app is not supported since ssd models have been deprecated. The ssd-parser app is removed.
19
31
20
32
<b>NOTE for DeepStream dockers:<b> If you installed PyDS by running the user_deepstream_python_apps_install.sh script, be sure you also run the <b>user_additional_install.sh script<b>.
21
33
@@ -64,19 +76,18 @@ We currently provide the following sample applications:
64
76
*[deepstream-test3](apps/deepstream-test3) -- multi-stream pipeline performing 4-class object detection, also supports triton inference server, no-display mode, file-loop and silent mode
65
77
*[deepstream-test4](apps/deepstream-test4) -- msgbroker for sending analytics results to the cloud
66
78
*[deepstream-imagedata-multistream](apps/deepstream-imagedata-multistream) -- multi-stream pipeline with access to image buffers
67
-
*[deepstream-ssd-parser](apps/deepstream-ssd-parser) -- SSD model inference via Triton server with output parsing in Python
68
79
*[deepstream-test1-usbcam](apps/deepstream-test1-usbcam) -- deepstream-test1 pipeline with USB camera input
69
80
*[deepstream-test1-rtsp-out](apps/deepstream-test1-rtsp-out) -- deepstream-test1 pipeline with RTSP output, demonstrates adding software encoder option to support Jetson Orin Nano
70
81
*[deepstream-opticalflow](apps/deepstream-opticalflow) -- optical flow and visualization pipeline with flow vectors returned in NumPy array
71
-
*[deepstream-segmentation](apps/deepstream-segmentation) -- **NOT CURRENTLY SUPPORTED IN DS 7.1**segmentation and visualization pipeline with segmentation mask returned in NumPy array
82
+
*[deepstream-segmentation](apps/deepstream-segmentation) -- segmentation and visualization pipeline with segmentation mask returned in NumPy array
72
83
*[deepstream-nvdsanalytics](apps/deepstream-nvdsanalytics) -- multistream pipeline with analytics plugin
73
84
*[runtime_source_add_delete](apps/runtime_source_add_delete) -- add/delete source streams at runtime
74
-
*[deepstream-imagedata-multistream-redaction](apps/deepstream-imagedata-multistream-redaction) -- multi-stream pipeline with face detection and redaction
85
+
*[deepstream-imagedata-multistream-redaction](apps/deepstream-imagedata-multistream-redaction) -- multi-stream pipeline with face detection and redaction**NOTE** now uses local sink instead of rtsp output
75
86
*[deepstream-rtsp-in-rtsp-out](apps/deepstream-rtsp-in-rtsp-out) -- multi-stream pipeline with RTSP input/output - has command line option "--rtsp-ts" for configuring the RTSP source to attach the timestamp rather than the streammux
76
87
*[deepstream-preprocess-test](apps/deepstream-preprocess-test) -- multi-stream pipeline using nvdspreprocess plugin with custom ROIs
77
88
*[deepstream-demux-multi-in-multi-out](apps/deepstream-demux-multi-in-multi-out) -- multi-stream pipeline using nvstreamdemux plugin to generated separate buffer outputs
78
89
*[deepstream-imagedata-multistream-cupy](apps/deepstream-imagedata-multistream-cupy) -- access imagedata buffer from GPU in a multistream source as CuPy array - x86 only
79
-
*[deepstream-segmask](apps/deepstream-segmask) -- **NOT CURRENTLY SUPPORTED IN DS 7.1**access and interpret segmentation mask information from NvOSD_MaskParams
90
+
*[deepstream-segmask](apps/deepstream-segmask) -- access and interpret segmentation mask information from NvOSD_MaskParams
80
91
*[deepstream-custom-binding-test](apps/deepstream-custom-binding-test) -- demonstrate usage of NvDsUserMeta for attaching custom data structure - see also the [Custom User Meta Guide](bindings/CUSTOMUSERMETAGUIDE.md)
0 commit comments