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 6.1
Ubuntu 20.04
Python 3.8
DeepStream SDK 6.1
Features:
- New binding for gst_nvevent_new_stream_reset()
- Bug fix in bindings for get_nvds_buf_surface()
- Enhanced bindings README
This file describes how to compile and install deepstream python bindings
6
-
7
-
## 2 - Prerequisites
8
-
9
-
The following dependencies need to be met:
1
+
# DeepStream python bindings
2
+
3
+
SDK version supported: 6.1
4
+
5
+
The latest prebuilt release package complete with python bindings and sample applications can be downloaded from the [release section](../../../releases)
6
+
for both x86 and Jetson platforms.
7
+
8
+
This readme describes how to compile and install DeepStream python bindings (henceforth referred as bindings). This process is mainly useful for making customizations in the bindings and compiling it yourself instead of using the prebuilt versions provided in the release section.
| PIP_PLATFORM | linux_x86_64 | Used to selectthe target architecture to compile the bindings | linux_x86_64, linux_aarch64
85
133
| DS_PATH | /opt/nvidia/deepstream/deepstream-${DS_VERSION}| Path where deepstream libraries are available | Should match the existing deepstream library folder
86
134
87
-
#### 3.2.3 Example
135
+
#### 2.2.3 Example
88
136
89
-
Following commands can be used to build the bindings natively on Jetson devices
137
+
Following commands can be used to compile the bindings natively on Jetson devices
This section outlines how to enable cross-compiling of the DeepStreamSDK python bindings for aarch64 using Docker on x86 host.
103
152
104
153
NOTE: This will only emulate the CPU, so any calls requiring embedded hardware, such as using CUDA or inference are not supported.
105
154
106
-
#### 3.3.1 Build Pre-requisites
155
+
#### 2.3.1 Build Pre-requisites
107
156
108
157
We use [qemu](https://www.qemu.org/) processor emulator to achieve cross-compilation. Qemu can be installed on the x86 Ubuntu host machine as shown below:
Cross-compilation for Jetson on x86 host requires some low level libraries which can be downloaded using SDK Manager.
173
+
Follow these steps to obtain these libraries, which are utilized by the docker build later.
174
+
123
175
1. Download and install the [NVIDIA SDK manager](https://developer.nvidia.com/nvidia-sdk-manager)
124
176
2. Launch the SDK Manager and login with your NVIDIA developer account.
125
177
3. Select the platform and target OS (example: Jetson AGX Xavier, `Linux Jetpack 5.0.1 DP`) and click Continue.
126
178
4. Under `Download & Install Options` change the download folder and select`Download now, Install later`. Agree to the license terms and click Continue.
127
179
5. Go to the download folder, and run:
128
180
129
181
```bash
130
-
# path/to/deepstream_python_apps is the path where you downloaded the deepstream_python_apps repository
0 commit comments