DeepStream Services Library (DSL) for Python and C/C++

All,

We’ve been developing a shared library of DeepStream services for Python and C/C++, to help simplify our own application development, and wanted to share with the community with the hope that others may join us.

Our GitHub Repo can be found at https://github.com/canammex-tech/deepstream-services-library

A couple of quick disclaimers…

First, if you’re already a DeepStream expert and well on your way then DSL might not be for you. But if you’re new to DeepStream, and especially GStreamer, then DSL might be a quick and simple way to get started.

We have basic but broad API and Unit level test coverage. What we don’t have is much in the way of “in-system” test.

Development is still in progress, as evident by the open issues, but there’s an alpha release available for download now. https://github.com/canammex-tech/deepstream-services-library/releases

There’s an overview to help get started at https://github.com/canammex-tech/deepstream-services-library/blob/master/docs/overview.md

The API is fairly well documented (for an alpha release), and there are a number of examples in Python.

Please, let us know if there’s any interest.

Regards,
Robert.

7 Likes

Thanks for your sharing, Robert. This is really awesome!

New release with new Pipeline Tee and Branch abstractions.

Release notes and binary for download can be found here

Comments/feedback always appreciated.
Regards,
Robert.

There’s a new release available with:

  • Redaction services added to the OSD API
  • New Image Sink API for capturing/transforming frames and objects to jpeg image files.

both come from the suggestions/requests of others here… which I very much appreciate.

Release notes and binary for download can be found here

Regards,
Robert.

One last release before moving to DS 5.0.

Includes a first version of Object Detection Event (ODE) Services

Release notes and binary for download can be found here

Comments/feedback always appreciated.
Regards,
Robert.

First release on Deepstream 5.0 / JetPack 4.4. There is no new functionality, just the upgrade.

Release notes and binary for download can be found on the release page here.

Regards,
Robert.

2 Likes

New release required for the DS 5.0 GA.

Release includes:

release notes and binary for download can be found here

…and many thanks to @jlerasmus for his contributions.

Regards,
Robert.

1 Like

New release including

and thanks to @jlerasmus

Release notes and binary for download here

Comments, requests are always appreciated.

Regards,
Robert.

3 Likes

Thanks for your sharing, Robert!
Is it possible to get NTP timestamps from the rtsp source in python using your framework?

It seems that I can’t take NTP timestamps from rtpsrc in pyds. The second option in this link DeepStream 5.0 says that I need to use configure_source_for_ntp_sync() but it is not implemented in pyds. I’ve tried this approach What's the detail implementation of function "configure_source_for_ntp_sync" - #3 by horacehxw and modified a pipeline but for some reason I get zero NTP time.

Thus, it seems like it’s hardly possible to receive NTP timestamps without C/C++. If your framework provides such an ability in python then it’s a great solution of this problem.

1 Like

Hi @vlukin, yes the NTP timestamp is valid in DSL.

Please be aware that this work has been on hold for the last several months as I focus on the applications side, but will be resuming again shortly. The repo will be moving to a new GitHub organization Prominence AI, Inc. · GitHub next week.

1 Like

New release including

Release notes and binary for download here

Regards,
Robert.

1 Like

A couple of releases since my last post

Release notes and binary for download here

2 Likes

There have been a couple releases since my last post, with too many updates to list here. Everything is covered under the release notes with the binary there as well.

Regards,
Robert.

1 Like