I am trying to build a custom plugin for “object counter” that means if some object is crossing a line of given coordinate it should get counted. I am using Yolov3 based inference as provided with Deepstream SDK docker container in "source directory " and KLT tracker for tracking the object.
I am following this post - [https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream_Development_Guide/deepstream_custom_plugin.html#]. This post provide basic information about gst-dsexample plugin.
I am fairly new to Deepstream and video analytics in general. I didn’t got much information with the above post I have shared. I am not able to find a good procedure to follow for writing my custom plugin or any method to do my project.
At the end, I want my custom plugin or any other method to perform following task-
- To be able to extract required information from the buffer like bounding box
coordinates and their unique tracking ID.
- To be able to count the object crossing the line and update the count and line
coordinate in the buffer which can be shown in output stream.
I already have the code in python for creating line counter algorithm but I don’t know how to implement that in Deepstream.
Please help me and let me know if any other information is required from my side to solve the issue.
• Hardware Platform GPU (Tesla K20Xm)
• DeepStream Version 4.0.2-19.12
• TensorRT Version 6.0.1
• NVIDIA GPU Driver Version-440.33.01
Thanks in advance.