Add examples and overview to cover how to work with opencv in an Custom Pad Probe Handler
rjhowell44 opened this issue · 0 comments
rjhowell44 commented
The implementations for Python and C/C++ will be different.
- Python will use
pyds.get_nvds_buf_surface
- C++ will use the DSL helper classes in
DslSurfaceTransform.h
Both require the buffer color format to be set to DSL_VIDEO_FORMAT_RGBA
, and the memory to be DSL_NVBUF_MEM_TYPE_CUDA_UNIFIED
(for dGPU)