borarak / yolov8_deepstream

Run Yolov8 object detection with NVIDIA Deepstream
https://medium.com/@reachraktim/object-detection-with-yolov8-and-nvidia-deepstream-95c238753f50
3 stars 2 forks source link
computer-vision deepstream gstreamer nvidia-cuda object-detection yolov8

yolov8_deepstream

Run the yolov8 object detector with NVIDIA deepstream..

Detailed blog post here

Build the shared lib

mkdir build  && cd build
cmake ..
make

Run a deepstream pipeline

gst-launch-1.0 uridecodebin uri='file:///<absolute file path>' !  nvvideoconvert ! 'video/x-raw(memory:NVMM),format=(string)NV12,width=(int)1280,height=(int)720' ! smux.sink_0 nvstreammux name=smux width=640 height=640 batch-size=1 ! nvinfer config-file-path='deepstream_config.txt' ! nvvideoconvert ! nvdsosd ! nveglglessink