Python probe with DeepStream C++ app (not Python app)

Any way to use Python API from inside a DS C/C++ app? Just for a probe.

same other C++ to call python
you can search the usage on ethernet https://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code

1 Like

Are there any examples available of appsink and appsrc to and from a .py script?

sorry! don’t understand your question. DS have python samples

What I meant was, is there any examples that show, using a DS app made using C++, how to send and receive data from an external .py file, using appsrc/appsink in the pipeline? The example in “apps/sample_apps/deepstream-appsrc-test” only shows getting raw data from external source not ,py.

are they run as two seperate processes? you may could use ipc plugin - https://gstreamer.freedesktop.org/documentation/ipcpipeline/index.html?gi-language=c