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
- The bindings are now shipped with the SDK. Update import path and documentation for that.
- Optimized test3 app performance by adding queues.
- Adjust ssd-parser app config to work on NX. Added instructions for running this app on Nano.
- Config updates to sync up with the SDK.
The Python apps and bindings are under the "python" directory.
47
+
The Python apps are under the "apps" directory.
48
48
Go into each app directory and follow instructions in the README.
49
49
50
50
NOTE: The app configuration files contain relative paths for models.
@@ -60,23 +60,13 @@ See [sample applications](apps/) main functions for pipeline construction exampl
60
60
61
61
DeepStream MetaData contains inference results and other information used in analytics. The MetaData is attached to the Gst Buffer received by each pipeline component. The metadata format is described in detail in the [SDK MetaData documentation](https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream_Plugin_Manual%2Fdeepstream_plugin_metadata.03.1.html) and [API Guide](https://docs.nvidia.com/metropolis/deepstream/python-api/index.html).
62
62
63
-
The SDK MetaData library is developed in C/C++. Python bindings provide access to the MetaData from Python applications. The bindings are provided in a compiled module, available for x86_64 and Jetson platforms. Find them in the release package with the following layout:
64
-
```
65
-
bindings
66
-
|- x86_64
67
-
| |- pyds.so
68
-
|- jetson
69
-
|- pyds.so
70
-
```
63
+
The SDK MetaData library is developed in C/C++. Python bindings provide access to the MetaData from Python applications. The bindings are provided in a compiled module, available for x86_64 and Jetson platforms. This module, pyds.so, is available as part of the DeepStream SDK installation under <DeepStreamRoot>/lib directory.
71
64
72
-
Applications can import the module thus:
73
-
```python
74
-
import sys
75
-
sys.path.append('../') # Add path to the bindings directory
76
-
# The common/is_aarch64.py module adds the platform-specific path to pyds module
77
-
from common.is_aarch64 import is_aarch64
78
-
import pyds
79
-
```
65
+
The sample applications gets the import path for this module through common/utils.py. A setup.py is also included for installing the module into standard path:
66
+
cd /opt/nvidia/deepstream/deepstream/lib
67
+
python3 setup.py install
68
+
69
+
This is currently not automatically done through the SDK installer because python usage is optional.
80
70
81
71
The bindings generally follow the same API as the underlying C/C++ library, with a few exceptions detailed in sections below.
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
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
-
The bindings and apps are currently in *Alpha* at v0.9. The API is maturing but changes are still expected.
6
-
SDK version supported: 5.0 Developer Preview
5
+
SDK version supported: 5.0
7
6
8
7
Download the latest release package complete with bindings and sample applications from the [release section](../../releases).
9
8
@@ -16,7 +15,7 @@ Please report any issues or bugs on the [Deepstream SDK Forums](https://devtalk.
16
15
## Python Bindings
17
16
18
17
DeepStream pipelines can be constructed using Gst Python, the GStreamer framework's Python bindings. For accessing DeepStream MetaData,
19
-
Python bindings are provided in the form of a compiled module. Download these bindings [here](https://developer.nvidia.com/deepstream-download#python_bindings). This module is generated using [Pybind11](https://github.com/pybind/pybind11).
18
+
Python bindings are provided in the form of a compiled module which is included in the DeepStream SDK. This module is generated using [Pybind11](https://github.com/pybind/pybind11).
0 commit comments